<?xml version="1.0" encoding="UTF-8"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!--p:8a386fbcd9304f42b00cfbda2c4e09b9,x:e8a4f10456714556ae4a46ee75890bf1-->
<!-- Document created using Wdesk  -->
<!-- Copyright 2020 Workiva -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:schedoi-fednote="http://fasb.org/dis/schedoi-fednote/2019-01-31" xmlns:fs-interest="http://fasb.org/dis/fs-interest/2019-01-31" xmlns:sfp-ibo="http://fasb.org/stm/sfp-ibo/2019-01-31" xmlns:sfp-sbo="http://fasb.org/stm/sfp-sbo/2019-01-31" xmlns:sic-std="http://xbrl.sec.gov/sic-std/2011-01-31" xmlns:stpr-std="http://xbrl.sec.gov/stpr-std-std-std/2018-01-31" xmlns:currency-ent-std="http://xbrl.sec.gov/currency-ent-std/2019-01-31" xmlns:lea="http://fasb.org/dis/lea/2019-01-31" xmlns:ctbl="http://fasb.org/dis/ctbl/2019-01-31" xmlns:guar="http://fasb.org/dis/guar/2019-01-31" xmlns:ru="http://fasb.org/dis/ru/2019-01-31" xmlns:stpr-all="http://xbrl.sec.gov/stpr-all-all-all/2018-01-31" xmlns:leas="http://fasb.org/dis/leas/2019-01-31" xmlns:sfp-clreo="http://fasb.org/stm/sfp-clreo/2019-01-31" xmlns:iaoi="http://fasb.org/dis/iaoi/2019-01-31" xmlns:soi-ins="http://fasb.org/stm/soi-ins/2019-01-31" xmlns:country-ent-std="http://xbrl.sec.gov/country-ent-std/2017-01-31" xmlns:country="http://xbrl.sec.gov/country/2017-01-31" xmlns:fs-insa="http://fasb.org/dis/fs-insa/2019-01-31" xmlns:naics="http://xbrl.sec.gov/naics/2017-01-31" xmlns:cce="http://fasb.org/dis/cce/2019-01-31" xmlns:inv="http://fasb.org/dis/inv/2019-01-31" xmlns:naics-ent-std="http://xbrl.sec.gov/naics-ent-std/2017-01-31" xmlns:srt-std="http://fasb.org/srt-std/2019-01-31" xmlns:stpr-ent-all="http://xbrl.sec.gov/stpr-ent-all-all-all/2018-01-31" xmlns:stpr-ent-std="http://xbrl.sec.gov/stpr-ent-std-std-std/2018-01-31" xmlns:schedoi-iiaa="http://fasb.org/dis/schedoi-iiaa/2019-01-31" xmlns:us-arcroles="http://fasb.org/us-arcroles/2019-01-31" xmlns:dccpoa="http://fasb.org/dis/dccpoa/2019-01-31" xmlns:soi-sbi="http://fasb.org/stm/soi-sbi/2019-01-31" xmlns:us-gaap-all="http://fasb.org/us-gaap-all/2019-01-31" xmlns:scf-sd="http://fasb.org/stm/scf-sd/2019-01-31" xmlns:ceclcalc3l="http://fasb.org/dis/ceclcalc3l/2019-01-31" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dei-ent-all="http://xbrl.sec.gov/dei-ent-all/2019-01-31" xmlns:iso4217="http://www.xbrl.org/2003/iso4217" xmlns:deprecated="http://www.xbrl.org/2009/arcrole/deprecated" xmlns:naics-all="http://xbrl.sec.gov/naics-all/2017-01-31" xmlns:re="http://fasb.org/dis/re/2019-01-31" xmlns:srt-types="http://fasb.org/srt-types/2019-01-31" xmlns:reorg="http://fasb.org/dis/reorg/2019-01-31" xmlns:invco="http://fasb.org/dis/invco/2019-01-31" xmlns:currency-ent-all="http://xbrl.sec.gov/currency-ent-all/2019-01-31" xmlns:currency-std="http://xbrl.sec.gov/currency-std/2019-01-31" xmlns:currency-ent-dep="http://xbrl.sec.gov/currency-ent-dep/2019-01-31" xmlns:aro="http://fasb.org/dis/aro/2019-01-31" xmlns:exch="http://xbrl.sec.gov/exch/2019-01-31" xmlns:ocpfs="http://fasb.org/dis/ocpfs/2019-01-31" xmlns:currency="http://xbrl.sec.gov/currency/2019-01-31" xmlns:naics-std="http://xbrl.sec.gov/naics-std/2017-01-31" xmlns:srt-all="http://fasb.org/srt-all/2019-01-31" xmlns:codification-part="http://fasb.org/codification-part/2019-01-31" xmlns:srt="http://fasb.org/srt/2019-01-31" xmlns:deprecated1="http://www.xbrl.org/2009/role/deprecated" xmlns:sec-re="http://fasb.org/dis/sec-re/2019-01-31" xmlns:soi-int="http://fasb.org/stm/soi-int/2019-01-31" xmlns:emjv="http://fasb.org/dis/emjv/2019-01-31" xmlns:sec-suppc="http://fasb.org/dis/sec-suppc/2019-01-31" xmlns:equity="http://fasb.org/dis/equity/2019-01-31" xmlns:ix="http://www.xbrl.org/2013/inlineXBRL" xmlns:se="http://fasb.org/dis/se/2019-01-31" xmlns:crcrb="http://fasb.org/dis/crcrb/2019-01-31" xmlns:edco="http://fasb.org/dis/edco/2019-01-31" xmlns:te="http://fasb.org/dis/te/2019-01-31" xmlns:dei-all="http://xbrl.sec.gov/dei-all/2019-01-31" xmlns:fs-bd="http://fasb.org/dis/fs-bd/2019-01-31" xmlns:mmp="http://www.magellanlp.com/20200501" xmlns:hco="http://fasb.org/dis/hco/2019-01-31" xmlns:fs-bt="http://fasb.org/dis/fs-bt/2019-01-31" xmlns:us-roles="http://fasb.org/us-roles/2019-01-31" xmlns:dr="http://fasb.org/dis/dr/2019-01-31" xmlns:ero="http://fasb.org/dis/ero/2019-01-31" xmlns:country-ent-all="http://xbrl.sec.gov/country-ent-all/2017-01-31" xmlns:schedoi-oocw="http://fasb.org/dis/schedoi-oocw/2019-01-31" xmlns:cecl="http://fasb.org/dis/cecl/2019-01-31" xmlns:rpd="http://fasb.org/dis/rpd/2019-01-31" xmlns:schedoi-sumhold="http://fasb.org/dis/schedoi-sumhold/2019-01-31" xmlns:ceclcalc2="http://fasb.org/dis/ceclcalc2/2019-01-31" xmlns:othliab="http://fasb.org/dis/othliab/2019-01-31" xmlns:soi-egm="http://fasb.org/stm/soi-egm/2019-01-31" xmlns:utreg="http://www.xbrl.org/2009/utr" xmlns:schedoi-shorthold="http://fasb.org/dis/schedoi-shorthold/2019-01-31" xmlns:soi="http://fasb.org/stm/soi/2019-01-31" xmlns:diha="http://fasb.org/dis/diha/2019-01-31" xmlns:debt="http://fasb.org/dis/debt/2019-01-31" xmlns:schedoi-hold="http://fasb.org/dis/schedoi-hold/2019-01-31" xmlns:num="http://www.xbrl.org/dtr/type/numeric" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:us-gaap-ent-std="http://fasb.org/us-gaap-ent-std/2019-01-31" xmlns:bc="http://fasb.org/dis/bc/2019-01-31" xmlns:sic-ent-all="http://xbrl.sec.gov/sic-ent-all/2011-01-31" xmlns:exch-ent-std="http://xbrl.sec.gov/exch-ent-std/2019-01-31" xmlns:rcc="http://fasb.org/dis/rcc/2019-01-31" xmlns:rd="http://fasb.org/dis/rd/2019-01-31" xmlns:sfp-ucreo="http://fasb.org/stm/sfp-ucreo/2019-01-31" xmlns:eui="http://fasb.org/dis/eui/2019-01-31" xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31" xmlns:ap="http://fasb.org/dis/ap/2019-01-31" xmlns:soi-reit="http://fasb.org/stm/soi-reit/2019-01-31" xmlns:fs-mort="http://fasb.org/dis/fs-mort/2019-01-31" xmlns:sec-reins="http://fasb.org/dis/sec-reins/2019-01-31" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:sec-cndfir="http://fasb.org/dis/sec-cndfir/2019-01-31" xmlns:sr="http://fasb.org/dis/sr/2019-01-31" xmlns:currency-all="http://xbrl.sec.gov/currency-all/2019-01-31" xmlns:scf-dbo="http://fasb.org/stm/scf-dbo/2019-01-31" xmlns:fs-fhlb="http://fasb.org/dis/fs-fhlb/2019-01-31" xmlns:crcpb="http://fasb.org/dis/crcpb/2019-01-31" xmlns:dei-ent-std="http://xbrl.sec.gov/dei-ent-std/2019-01-31" xmlns:us-types="http://fasb.org/us-types/2019-01-31" xmlns:scf-inv="http://fasb.org/stm/scf-inv/2019-01-31" xmlns:scf-indira="http://fasb.org/stm/scf-indira/2019-01-31" xmlns:bsoff="http://fasb.org/dis/bsoff/2019-01-31" xmlns:exch-ent-all="http://xbrl.sec.gov/exch-ent-all/2019-01-31" xmlns:oi="http://fasb.org/dis/oi/2019-01-31" xmlns:soi-indira="http://fasb.org/stm/soi-indira/2019-01-31" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:schedoi-otsh="http://fasb.org/dis/schedoi-otsh/2019-01-31" xmlns:sfp-dbo="http://fasb.org/stm/sfp-dbo/2019-01-31" xmlns:cc="http://fasb.org/dis/cc/2019-01-31" xmlns:nonnum="http://www.xbrl.org/dtr/type/non-numeric" xmlns:crcsbp="http://fasb.org/dis/crcsbp/2019-01-31" xmlns:disops="http://fasb.org/dis/disops/2019-01-31" xmlns:reference="http://www.xbrl.org/2009/role/reference" xmlns:cn-part="http://fasb.org/cn-part/2019-01-31" xmlns:us-gaap="http://fasb.org/us-gaap/2019-01-31" xmlns:srt-roles="http://fasb.org/srt-roles/2019-01-31" xmlns:country-std="http://xbrl.sec.gov/country-std/2017-01-31" xmlns:net="http://www.xbrl.org/2009/role/net" xmlns:scf-indir="http://fasb.org/stm/scf-indir/2019-01-31" xmlns:rlnro="http://fasb.org/dis/rlnro/2019-01-31" xmlns:ts="http://fasb.org/dis/ts/2019-01-31" xmlns:us-gaap-std="http://fasb.org/us-gaap-std/2019-01-31" xmlns:naics-ent-all="http://xbrl.sec.gov/naics-ent-all/2017-01-31" xmlns:ref="http://www.xbrl.org/2006/ref" xmlns:scf-dir="http://fasb.org/stm/scf-dir/2019-01-31" xmlns:dei-std="http://xbrl.sec.gov/dei-std/2019-01-31" xmlns:ni="http://fasb.org/dis/ni/2019-01-31" xmlns:sec-mort="http://fasb.org/dis/sec-mort/2019-01-31" xmlns:fifvd="http://fasb.org/dis/fifvd/2019-01-31" xmlns:otherexp="http://fasb.org/dis/otherexp/2019-01-31" xmlns:scf-re="http://fasb.org/stm/scf-re/2019-01-31" xmlns:sec-vq="http://fasb.org/dis/sec-vq/2019-01-31" xmlns:sec-sum="http://fasb.org/dis/sec-sum/2019-01-31" xmlns:exch-std="http://xbrl.sec.gov/exch-std/2019-01-31" xmlns:ir="http://fasb.org/dis/ir/2019-01-31" xmlns:sheci="http://fasb.org/stm/sheci/2019-01-31" xmlns:foct="http://fasb.org/dis/foct/2019-01-31" xmlns:soc="http://fasb.org/stm/soc/2019-01-31" xmlns:scf-sbo="http://fasb.org/stm/scf-sbo/2019-01-31" xmlns:inctax="http://fasb.org/dis/inctax/2019-01-31" xmlns:ppe="http://fasb.org/dis/ppe/2019-01-31" xmlns:country-all="http://xbrl.sec.gov/country-all/2017-01-31" xmlns:ixt-sec="http://www.sec.gov/inlineXBRL/transformation/2015-08-31" xmlns:con="http://fasb.org/dis/con/2019-01-31" xmlns:sic-ent-std="http://xbrl.sec.gov/sic-ent-std/2011-01-31" xmlns:ixt="http://www.xbrl.org/inlineXBRL/transformation/2015-02-26" xmlns:fs-ins="http://fasb.org/dis/fs-ins/2019-01-31" xmlns:eps="http://fasb.org/dis/eps/2019-01-31" xmlns:stpr="http://xbrl.sec.gov/stpr/2018-01-31" xmlns:iago="http://fasb.org/dis/iago/2019-01-31" xmlns:pay="http://fasb.org/dis/pay/2019-01-31" xmlns:sic="http://xbrl.sec.gov/sic/2011-01-31" xmlns:tin-part="http://fasb.org/tin-part/2019-01-31" xmlns:acec="http://fasb.org/dis/acec/2019-01-31" xmlns:us-gaap-entryPoint-all="http://fasb.org/us-gaap-entryPoint-all/2019-01-31" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:nt="http://fasb.org/dis/nt/2019-01-31" xmlns:spc="http://fasb.org/stm/spc/2019-01-31" xmlns:exch-all="http://xbrl.sec.gov/exch-all/2019-01-31" xmlns:ides="http://fasb.org/dis/ides/2019-01-31" xmlns:sec-supins="http://fasb.org/dis/sec-supins/2019-01-31" xmlns:sic-all="http://xbrl.sec.gov/sic-all/2011-01-31" xmlns:xl="http://www.xbrl.org/2003/XLink" xmlns:regop="http://fasb.org/dis/regop/2019-01-31" xmlns:sfp-cls="http://fasb.org/stm/sfp-cls/2019-01-31" xmlns:com="http://fasb.org/stm/com/2019-01-31" xmlns:soi-re="http://fasb.org/stm/soi-re/2019-01-31" xmlns:crcgen="http://fasb.org/dis/crcgen/2019-01-31" xmlns:exch-ent-dep="http://xbrl.sec.gov/exch-ent-dep/2019-01-31" xmlns:negated="http://www.xbrl.org/2009/role/negated" xmlns:ei="http://fasb.org/dis/ei/2019-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt">
	<head>
		<meta http-equiv="Content-Type" content="text/html" />
		<title>Document</title>
	</head>
	<body><div style="font-family:Times New Roman;font-size:10pt;">
<div style="display:none"><ix:header><ix:hidden><ix:nonNumeric contextRef="D2020Q2DateOfFiling" name="dei:AmendmentFlag" id="Fact-B7FBB0A113E07CF30DAB614A9156C9C0-wk-Fact-B7FBB0A113E07CF30DAB614A9156C9C0" format="ixt:booleanfalse">false</ix:nonNumeric><ix:nonNumeric contextRef="D2020Q2DateOfFiling" name="dei:DocumentFiscalPeriodFocus" id="Fact-BDB49D18E2A1733C463898D25F0DA239-wk-Fact-BDB49D18E2A1733C463898D25F0DA239">FY</ix:nonNumeric><ix:nonNumeric contextRef="D2020Q2DateOfFiling" name="dei:DocumentFiscalYearFocus" id="Fact-7157E514AA645135F91698D28713D295-wk-Fact-7157E514AA645135F91698D28713D295">2019</ix:nonNumeric><ix:nonNumeric contextRef="D2020Q2DateOfFiling" name="dei:EntityCentralIndexKey" id="Fact-A8ABCF3614F61D6BD26D614A9155F63A-wk-Fact-A8ABCF3614F61D6BD26D614A9155F63A">0001126975</ix:nonNumeric><ix:nonFraction decimals="INF" unitRef="number" contextRef="FD2019Q4YTD_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember" name="mmp:DebtInstrumentConsolidatedDebtToEbitdaRatio" id="Fact-83AC70C7D418B9E24B9F7E6DC23F4D0A-wk-Fact-83AC70C7D418B9E24B9F7E6DC23F4D0A">5.0</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-0BFEC214129A55339B0F7E6DC22F8321-wk-Fact-0BFEC214129A55339B0F7E6DC22F8321">0.0515</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointZeroPercentageNotesDueTwoThousandTwentySixMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-CE98066E771954C50F297E6DC22FEA26-wk-Fact-CE98066E771954C50F297E6DC22FEA26">0.05</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-F42E7D2F14C6594013DA7E6DC23FCD51-wk-Fact-F42E7D2F14C6594013DA7E6DC23FCD51">0.0425</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-21944C25B6897F1E77687E6DC23F4680-wk-Fact-21944C25B6897F1E77687E6DC23F4680">0.0425</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-9B31A49D5A1A866DB96B7E6DC2202A92-wk-Fact-9B31A49D5A1A866DB96B7E6DC2202A92">0.042</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-473C007863628B2877C47E6DC22FDBC9-wk-Fact-473C007863628B2877C47E6DC22FDBC9">0.042</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-75D408132197CF18C4EF7E6DC220083F-wk-Fact-75D408132197CF18C4EF7E6DC220083F">0.042</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-1F35287A607D0B04EFFA7E6DC23F28C5-wk-Fact-1F35287A607D0B04EFFA7E6DC23F28C5">0.0655</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-A56CFC2546A9E4AAFD637E6DC22FE297-wk-Fact-A56CFC2546A9E4AAFD637E6DC22FE297">0.0640</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="number" contextRef="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember" name="us-gaap:DebtInstrumentInterestRateStatedPercentage" id="Fact-06845A3DA53B74EC4EB17E6DC22FBE0A-wk-Fact-06845A3DA53B74EC4EB17E6DC22FBE0A">0.032</ix:nonFraction><ix:nonFraction decimals="2" unitRef="number" contextRef="FD2017Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember" name="us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease" id="Fact-21D2F40E2B2C94C0429B7E6DC0B8D2D1-wk-Fact-21D2F40E2B2C94C0429B7E6DC0B8D2D1">0.11</ix:nonFraction><ix:nonFraction decimals="2" unitRef="number" contextRef="FD2017Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember" name="us-gaap:DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease" id="Fact-F059100544CC9666AE827E6DC0B83355-wk-Fact-F059100544CC9666AE827E6DC0B83355">0.04</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="bbl" contextRef="FI2019Q4_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_mmp_EconomicHedgesFuturesMember" name="us-gaap:DerivativeNonmonetaryNotionalAmount" id="Fact-08C64A26EB075771323D7E6DC183D3CA-wk-Fact-08C64A26EB075771323D7E6DC183D3CA">700000</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="bbl" contextRef="FI2019Q4_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_mmp_EconomicHedgesMember" name="us-gaap:DerivativeNonmonetaryNotionalAmount" id="Fact-17EB530BA44A4293BCBA7E6DC1934C52-wk-Fact-17EB530BA44A4293BCBA7E6DC1934C52">3200000</ix:nonFraction><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember" name="us-gaap:FiniteLivedIntangibleAssetUsefulLife" id="Fact-2815D2C78E6AFADF8F417E6DC27DF2BA-wk-Fact-2815D2C78E6AFADF8F417E6DC27DF2BA">P7Y</ix:nonNumeric><ix:nonFraction decimals="-3" unitRef="usd" contextRef="FI2018Q4" name="us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization" id="Fact-DD02E83E8ECF133939717E6DBFFD2013-wk-Fact-DD02E83E8ECF133939717E6DBFFD2013">2979000</ix:nonFraction><ix:nonFraction decimals="-3" unitRef="usd" contextRef="FI2019Q4" name="us-gaap:FiniteLivedIntangibleAssetsAccumulatedAmortization" id="Fact-0779DE2EF383B047665F7E6DC05B0803-wk-Fact-0779DE2EF383B047665F7E6DC05B0803">6255000</ix:nonFraction><ix:nonFraction decimals="-3" unitRef="shares" contextRef="FI2018Q4" name="us-gaap:LimitedPartnersCapitalAccountUnitsOutstanding" id="Fact-1DD5C031792A154CA50F7E6DC31AF699-wk-Fact-1DD5C031792A154CA50F7E6DC31AF699">228195000</ix:nonFraction><ix:nonFraction decimals="-3" unitRef="shares" contextRef="FI2019Q4" name="us-gaap:LimitedPartnersCapitalAccountUnitsOutstanding" id="Fact-3B96433D81C562A936167E6DC1934A2D-wk-Fact-3B96433D81C562A936167E6DC1934A2D">228403000</ix:nonFraction><ix:nonFraction decimals="INF" unitRef="usd" contextRef="FI2018Q4_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_LongtermDebtTypeAxis_us-gaap_LineOfCreditMember" name="us-gaap:LongTermDebt" id="Fact-8D3F66EB43AC64782C307E6DC23F1AFF-wk-Fact-8D3F66EB43AC64782C307E6DC23F1AFF">0</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="usd" contextRef="D2019Q1SD_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member_us-gaap_BalanceSheetLocationAxis_us-gaap_LiabilitiesTotalMember" name="us-gaap:NewAccountingPronouncementOrChangeInAccountingPrincipleEffectOfAdoptionQuantification" id="Fact-113E9701FDACB0C7C45E7E6DC2AC586F-wk-Fact-113E9701FDACB0C7C45E7E6DC2AC586F">172000000</ix:nonFraction><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-BFAF8D274D475415CDCC7E6DC183F64F-wk-Fact-BFAF8D274D475415CDCC7E6DC183F64F">P53Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-1640D73FDB97E32D62887E6DC193047D-wk-Fact-1640D73FDB97E32D62887E6DC193047D">P40Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-FDB1F31785F5FE7CBCD37E6DC183182F-wk-Fact-FDB1F31785F5FE7CBCD37E6DC183182F">P56Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-8AB45616950D8AA86F677E6DC183BF5A-wk-Fact-8AB45616950D8AA86F677E6DC183BF5A">P59Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-A09ACF9928CFA8090EA17E6DC155417B-wk-Fact-A09ACF9928CFA8090EA17E6DC155417B">P53Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-3AC0E268B4E2460F60B47E6DC1931626-wk-Fact-3AC0E268B4E2460F60B47E6DC1931626">P10Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-4CD7028AE42985833D7E7E6DC193DD34-wk-Fact-4CD7028AE42985833D7E7E6DC193DD34">P10Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-9B1AC13507FC4DC15FD87E6DC0E7377F-wk-Fact-9B1AC13507FC4DC15FD87E6DC0E7377F">P3Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-D3CD499F0E6757EFC38E7E6DC174E2FE-wk-Fact-D3CD499F0E6757EFC38E7E6DC174E2FE">P10Y</ix:nonNumeric><ix:nonNumeric contextRef="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember" name="us-gaap:PropertyPlantAndEquipmentUsefulLife" id="Fact-10AF08B12116AEC755DD7E6DC1740594-wk-Fact-10AF08B12116AEC755DD7E6DC1740594">P3Y</ix:nonNumeric><ix:nonNumeric contextRef="FI2019Q4_srt_RangeAxis_srt_MaximumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember" name="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" id="Fact-CE4110EDAB3D9CD4DC1A7E6DC03BE792-wk-Fact-CE4110EDAB3D9CD4DC1A7E6DC03BE792">P10Y</ix:nonNumeric><ix:nonNumeric contextRef="FI2019Q4_srt_RangeAxis_srt_MaximumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember" name="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" id="Fact-CE13C9858545A70C67DD7E6DC03B7411-wk-Fact-CE13C9858545A70C67DD7E6DC03B7411">P19Y</ix:nonNumeric><ix:nonNumeric contextRef="FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember" name="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" id="Fact-B33789E4080BFEF692C47E6DC03BFF4E-wk-Fact-B33789E4080BFEF692C47E6DC03BFF4E">P1Y</ix:nonNumeric><ix:nonNumeric contextRef="FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember" name="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" id="Fact-DDBBEEBF389FCDD780CC7E6DC03BC2A2-wk-Fact-DDBBEEBF389FCDD780CC7E6DC03BC2A2">P1Y</ix:nonNumeric><ix:nonNumeric contextRef="FI2019Q4_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember" name="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" id="Fact-836E7520D94B33A5395F7E6DC27D840A-wk-Fact-836E7520D94B33A5395F7E6DC27D840A">P12M</ix:nonNumeric><ix:nonFraction decimals="-5" unitRef="usd" contextRef="FI2019Q4" name="us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFiveYears" id="Fact-A79B5DD6F67672BCF3727E6DC25EAABB-wk-Fact-A79B5DD6F67672BCF3727E6DC25EAABB">1700000</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="usd" contextRef="FI2019Q4" name="us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedFourYears" id="Fact-524F2D7C65CA8121D8037E6DC25E21DF-wk-Fact-524F2D7C65CA8121D8037E6DC25E21DF">1700000</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="usd" contextRef="FI2019Q4" name="us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedThreeYears" id="Fact-AFBDDE129E8483ADCF0C7E6DC25E18EC-wk-Fact-AFBDDE129E8483ADCF0C7E6DC25E18EC">1700000</ix:nonFraction><ix:nonFraction decimals="-5" unitRef="usd" contextRef="FI2019Q4" name="us-gaap:SalesTypeAndDirectFinancingLeasesLeaseReceivablePaymentsToBeReceivedTwoYears" id="Fact-7C7B826A4E12A453338A7E6DC25E3FAE-wk-Fact-7C7B826A4E12A453338A7E6DC25E3FAE">1700000</ix:nonFraction><ix:footnote id="TextSelection-80A25F6AA33E3E888D9B7E6DC387F8AD-0-wk-Footnote-80A25F6AA33E3E888D9B7E6DC387F8AD_lbl" footnoteRole="http://www.xbrl.org/2003/role/footnote" xml:lang="en-US">(1) Additions to property, plant and equipment$(572,744)$(562,296)$(980,575)Changes in accounts payable and other current liabilities related to capital expenditures&#160;14,07510,03936,585Additions to property, plant and equipment, net&#160;$(558,669)$(552,257)$(943,990)</ix:footnote></ix:hidden><ix:references><link:schemaRef xlink:href="mmp-20200501.xsd" xlink:type="simple"></link:schemaRef></ix:references><ix:resources><xbrli:context id="FD2019Q4YTD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2020Q2DateOfFiling">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2020-05-04</xbrli:startDate>
			<xbrli:endDate>2020-05-04</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2020Q2DateOfFiling_dei_EntityListingsExchangeAxis_exch_XNYS">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="dei:EntityListingsExchangeAxis">exch:XNYS</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2020-05-04</xbrli:startDate>
			<xbrli:endDate>2020-05-04</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2016Q4">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2016-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q1AdoptionDate">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-01-01</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2016Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2016-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_AccumulatedOtherComprehensiveIncomeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:AccumulatedOtherComprehensiveIncomeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q1AdoptionDate_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-01-01</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2016Q4_us-gaap_PartnerCapitalComponentsAxis_us-gaap_LimitedPartnerMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PartnerCapitalComponentsAxis">us-gaap:LimitedPartnerMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2016-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ProductOrServiceAxis_mmp_RefinedProductsTransportationServicesMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:RefinedProductsTransportationServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q1SD_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member_us-gaap_BalanceSheetLocationAxis_us-gaap_AssetsTotalMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AdjustmentsForNewAccountingPronouncementsAxis">us-gaap:AccountingStandardsUpdate201602Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:AssetsTotalMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-01-01</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q1SD_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_us-gaap_AccountingStandardsUpdate201602Member_us-gaap_BalanceSheetLocationAxis_us-gaap_LiabilitiesTotalMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AdjustmentsForNewAccountingPronouncementsAxis">us-gaap:AccountingStandardsUpdate201602Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:LiabilitiesTotalMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-01-01</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ConsolidationItemsAxis_us-gaap_CorporateNonSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:CorporateNonSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_srt_ConsolidationItemsAxis_us-gaap_CorporateNonSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:CorporateNonSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductAndServiceOtherMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductAndServiceOtherMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ConsolidationItemsAxis_us-gaap_CorporateNonSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:CorporateNonSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_mmp_TransportationMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TransportationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ProductMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredAtPointInTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredAtPointInTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_us-gaap_ServiceMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_srt_ProductOrServiceAxis_mmp_StorageMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:OperatingSegmentsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:StorageMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_LeaseRevenueMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:LeaseRevenueMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ConsolidationItemsAxis_us-gaap_IntersegmentEliminationMember_srt_ProductOrServiceAxis_mmp_AncillaryServicesMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ConsolidationItemsAxis">us-gaap:IntersegmentEliminationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:AncillaryServicesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_mmp_TerminallingMember_us-gaap_TimingOfTransferOfGoodOrServiceAxis_us-gaap_TransferredOverTimeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">mmp:TerminallingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:TimingOfTransferOfGoodOrServiceAxis">us-gaap:TransferredOverTimeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_RangeAxis_srt_MaximumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_RangeAxis_srt_MaximumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_RangeAxis_srt_MinimumMember_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain_2019-12-31_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:typedMember dimension="us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis">
					<us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>2019-12-31</us-gaap:RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis.domain>
				</xbrldi:typedMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_mmp_CapitalizedInterestMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">mmp:CapitalizedInterestMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_mmp_CapitalizedInterestMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">mmp:CapitalizedInterestMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:OtherEnergyEquipmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PipelinesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ContainersMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ContainersMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_LandMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:LandMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:OtherEnergyEquipmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_LandMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:LandMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ConstructionInProgressMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ConstructionInProgressMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ConstructionInProgressMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ConstructionInProgressMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PipelinesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ContainersMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_ContainersMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:ContainersMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:OtherEnergyEquipmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_BuildingAndBuildingImprovementsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:BuildingAndBuildingImprovementsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_OtherEnergyEquipmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:OtherEnergyEquipmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PipelinesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PipelinesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PipelinesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_PropertyPlantAndEquipmentByTypeAxis_us-gaap_PropertyPlantAndEquipmentOtherTypesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PropertyPlantAndEquipmentByTypeAxis">us-gaap:PropertyPlantAndEquipmentOtherTypesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_MVPTerminallingLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:MVPTerminallingLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_HoustonLinkPipelineCompanyLLCMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:HoustonLinkPipelineCompanyLLCMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_TexasFronteraLlcMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:TexasFronteraLlcMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_MVPTerminallingLLCMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:MVPTerminallingLLCMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_MVPTerminallingLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:MVPTerminallingLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_MVPTerminallingLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:MVPTerminallingLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ProductMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ProductMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ProductOrServiceAxis_us-gaap_ServiceMember_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ProductOrServiceAxis">us-gaap:ServiceMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_DoubleEaglePipelineLlcMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:DoubleEaglePipelineLlcMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_MVPTerminallingLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:MVPTerminallingLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_HoustonLinkPipelineCompanyLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:HoustonLinkPipelineCompanyLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_CreditFacilityAxis_us-gaap_CommercialPaperMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:CommercialPaperMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2019Q1DebtPayment_us-gaap_DebtInstrumentAxis_mmp_SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-02-11</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_CreditFacilityAxis_us-gaap_CommercialPaperMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:CommercialPaperMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_CreditFacilityAxis_us-gaap_CommercialPaperMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:CommercialPaperMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_LongtermDebtTypeAxis_us-gaap_LineOfCreditMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:LongtermDebtTypeAxis">us-gaap:LineOfCreditMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DebtInstrumentAxis_mmp_FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DebtInstrumentAxis_mmp_ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_CreditFacilityAxis_us-gaap_CommercialPaperMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:CommercialPaperMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointZeroPercentageNotesDueTwoThousandTwentySixMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FivePointZeroPercentageNotesDueTwoThousandTwentySixMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoZeroPercentageNotesDueTwoThousandFourtyTwoMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointEightFivePercentageNotesDueTwoThousandFortyNineMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:SixPointFiveFivePercentageNotesDueTwoThousandNinteenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoZeroPercentageNotesDueTwoThousandFortySevenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FivePointOneFivePercentageNotesDueTwoThousandFourtyThreeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoFivePercentageNotesDueTwoThousandFortySixMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FivePointZeroPercentageNotesDueTwoThousandTwentySixMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FivePointZeroPercentageNotesDueTwoThousandTwentySixMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoFivePercentageNotesDueTwoThousandTwentyOneMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FourPointTwoPercentageNotesDueTwoThousandFortyFiveMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:SixPointFourZeroPercentageNotesDueTwoThousandThirtySevenMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:ThreePointNineFivePercentageNotesDueTwoThousandFiftyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DebtInstrumentAxis_mmp_ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:ThreePointTwoPercentageNotesDueTwoThousandTwentyFiveMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_CreditFacilityAxis_us-gaap_RevolvingCreditFacilityMember_us-gaap_LongtermDebtTypeAxis_us-gaap_LineOfCreditMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:CreditFacilityAxis">us-gaap:RevolvingCreditFacilityMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:LongtermDebtTypeAxis">us-gaap:LineOfCreditMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_LeaseArrangementTypeAxis_mmp_ThirdPartyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:LeaseArrangementTypeAxis">mmp:ThirdPartyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_LeaseArrangementTypeAxis_mmp_RelatedPartyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:LeaseArrangementTypeAxis">mmp:RelatedPartyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SeabrookLogisticsLLCMember_us-gaap_LeaseArrangementTypeAxis_mmp_RelatedPartyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SeabrookLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:LeaseArrangementTypeAxis">mmp:RelatedPartyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_LeaseArrangementTypeAxis_mmp_ThirdPartyMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:LeaseArrangementTypeAxis">mmp:ThirdPartyMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsLargeCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsLargeCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LongTermInvestmentGradeBondFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LongTermInvestmentGradeBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_IntermediateTermBondFundsMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:IntermediateTermBondFundsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_IntermediateTermBondFundsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:IntermediateTermBondFundsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LongTermInvestmentGradeBondFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LongTermInvestmentGradeBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsMidCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsMidCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermBondFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesNonUsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesNonUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_GroupAnnuityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:GroupAnnuityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermBondFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsSmallCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsSmallCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesNonUsMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesNonUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_GroupAnnuityContractMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:GroupAnnuityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsMidCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsMidCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsSmallCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsSmallCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermInvestmentFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermInvestmentFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsLargeCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsLargeCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermInvestmentFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermInvestmentFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_EquitySecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:EquitySecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_EquitySecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:EquitySecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_CashAndCashEquivalentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:CashAndCashEquivalentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_FixedIncomeSecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:FixedIncomeSecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_CashAndCashEquivalentsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:CashAndCashEquivalentsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_FixedIncomeSecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:FixedIncomeSecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_GroupAnnuityContractMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:GroupAnnuityContractMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_SmallCapFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:SmallCapFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_IntermediateTermBondFundsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:IntermediateTermBondFundsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermBondFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermBondFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LargeCapFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LargeCapFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LongTermInvestmentGradeBondFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LongTermInvestmentGradeBondFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_InternationalEquityFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:InternationalEquityFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_MidCapFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:MidCapFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermInvestmentFundMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermInvestmentFundMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2017Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsLargeCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsLargeCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermInvestmentFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermInvestmentFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_IntermediateTermBondFundsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:IntermediateTermBondFundsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsLargeCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsLargeCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsSmallCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsSmallCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesNonUsMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesNonUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsMidCapMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsMidCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermBondFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermInvestmentFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermInvestmentFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LongTermInvestmentGradeBondFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LongTermInvestmentGradeBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_GroupAnnuityContractMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:GroupAnnuityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_LongTermInvestmentGradeBondFundMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:LongTermInvestmentGradeBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_GroupAnnuityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:GroupAnnuityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsMidCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsMidCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_IntermediateTermBondFundsMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:IntermediateTermBondFundsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesUsSmallCapMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesUsSmallCapMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_mmp_ShortTermBondFundMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">mmp:ShortTermBondFundMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_DefinedBenefitPlanEquitySecuritiesNonUsMember_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:DefinedBenefitPlanEquitySecuritiesNonUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis_mmp_ErrorinActuarialAssumptionsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis">mmp:ErrorinActuarialAssumptionsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_StatementScenarioAxis_us-gaap_ScenarioPlanMember_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_EquitySecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:StatementScenarioAxis">us-gaap:ScenarioPlanMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:EquitySecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_StatementScenarioAxis_us-gaap_ScenarioPlanMember_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_us-gaap_FixedIncomeSecuritiesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:StatementScenarioAxis">us-gaap:ScenarioPlanMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DefinedBenefitPlanByPlanAssetCategoriesAxis">us-gaap:FixedIncomeSecuritiesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis_mmp_ErrorinActuarialAssumptionsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementByRestatementPeriodAndAmountAxis">mmp:ErrorinActuarialAssumptionsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2016Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_OtherPostretirementBenefitPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:OtherPostretirementBenefitPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2016-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2016Q4_us-gaap_RetirementPlanTypeAxis_us-gaap_PensionPlansDefinedBenefitMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanTypeAxis">us-gaap:PensionPlansDefinedBenefitMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2016-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_OtherRetirementPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:OtherRetirementPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_OtherRetirementPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:OtherRetirementPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_OtherRetirementPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:OtherRetirementPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_RangeAxis_srt_MaximumMember_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MaximumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_RangeAxis_srt_MinimumMember_us-gaap_RetirementPlanNameAxis_mmp_SalariedPlanMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:RangeAxis">srt:MinimumMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:SalariedPlanMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember_us-gaap_PlanNameAxis_mmp_TwoThousandEighteenAwardsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">mmp:TwoThousandEighteenAwardsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember_us-gaap_PlanNameAxis_mmp_RetentionAwardsVesting2021Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">mmp:RetentionAwardsVesting2021Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember_us-gaap_PlanNameAxis_mmp_RetentionAwardsVesting2020Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">mmp:RetentionAwardsVesting2020Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember_us-gaap_PlanNameAxis_mmp_RetentionAwardsVesting2022Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">mmp:RetentionAwardsVesting2022Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember_us-gaap_PlanNameAxis_mmp_TwoThousandNineteenAwardsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:PlanNameAxis">mmp:TwoThousandNineteenAwardsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PerformanceSharesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PerformanceSharesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_AwardTypeAxis_us-gaap_PhantomShareUnitsPSUsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:AwardTypeAxis">us-gaap:PhantomShareUnitsPSUsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_TransactionTypeAxis_us-gaap_ExchangeTradedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:TransactionTypeAxis">us-gaap:ExchangeTradedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_TransactionTypeAxis_us-gaap_ExchangeTradedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:TransactionTypeAxis">us-gaap:ExchangeTradedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:InterestExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:InterestExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:InterestExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_DesignatedAsHedgingInstrumentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:DesignatedAsHedgingInstrumentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_IncomeStatementLocationAxis_us-gaap_InterestExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:InterestExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DebtInstrumentAxis_mmp_FutureDebtIssuance2018Member_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FutureDebtIssuance2018Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DebtInstrumentAxis_mmp_FutureDebtIssuance2018Member_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_us-gaap_CashFlowHedgingMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DebtInstrumentAxis">mmp:FutureDebtIssuance2018Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">us-gaap:CashFlowHedgingMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_SalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:SalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OtherOperatingIncomeExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OtherOperatingIncomeExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_CostOfSalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_CostOfSalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OperatingExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OperatingExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OperatingExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OperatingExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_SalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:SalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_SalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:SalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OperatingExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OperatingExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OtherOperatingIncomeExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OtherOperatingIncomeExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_OtherOperatingIncomeExpenseMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:OtherOperatingIncomeExpenseMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember_us-gaap_IncomeStatementLocationAxis_us-gaap_CostOfSalesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:IncomeStatementLocationAxis">us-gaap:CostOfSalesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentLiabilitiesMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentLiabilitiesMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherCurrentAssetsMember_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_HedgingDesignationAxis_us-gaap_NondesignatedMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherCurrentAssetsMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:HedgingDesignationAxis">us-gaap:NondesignatedMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_mmp_EconomicHedgesFuturesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">mmp:EconomicHedgesFuturesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_mmp_EconomicHedgesMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentsGainLossByHedgingRelationshipAxis">mmp:EconomicHedgesMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_EnergyRelatedDerivativeMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:EnergyRelatedDerivativeMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q1_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-03-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q1YTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_BridgetexMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:BridgetexMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-03-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel3Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel3Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel2Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel2Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_CarryingReportedAmountFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:CarryingReportedAmountFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_InterestRateContractMember_us-gaap_FairValueByFairValueHierarchyLevelAxis_us-gaap_FairValueInputsLevel1Member_us-gaap_FairValueByMeasurementFrequencyAxis_us-gaap_FairValueMeasurementsRecurringMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:InterestRateContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByFairValueHierarchyLevelAxis">us-gaap:FairValueInputsLevel1Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementFrequencyAxis">us-gaap:FairValueMeasurementsRecurringMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_DerivativeInstrumentRiskAxis_us-gaap_CommodityContractMember_us-gaap_FairValueByMeasurementBasisAxis_us-gaap_EstimateOfFairValueFairValueDisclosureMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:DerivativeInstrumentRiskAxis">us-gaap:CommodityContractMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:FairValueByMeasurementBasisAxis">us-gaap:EstimateOfFairValueFairValueDisclosureMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_PowderSpringsLogisticsLLCMember_us-gaap_GuaranteeObligationsByNatureAxis_us-gaap_GuaranteeOfIndebtednessOfOthersMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_us-gaap_EquityMethodInvesteeMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:PowderSpringsLogisticsLLCMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:GuaranteeObligationsByNatureAxis">us-gaap:GuaranteeOfIndebtednessOfOthersMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">us-gaap:EquityMethodInvesteeMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_AccountsReceivableMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:AccountsReceivableMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_AccountsReceivableMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:AccountsReceivableMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentAssetsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentAssetsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2017Q4Oct4th_us-gaap_LitigationStatusAxis_us-gaap_PendingLitigationMember_us-gaap_LossContingenciesByNatureOfContingencyAxis_us-gaap_UnfavorableRegulatoryActionMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:LitigationStatusAxis">us-gaap:PendingLitigationMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:LossContingenciesByNatureOfContingencyAxis">us-gaap:UnfavorableRegulatoryActionMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-10-04</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_BalanceSheetLocationAxis_us-gaap_OtherNoncurrentAssetsMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:BalanceSheetLocationAxis">us-gaap:OtherNoncurrentAssetsMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_UnionizedEmployeesConcentrationRiskMember_us-gaap_RetirementPlanNameAxis_mmp_IUOEPlanMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:UnionizedEmployeesConcentrationRiskMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:IUOEPlanMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_CustomerConcentrationRiskMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:CustomerConcentrationRiskMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_UnionizedEmployeesConcentrationRiskMember_us-gaap_RetirementPlanNameAxis_mmp_USWPlanMember_us-gaap_StatementBusinessSegmentsAxis_mmp_RefinedProductsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:UnionizedEmployeesConcentrationRiskMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RetirementPlanNameAxis">mmp:USWPlanMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:RefinedProductsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_ConcentrationRiskByTypeAxis_us-gaap_UnionizedEmployeesConcentrationRiskMember_us-gaap_StatementBusinessSegmentsAxis_mmp_CrudeOilPipelineandTerminalsSegmentMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:ConcentrationRiskByTypeAxis">us-gaap:UnionizedEmployeesConcentrationRiskMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:StatementBusinessSegmentsAxis">mmp:CrudeOilPipelineandTerminalsSegmentMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2019Q4_us-gaap_RelatedPartyTransactionAxis_mmp_MethvinCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionAxis">mmp:MethvinCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_us-gaap_RelatedPartyTransactionAxis_mmp_MethvinCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionAxis">mmp:MethvinCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2018Q4_us-gaap_RelatedPartyTransactionAxis_mmp_MethvinCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionAxis">mmp:MethvinCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-12-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_us-gaap_RelatedPartyTransactionAxis_mmp_MethvinCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionAxis">mmp:MethvinCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_us-gaap_RelatedPartyTransactionAxis_mmp_MethvinCompanyMember_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionAxis">mmp:MethvinCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:RelatedPartyTransactionsByRelatedPartyAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q1">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-02-14</xbrli:startDate>
			<xbrli:endDate>2019-02-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-11-14</xbrli:startDate>
			<xbrli:endDate>2019-11-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2017Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-08-14</xbrli:startDate>
			<xbrli:endDate>2017-08-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-11-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2017Q2SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-05-15</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q1">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-02-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2017Q1DistributionDate">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-02-14</xbrli:startDate>
			<xbrli:endDate>2017-02-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-08-14</xbrli:startDate>
			<xbrli:endDate>2019-08-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2019Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-11-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2019Q1">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-02-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2017Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-11-14</xbrli:startDate>
			<xbrli:endDate>2017-11-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2018Q1DistributionDate">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-02-14</xbrli:startDate>
			<xbrli:endDate>2018-02-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2017Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-08-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2019Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-08-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2019Q2">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-05-15</xbrli:startDate>
			<xbrli:endDate>2019-05-15</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2018Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-08-14</xbrli:startDate>
			<xbrli:endDate>2018-08-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q3SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-08-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2017Q1SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-02-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2018Q2SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-05-15</xbrli:startDate>
			<xbrli:endDate>2018-05-15</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2018Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-11-14</xbrli:startDate>
			<xbrli:endDate>2018-11-14</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2019Q2">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2019-05-15</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2018Q2SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2018-05-15</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2017Q4SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2017-11-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="D2017Q2SD">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-05-15</xbrli:startDate>
			<xbrli:endDate>2017-05-15</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_TitleOfIndividualAxis_srt_ManagementMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:ManagementMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_TitleOfIndividualAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_TitleOfIndividualAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2017Q4YTD_srt_TitleOfIndividualAxis_srt_ManagementMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:ManagementMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2017-01-01</xbrli:startDate>
			<xbrli:endDate>2017-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2019Q4YTD_srt_TitleOfIndividualAxis_srt_ManagementMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:ManagementMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2019-01-01</xbrli:startDate>
			<xbrli:endDate>2019-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2018Q4YTD_srt_TitleOfIndividualAxis_srt_DirectorMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:TitleOfIndividualAxis">srt:DirectorMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2018-01-01</xbrli:startDate>
			<xbrli:endDate>2018-12-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2020Q1QTD_srt_CounterpartyNameAxis_mmp_BuckeyePartnersL.P.Member_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:CounterpartyNameAxis">mmp:BuckeyePartnersL.P.Member</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2020-01-01</xbrli:startDate>
			<xbrli:endDate>2020-03-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2020Q1QTD_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2020-01-01</xbrli:startDate>
			<xbrli:endDate>2020-03-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2020Q2DistrDate_srt_StatementScenarioAxis_srt_ScenarioForecastMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:StatementScenarioAxis">srt:ScenarioForecastMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2020-05-15</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FD2020Q1QTD_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:startDate>2020-01-01</xbrli:startDate>
			<xbrli:endDate>2020-03-31</xbrli:endDate>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2020Q1_srt_ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis_mmp_SaddlehornPipelineCompanyMember_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="srt:ScheduleOfEquityMethodInvestmentEquityMethodInvesteeNameAxis">mmp:SaddlehornPipelineCompanyMember</xbrldi:explicitMember>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2020-03-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="FI2020Q1_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2020-03-31</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:context id="I2020Q1SD_us-gaap_SubsequentEventTypeAxis_us-gaap_SubsequentEventMember">
		<xbrli:entity>
			<xbrli:identifier scheme="http://www.sec.gov/CIK">0001126975</xbrli:identifier>
			<xbrli:segment>
				<xbrldi:explicitMember dimension="us-gaap:SubsequentEventTypeAxis">us-gaap:SubsequentEventMember</xbrldi:explicitMember>
			</xbrli:segment>
		</xbrli:entity>
		<xbrli:period>
			<xbrli:instant>2020-02-14</xbrli:instant>
		</xbrli:period>
	</xbrli:context><xbrli:unit id="shares">
		<xbrli:measure>xbrli:shares</xbrli:measure>
	</xbrli:unit><xbrli:unit id="Terminal">
		<xbrli:measure>mmp:Terminal</xbrli:measure>
	</xbrli:unit><xbrli:unit id="usd">
		<xbrli:measure>iso4217:USD</xbrli:measure>
	</xbrli:unit><xbrli:unit id="mi">
		<xbrli:measure>utreg:mi</xbrli:measure>
	</xbrli:unit><xbrli:unit id="number">
		<xbrli:measure>xbrli:pure</xbrli:measure>
	</xbrli:unit><xbrli:unit id="bbl">
		<xbrli:measure>utreg:bbl</xbrli:measure>
	</xbrli:unit><xbrli:unit id="usdPerShare">
		<xbrli:divide>
			<xbrli:unitNumerator>
				<xbrli:measure>iso4217:USD</xbrli:measure>
			</xbrli:unitNumerator>
			<xbrli:unitDenominator>
				<xbrli:measure>xbrli:shares</xbrli:measure>
			</xbrli:unitDenominator>
		</xbrli:divide>
	</xbrli:unit><xbrli:unit id="pension_plan">
		<xbrli:measure>mmp:pension_plan</xbrli:measure>
	</xbrli:unit><xbrli:unit id="facility">
		<xbrli:measure>mmp:facility</xbrli:measure>
	</xbrli:unit><xbrli:unit id="Employee">
		<xbrli:measure>mmp:Employee</xbrli:measure>
	</xbrli:unit><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7450-wk-Fact-0554CD86E13DCC200B447E6DC15541CE" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7533-wk-Fact-135DAA9760B160DCFC857E6DC1559616" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e2049-wk-Fact-2214DAF84B309DC5043E7E6DC3C6F1B0" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1337-wk-Fact-2BB008939A53350C90297E6DC2CC018A" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7616-wk-Fact-3EA0D5B3288D1DF858B97E6DC155DB4A" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1309-wk-Fact-3F073B0AF3ED62B015297E6DC22074D5" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e1718-wk-Fact-52A1EFEBBFB2C6E9F2037E6DC3B6BE87" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7013-wk-Fact-534C045867D9D1A3FF187E6DC145A956" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8954-wk-Fact-55F55A8438C4410EFA407E6DC2DBD704" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7110-wk-Fact-5A3A370E9F13B5461A3A7E6DC155F734" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8370-wk-Fact-5A78C9DB9146D68624CB7E6DC2DBA83F" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7431-wk-Fact-65E8062E1EC9BDE7CDCA7E6DC145F9AE" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e1966-wk-Fact-6621439EF3E71E23AB237E6DC3A66DFA" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1241-wk-Fact-669805B17778D22D29B37E6DC2FA12C1" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8852-wk-Fact-6CB71857527617D07E6C7E6DC2CC0C0E" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7032-wk-Fact-6E9FEF31183C56AE172A7E6DC1359A3C" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8531-wk-Fact-7A9857523225402EA6417E6DC2EBE1E7" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61897448e586-wk-Fact-90123DF644EDBD208B037E6DC106E378" toRefs="TextSelection-B1911E20133E7A070C4E7E6DC0E727A9-0-wk-Footnote-B1911E20133E7A070C4E7E6DC0E727A9_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61847418e1529-wk-Fact-91FC8FFD03B3900AE0627E6DC3D5CB7F d61847418e3039-wk-Fact-91FC8FFD03B3900AE0627E6DC3D5CB7F" toRefs="TextSelection-80A25F6AA33E3E888D9B7E6DC387F8AD-0-wk-Footnote-80A25F6AA33E3E888D9B7E6DC387F8AD_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1261-wk-Fact-99826AC14E75D39CA3AB7E6DC29DEC7C" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8769-wk-Fact-9E0BA4335218D0A969457E6DC2DBFA62" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7174-wk-Fact-A19F6F34C3208E0A23AB7E6DC135AF32" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8788-wk-Fact-A3408F777A2D12D5824E7E6DC2BC99DF" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61847418e1569-wk-Fact-A44FE78BE13FCE13F0F97E6DC387E3B2 d61847418e3078-wk-Fact-A44FE78BE13FCE13F0F97E6DC387E3B2" toRefs="TextSelection-80A25F6AA33E3E888D9B7E6DC387F8AD-0-wk-Footnote-80A25F6AA33E3E888D9B7E6DC387F8AD_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8351-wk-Fact-AF02A6EC3E670DE5137F7E6DC2CCE1D2" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8448-wk-Fact-AF12C2A05CE6A2FFA1C87E6DC2DB0379" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8595-wk-Fact-B013998BB103C879015D7E6DC2BCD16C" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8614-wk-Fact-B0C4916DE0DADD3F98A47E6DC2DB8E02" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8935-wk-Fact-BD0D656A91E3EEB0EF217E6DC2CC58EC" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61897448e654-wk-Fact-C10D5C868EDF27550C697E6DC0D77749" toRefs="TextSelection-B1911E20133E7A070C4E7E6DC0E727A9-0-wk-Footnote-B1911E20133E7A070C4E7E6DC0E727A9_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8871-wk-Fact-C57F97C3C0B544D9B9717E6DC2EBBDCC" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1356-wk-Fact-C6AB8951EAC88B8E9EF27E6DC29D176C" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e1796-wk-Fact-CC7D0B6FC38A8335BDCD7E6DC3978F70" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e2132-wk-Fact-CF94AD647491CDA332D47E6DC3A64F62" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61870198e1289-wk-Fact-D01FE2904F97E0D9E07E7E6DC3770760" toRefs="TextSelection-05636B691B940D8F10467E6DC22012A7-0-wk-Footnote-05636B691B940D8F10467E6DC22012A7_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61897448e621-wk-Fact-D6CB36D52276F8C5B8D77E6DC126BEC8" toRefs="TextSelection-B1911E20133E7A070C4E7E6DC0E727A9-0-wk-Footnote-B1911E20133E7A070C4E7E6DC0E727A9_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7514-wk-Fact-DFF7365E828E107EF68B7E6DC1644994" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61847418e1549-wk-Fact-E0F221B8548EF5FAD3BF7E6DC39719F7 d61847418e3058-wk-Fact-E0F221B8548EF5FAD3BF7E6DC39719F7" toRefs="TextSelection-80A25F6AA33E3E888D9B7E6DC387F8AD-0-wk-Footnote-80A25F6AA33E3E888D9B7E6DC387F8AD_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8429-wk-Fact-E2EBA9438C325A9793F87E6DC2CC516D" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7091-wk-Fact-EACB0B8123ADD7BCBF307E6DC145F9AC" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e8512-wk-Fact-EE880A884BE60ECA3C5F7E6DC2EB619F" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7193-wk-Fact-F85AFFAFF8BAAF9907FF7E6DC164660C" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61887592e7597-wk-Fact-F97272CF225F8A02BDDE7E6DC1641772" toRefs="TextSelection-2CB541765DF7DA6A822D7E6DC135DF66-0-wk-Footnote-2CB541765DF7DA6A822D7E6DC135DF66_lbl"></ix:relationship><ix:relationship arcrole="http://www.xbrl.org/2003/arcrole/fact-footnote" linkRole="http://www.xbrl.org/2003/role/link" order="1" fromRefs="d61876754e2220-wk-Fact-FC56314D52E13A03966D7E6DC3976D82" toRefs="TextSelection-91551EE087F30A6F4DCC7E6DC3975D3A-0-wk-Footnote-91551EE087F30A6F4DCC7E6DC3975D3A_lbl"></ix:relationship></ix:resources></ix:header></div><div><a id="sAA2B28B78113B7366FDE614A91806B87"></a></div><div><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div><div><br/></div><div style="line-height:120%;text-align:center;-sec-extract:summary;font-size:18pt;"><span style="font-family:inherit;font-size:18pt;font-weight:bold;">UNITED STATES</span></div><div style="line-height:120%;text-align:center;font-size:18pt;"><span style="font-family:inherit;font-size:18pt;font-weight:bold;">SECURITIES AND EXCHANGE COMMISSION</span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Washington, D.C. 20549</span></div><div style="line-height:120%;text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:18pt;"><span style="font-family:inherit;font-size:18pt;font-weight:bold;">FORM&#160;</span><span><ix:nonNumeric id="d61898304e67-wk-Fact-8E55CEDF35FCD36EC548614A91591963" name="dei:DocumentType" contextRef="D2020Q2DateOfFiling"><span style="font-size:18pt;font-weight:bold;">8-K</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:18pt;font-weight:bold;"> </span></div><div style="line-height:120%;text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">CURRENT REPORT PURSUANT TO</span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">SECTION&#160;13 OR 15(d)&#160;OF THE</span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">SECURITIES EXCHANGE ACT OF 1934</span></div><div style="line-height:120%;text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Date of Report (Date of earliest event reported): </span><span style="font-family:inherit;font-size:12pt;"><span><span style="white-space:nowrap"><ix:nonNumeric id="d61898304e90-wk-Fact-F84EB8A105F7AE72B016614A9158FE59" name="dei:DocumentPeriodEndDate" contextRef="D2020Q2DateOfFiling" format="ixt:datemonthdayyearen">May 4, 2020</ix:nonNumeric></span></span></span><span style="font-family:inherit;font-size:12pt;"> </span></div><div style="line-height:120%;text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:18pt;"><span><ix:nonNumeric id="d61898304e99-wk-Fact-6B8C8AB19C52B253E5CE614A9160AD0C" name="dei:EntityRegistrantName" contextRef="D2020Q2DateOfFiling"><span style="font-size:18pt;font-weight:bold;">Magellan Midstream Partners, L.P.</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:18pt;font-weight:bold;"> </span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">(Exact Name of Registrant as Specified in Charter)</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><div style="padding-left:0px;text-indent:0px;line-height:normal;padding-top:10px;"><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman;font-size:10pt;margin-left:auto;margin-right:auto;width:85.546875%;border-collapse:collapse;text-align:left;"><tr><td colspan="5"></td></tr><tr><td style="width:32%;"></td><td style="width:1%;"></td><td style="width:32%;"></td><td style="width:1%;"></td><td style="width:34%;"></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;font-weight:bold;"><span><ix:nonNumeric id="d61898304e126-wk-Fact-5E006240E873C069E56E614A91579648" name="dei:EntityIncorporationStateCountryCode" contextRef="D2020Q2DateOfFiling" format="ixt-sec:stateprovnameen">Delaware</ix:nonNumeric></span></span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;font-weight:bold;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;font-weight:bold;"><span><ix:nonNumeric id="d61898304e136-wk-Fact-911AAAC5A048891CA0DC614A91562E0E" name="dei:EntityFileNumber" contextRef="D2020Q2DateOfFiling">1-16335</ix:nonNumeric></span></span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;font-weight:bold;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;font-weight:bold;"><span><ix:nonNumeric id="d61898304e146-wk-Fact-F307EB308921F7BE55DD614A9159F433" name="dei:EntityTaxIdentificationNumber" contextRef="D2020Q2DateOfFiling">73-1599053</ix:nonNumeric></span></span></div></td></tr><tr><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">(State or Other Jurisdiction of</span></div><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Incorporation)</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">(Commission File Number)</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">(IRS Employer Identification No.)</span></div></td></tr></table></div></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span><ix:nonNumeric id="d61898304e183-wk-Fact-BD5CE120BD3EE626F7E2614A9154B06D" name="dei:EntityAddressAddressLine1" contextRef="D2020Q2DateOfFiling"><span style="font-weight:bold;">One Williams Center</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;"> </span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span><ix:nonNumeric id="d61898304e189-wk-Fact-AD9588118C78E0657E40614A9162C9FA" name="dei:EntityAddressCityOrTown" contextRef="D2020Q2DateOfFiling"><span style="font-weight:bold;">Tulsa</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;">, </span><span><ix:nonNumeric id="d61898304e194-wk-Fact-EC5C35669AA24AA3346F614A9153DCD0" name="dei:EntityAddressStateOrProvince" contextRef="D2020Q2DateOfFiling" format="ixt-sec:stateprovnameen"><span style="font-weight:bold;">Oklahoma</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;"> </span><span><ix:nonNumeric id="d61898304e199-wk-Fact-BE277348CA3C600D2EA4614A9162D875" name="dei:EntityAddressPostalZipCode" contextRef="D2020Q2DateOfFiling"><span style="font-weight:bold;">74172</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;"> </span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"> (Address of Principal Executive Offices) (Zip Code)</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Registrant's telephone number, including area code</span><span style="font-family:inherit;font-size:10pt;font-weight:bold;"> (</span><span><ix:nonNumeric id="d61898304e216-wk-Fact-7E2A5C13C93E49C5763C614A91545EA9" name="dei:CityAreaCode" contextRef="D2020Q2DateOfFiling"><span style="font-weight:bold;">918</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;">) </span><span><ix:nonNumeric id="d61898304e221-wk-Fact-A9EF8F8E135849C8B9E0614A9155B57A" name="dei:LocalPhoneNumber" contextRef="D2020Q2DateOfFiling"><span style="font-weight:bold;">574-7000</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;font-weight:bold;"> </span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">(Former Name or Former Address, if Changed Since Last Report)</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Check the appropriate box below if the Form&#160;8-K filing is intended to simultaneously satisfy the filing obligation of the registrant under any of the following provisions:</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span><ix:nonNumeric id="d61898304e242-wk-Fact-E058CF387C2F1E9205F8614A9161B688" name="dei:WrittenCommunications" contextRef="D2020Q2DateOfFiling" format="ixt-sec:boolballotbox"><span style="font-family:Arial Unicode MS;">&#9744;</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;"> Written communications pursuant to Rule&#160;425 under the Securities Act (17 CFR 230.425)</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span><ix:nonNumeric id="d61898304e251-wk-Fact-6389A14AFE03B3F63598614A91600DBD" name="dei:SolicitingMaterial" contextRef="D2020Q2DateOfFiling" format="ixt-sec:boolballotbox"><span style="font-family:Arial Unicode MS;">&#9744;</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;"> Soliciting material pursuant to Rule&#160;14a-12 under the Exchange Act (17 CFR 240.14a-12)</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span><ix:nonNumeric id="d61898304e260-wk-Fact-6EAA77691F8014E231F5614A9163A8CC" name="dei:PreCommencementTenderOffer" contextRef="D2020Q2DateOfFiling" format="ixt-sec:boolballotbox"><span style="font-family:Arial Unicode MS;">&#9744;</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;"> Pre-commencement communications pursuant to Rule&#160;14d-2(b)&#160;under the Exchange Act (17 CFR 240.14d-2(b))</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span><ix:nonNumeric id="d61898304e270-wk-Fact-A33D10B7AD57BB6FDF6D614A91632384" name="dei:PreCommencementIssuerTenderOffer" contextRef="D2020Q2DateOfFiling" format="ixt-sec:boolballotbox"><span style="font-family:Arial Unicode MS;">&#9744;</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;"> Pre-commencement communications pursuant to Rule&#160;13e-4(c)&#160;under the Exchange Act (17 CFR 240.13e-4(c))</span></div><div style="line-height:120%;padding-top:16px;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Indicate by check mark whether the registrant is an emerging growth company as defined in Rule 405 of the Securities Act of 1933 (&#167;230.405 of this chapter) or Rule 12b-2 of the Securities Exchange Act of 1934 (&#167;240.12b-2 of this chapter). </span></div><div style="line-height:120%;padding-top:16px;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Emerging growth company&#160;&#160;</span><span><ix:nonNumeric id="d61898304e281-wk-Fact-C5C3448EC6373A261824614A91612E63" name="dei:EntityEmergingGrowthCompany" contextRef="D2020Q2DateOfFiling" format="ixt-sec:boolballotbox"><span style="font-family:Arial Unicode MS;">&#9744;</span></ix:nonNumeric></span><span style="font-family:inherit;font-size:10pt;"> </span></div><div style="line-height:120%;padding-top:16px;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards provided pursuant to Section 13(a) of the Exchange Act. </span><span style="font-family:Arial Unicode MS;">&#9744;</span><span style="font-family:inherit;font-size:10pt;"> </span></div><div style="line-height:120%;padding-top:16px;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">Securities registered pursuant to Section 12(b) of the Act:</span></div><div style="line-height:120%;text-align:center;font-size:10pt;"><div style="padding-left:0px;text-indent:0px;line-height:normal;padding-top:10px;"><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman;font-size:10pt;margin-left:auto;margin-right:auto;width:93.75%;border-collapse:collapse;text-align:left;"><tr><td colspan="3"></td></tr><tr><td style="width:38%;"></td><td style="width:22%;"></td><td style="width:40%;"></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;text-decoration:underline;">Title of Each Class</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;text-decoration:underline;">Trading Symbol(s)</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:8pt;"><span style="font-family:inherit;font-size:8pt;text-decoration:underline;">Name of Each Exchange on Which Registered</span></div></td></tr><tr><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><span><ix:nonNumeric id="d61898304e327-wk-Fact-5A67109032FAB8B07C3C614A9158A597" name="dei:Security12bTitle" contextRef="D2020Q2DateOfFiling_dei_EntityListingsExchangeAxis_exch_XNYS">Common Units</ix:nonNumeric></span></span></div></td><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><span><ix:nonNumeric id="d61898304e332-wk-Fact-27C76039C8D73A0A4CD3614A915FAB2C" name="dei:TradingSymbol" contextRef="D2020Q2DateOfFiling_dei_EntityListingsExchangeAxis_exch_XNYS">MMP</ix:nonNumeric></span></span></div></td><td style="vertical-align:middle;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:center;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><span><ix:nonNumeric id="d61898304e337-wk-Fact-6C6331F6D5B2090D430F614A91574F7E" name="dei:SecurityExchangeName" contextRef="D2020Q2DateOfFiling_dei_EntityListingsExchangeAxis_exch_XNYS" format="ixt-sec:exchnameen">New York Stock Exchange</ix:nonNumeric></span></span></div></td></tr></table></div><span style="font-family:inherit;font-size:10pt;"> </span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div><br/></div><div style="text-align:center;"><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div><hr style="page-break-after:always"></hr><div><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div><div><br/></div><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Item 8.01.&#160;&#160;&#160;&#160;Other Events.</span></div><div style="line-height:120%;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">&#160;&#160;&#160;&#160;</span></div><div style="line-height:120%;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">The terms &#8220;we&#8221;, &#8220;us&#8221;, &#8220;our&#8221; and similar language included in this Current Report on Form 8-K refers to Magellan Midstream Partners, L.P., together with its subsidiaries.  During first quarter 2020, we completed a reorganization of our reporting segments. This reorganization was effected to reflect changes in the management of our business in conjunction with the sale of three of our marine terminals.&#160; </span></div><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Accordingly, effective March 1, 2020, we redesigned our internal management reports to correspond to this new organizational structure, resulting in changes to our reporting segments.  Our new reporting segments are as follows:</span></div><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:96px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:72px;"><span style="font-family:inherit;font-size:12pt;">&#8226;</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Refined products; and</span></div></td></tr></table><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:96px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:72px;"><span style="font-family:inherit;font-size:12pt;">&#8226;</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Crude oil.</span></div></td></tr></table><div style="line-height:120%;text-align:left;padding-left:96px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;padding-bottom:13px;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">A summary of each of our current reporting segments follows:</span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:96px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:72px;"><span style="font-family:inherit;font-size:12pt;">&#8226;</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Our refined products segment is comprised of our approximately 9,800-mile refined products pipeline system with 53 connected terminals, as well as 25 independent terminals not connected to our pipeline system and five marine terminals (one of which is owned through a joint venture).</span></div></td></tr></table><div style="line-height:120%;text-align:left;padding-left:96px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:96px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:72px;"><span style="font-family:inherit;font-size:12pt;">&#8226;</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Our crude oil segment is comprised of approximately 2,200 miles of crude oil pipelines, a condensate splitter and 37 million barrels of aggregate storage capacity, of which approximately 25 million barrels are used for contract storage. Approximately 1,000 miles of these pipelines, the condensate splitter and 30 million barrels of this storage capacity (including 22 million barrels used for contract storage) are wholly-owned, with the remainder owned through joint ventures.</span></div></td></tr></table><div style="line-height:120%;text-align:left;padding-left:96px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Exhibit 99.1 hereto updates the following information contained in our Annual Report on Form 10-K for the year ended December 31, 2019 filed with the Securities and Exchange Commission on February 18, 2020 ("2019 10-K") to reflect these changes in reportable segments: (i) Item 1. Business; (ii) Item 6. Selected Financial Data; (iii) Item 7. Management's Discussion and Analysis of Financial Condition and Results of Operations ("MD&amp;A"); and (iv) Item 8. Financial Statements and Supplementary Data. </span></div><div style="line-height:120%;text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">The recast items of the Form 10-K described above continue to speak as of the date of the filing of our 2019 10-K report with the SEC and have not been updated for events or developments that occurred subsequent to such filing, other than the change in our segment reporting and certain other events disclosed in Note 19 - Subsequent Events within Item 8 of Exhibit 99.1. More current information about us and our business is contained in our Quarterly Report on Form 10-Q for the period ended March 31, 2020, and the information in this Current Report, including the exhibits, should be read in conjunction with such Quarterly Report and other filings we make with the SEC.</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Item 9.01. </span><span style="font-family:inherit;font-size:12pt;">&#160;&#160;&#160;&#160;</span><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Financial Statements and Exhibits.</span></div><div style="line-height:120%;text-align:justify;padding-left:96px;text-indent:-96px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><a style="text-decoration:underline;color:#0000FF;font-size:12pt;-sec-extract:exhibit;" href="exhibit23201910-k1.htm"><span style="font-family:inherit;font-size:12pt;">Exhibit 23.1</span></a></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Consent of Independent Registered Public Accounting Firm.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:144px;text-indent:-96px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><a style="text-decoration:underline;color:#0000FF;font-size:12pt;-sec-extract:exhibit;" href="exhibit99201910k.htm"><span style="font-family:inherit;font-size:12pt;">Exhibit 99.1</span></a></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Item 1&#8212;</span><span style="font-family:inherit;font-size:12pt;font-style:italic;">Business</span><span style="font-family:inherit;font-size:12pt;">, Item 6&#8212;</span><span style="font-family:inherit;font-size:12pt;font-style:italic;">Selected Financial Data</span><span style="font-family:inherit;font-size:12pt;">, Item 7&#8212;</span><span style="font-family:inherit;font-size:12pt;font-style:italic;">Management's Discussion and Analysis of Financial Condition and Results of Operations</span><span style="font-family:inherit;font-size:12pt;"> and </span></div></td></tr></table><div><br/></div><div style="text-align:center;"><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div><hr style="page-break-after:always"></hr><div><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div><div><br/></div><div style="line-height:120%;padding-left:192px;text-align:justify;"><span style="font-family:inherit;font-size:12pt;">Item 8&#8212;</span><span style="font-family:inherit;font-size:12pt;font-style:italic;">Financial Statements and Supplementary Data</span><span style="font-family:inherit;font-size:12pt;"> from our 2019 10-K, updated to reflect revised operating segment information.</span></div><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.INS</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Instance Document - the instance document does not appear in the Interactive Data File because its XBRL tags are embedded within the Inline XBRL document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.SCH</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Taxonomy Extension Schema Document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.CAL</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Taxonomy Extension Calculation Linkbase Document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.DEF</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Taxonomy Extension Definition Linkbase Document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.LAB</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Taxonomy Extension Label Linkbase Document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;padding-left:192px;text-indent:-144px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 101.PRE</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">XBRL Taxonomy Extension Presentation Linkbase Document.</span></div></td></tr></table><div style="line-height:120%;text-align:justify;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"><tr><td style="width:192px;"></td><td></td></tr><tr><td style="vertical-align:top"><div style="line-height:120%;font-size:12pt;padding-left:48px;"><span style="font-family:inherit;font-size:12pt;">Exhibit 104</span></div></td><td style="vertical-align:top;"><div style="line-height:120%;text-align:justify;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Cover Page Interactive Data File (embedded within the Inline XBRL document).</span></div></td></tr></table><div style="line-height:120%;text-align:justify;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;text-align:justify;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;text-align:left;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-style:italic;">&#160;&#160;&#160;&#160;</span></div><div style="line-height:120%;padding-bottom:16px;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;"><br/></span></div><div style="line-height:120%;padding-bottom:16px;text-align:center;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">SIGNATURES</span></div><div style="line-height:120%;text-align:justify;text-indent:48px;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Pursuant to the requirements of the Securities Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned hereunto duly authorized.</span></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:center;font-size:12pt;"><div style="padding-left:0px;text-indent:0px;line-height:normal;padding-top:10px;"><table cellpadding="0" cellspacing="0" style="font-family:Times New Roman;font-size:10pt;margin-left:auto;margin-right:auto;width:85.7421875%;border-collapse:collapse;text-align:left;"><tr><td colspan="3"></td></tr><tr><td style="width:42%;"></td><td style="width:10%;"></td><td style="width:48%;"></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td colspan="2" style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Magellan Midstream Partners, L.P.</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">By:</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;font-weight:bold;">Magellan GP, LLC,</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">its general partner</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Date:  May 4, 2020</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">By:</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">&#160;/s/ Jeff Holman</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Name:</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Jeff Holman</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:top;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Title:</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="text-align:left;font-size:12pt;"><span style="font-family:inherit;font-size:12pt;">Senior Vice President, Chief Financial Officer and Treasurer</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td></tr><tr><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td><td style="vertical-align:bottom;padding-left:2px;padding-top:2px;padding-bottom:2px;padding-right:2px;"><div style="overflow:hidden;height:20px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;</span></div></td></tr></table></div></div><div style="line-height:120%;text-align:left;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div style="line-height:120%;text-align:left;text-indent:336px;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</span></div><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div><div><br/></div><div style="text-align:center;"><div style="line-height:120%;font-size:10pt;"><span style="font-family:inherit;font-size:10pt;"><br/></span></div></div>	</div></body>
</html>
[{"type": "8-K", "sequence": "1", "filename": "a8-krestatementof20191.htm", "description": "8-K", "secsgml_size_bytes": 424962}]
{"company-data": {"conformed-name": "Magellan Midstream Partners, L.P.", "cik": "0001126975", "assigned-sic": "4610", "irs-number": "731599053", "state-of-incorporation": "DE", "fiscal-year-end": "1231"}, "filing-values": {"form-type": "8-K", "act": "34", "file-number": "001-16335", "film-number": "20845313"}, "business-address": {"street1": "ONE WILLIAMS CENTER, MD 28-1", "city": "TULSA", "state": "OK", "zip": "74172", "phone": "918 574 7000"}, "mail-address": {"street1": "ONE WILLIAMS CENTER, MD 28-1", "city": "TULSA", "state": "OK", "zip": "74172"}, "former-company": [{"former-conformed-name": "MAGELLAN MIDSTREAM PARTNERS, L.P.", "date-changed": "20190718"}, {"former-conformed-name": "MAGELLAN MIDSTREAM PARTNERS LP", "date-changed": "20030827"}, {"former-conformed-name": "WILLIAMS ENERGY PARTNERS L P", "date-changed": "20001024"}]}
Document
UNITED STATES
SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
FORM
8-K
CURRENT REPORT PURSUANT TO
SECTION 13 OR 15(d) OF THE
SECURITIES EXCHANGE ACT OF 1934
Date of Report (Date of earliest event reported):
May 4, 2020
Magellan Midstream Partners, L.P.
(Exact Name of Registrant as Specified in Charter)
Delaware
1-16335
73-1599053
(State or Other Jurisdiction of
Incorporation)
(Commission File Number)
(IRS Employer Identification No.)
One Williams Center
Tulsa
,
Oklahoma
74172
(Address of Principal Executive Offices) (Zip Code)
Registrant's telephone number, including area code
(
918
)
574-7000
(Former Name or Former Address, if Changed Since Last Report)
Check the appropriate box below if the Form 8-K filing is intended to simultaneously satisfy the filing obligation of the registrant under any of the following provisions:
☐
Written communications pursuant to Rule 425 under the Securities Act (17 CFR 230.425)
☐
Soliciting material pursuant to Rule 14a-12 under the Exchange Act (17 CFR 240.14a-12)
☐
Pre-commencement communications pursuant to Rule 14d-2(b) under the Exchange Act (17 CFR 240.14d-2(b))
☐
Pre-commencement communications pursuant to Rule 13e-4(c) under the Exchange Act (17 CFR 240.13e-4(c))
Indicate by check mark whether the registrant is an emerging growth company as defined in Rule 405 of the Securities Act of 1933 (§230.405 of this chapter) or Rule 12b-2 of the Securities Exchange Act of 1934 (§240.12b-2 of this chapter).
Emerging growth company
☐
If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards provided pursuant to Section 13(a) of the Exchange Act.
☐
Securities registered pursuant to Section 12(b) of the Act:
Title of Each Class
Trading Symbol(s)
Name of Each Exchange on Which Registered
Common Units
MMP
New York Stock Exchange
Item 8.01.    Other Events.
The terms "we", "us", "our" and similar language included in this Current Report on Form 8-K refers to Magellan Midstream Partners, L.P., together with its subsidiaries.  During first quarter 2020, we completed a reorganization of our reporting segments. This reorganization was effected to reflect changes in the management of our business in conjunction with the sale of three of our marine terminals.
Accordingly, effective March 1, 2020, we redesigned our internal management reports to correspond to this new organizational structure, resulting in changes to our reporting segments.  Our new reporting segments are as follows:
•
Refined products; and
•
Crude oil.
A summary of each of our current reporting segments follows:
•
Our refined products segment is comprised of our approximately 9,800-mile refined products pipeline system with 53 connected terminals, as well as 25 independent terminals not connected to our pipeline system and five marine terminals (one of which is owned through a joint venture).
•
Our crude oil segment is comprised of approximately 2,200 miles of crude oil pipelines, a condensate splitter and 37 million barrels of aggregate storage capacity, of which approximately 25 million barrels are used for contract storage. Approximately 1,000 miles of these pipelines, the condensate splitter and 30 million barrels of this storage capacity (including 22 million barrels used for contract storage) are wholly-owned, with the remainder owned through joint ventures.
Exhibit 99.1 hereto updates the following information contained in our Annual Report on Form 10-K for the year ended December 31, 2019 filed with the Securities and Exchange Commission on February 18, 2020 ("2019 10-K") to reflect these changes in reportable segments: (i) Item 1. Business; (ii) Item 6. Selected Financial Data; (iii) Item 7. Management's Discussion and Analysis of Financial Condition and Results of Operations ("MD&A"); and (iv) Item 8. Financial Statements and Supplementary Data.
The recast items of the Form 10-K described above continue to speak as of the date of the filing of our 2019 10-K report with the SEC and have not been updated for events or developments that occurred subsequent to such filing, other than the change in our segment reporting and certain other events disclosed in Note 19 - Subsequent Events within Item 8 of Exhibit 99.1. More current information about us and our business is contained in our Quarterly Report on Form 10-Q for the period ended March 31, 2020, and the information in this Current Report, including the exhibits, should be read in conjunction with such Quarterly Report and other filings we make with the SEC.
Item 9.01.
Financial Statements and Exhibits.
Exhibit 23.1
Consent of Independent Registered Public Accounting Firm.
Exhibit 99.1
Item 1—
Business
, Item 6—
Selected Financial Data
, Item 7—
Management's Discussion and Analysis of Financial Condition and Results of Operations
and
Item 8—
Financial Statements and Supplementary Data
from our 2019 10-K, updated to reflect revised operating segment information.
Exhibit 101.INS
XBRL Instance Document - the instance document does not appear in the Interactive Data File because its XBRL tags are embedded within the Inline XBRL document.
Exhibit 101.SCH
XBRL Taxonomy Extension Schema Document.
Exhibit 101.CAL
XBRL Taxonomy Extension Calculation Linkbase Document.
Exhibit 101.DEF
XBRL Taxonomy Extension Definition Linkbase Document.
Exhibit 101.LAB
XBRL Taxonomy Extension Label Linkbase Document.
Exhibit 101.PRE
XBRL Taxonomy Extension Presentation Linkbase Document.
Exhibit 104
Cover Page Interactive Data File (embedded within the Inline XBRL document).
SIGNATURES
Pursuant to the requirements of the Securities Exchange Act of 1934, the registrant has duly caused this report to be signed on its behalf by the undersigned hereunto duly authorized.
Magellan Midstream Partners, L.P.
By:
Magellan GP, LLC,
its general partner
Date:  May 4, 2020
By:
/s/ Jeff Holman
Name:
Jeff Holman
Title:
Senior Vice President, Chief Financial Officer and Treasurer