<SUBMISSION>
<ACCESSION-NUMBER>0001250753-03-000002
<TYPE>4
<PUBLIC-DOCUMENT-COUNT>1
<PERIOD>20031001
<FILING-DATE>20031001
<ISSUER>
<COMPANY-DATA>
<CONFORMED-NAME>MAGELLAN MIDSTREAM PARTNERS LP
<CIK>0001126975
<ASSIGNED-SIC>4610
<IRS-NUMBER>731599053
<STATE-OF-INCORPORATION>DE
<FISCAL-YEAR-END>1231
</COMPANY-DATA>
<BUSINESS-ADDRESS>
<STREET1>P O BOX 22186
<CITY>TULSA
<STATE>OK
<ZIP>74121-2186
<PHONE>918 574 7000
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>ONE WILLIAMS CENTER
<CITY>TULSA
<STATE>OK
<ZIP>74172
</MAIL-ADDRESS>
<FORMER-COMPANY>
<FORMER-CONFORMED-NAME>WILLIAMS ENERGY PARTNERS L P
<DATE-CHANGED>20001024
</FORMER-COMPANY>
</ISSUER>
<REPORTING-OWNER>
<OWNER-DATA>
<CONFORMED-NAME>TOWNSEND LONNY E
<CIK>0001250753
</OWNER-DATA>
<FILING-VALUES>
<FORM-TYPE>4
<ACT>34
<FILE-NUMBER>001-16335
<FILM-NUMBER>03921431
</FILING-VALUES>
<BUSINESS-ADDRESS>
<STREET1>WILLIAMS COMPANIES INC
<STREET2>ONE WILLIAMS CENTER
<CITY>OWASSO
<STATE>OK
<ZIP>74172
<PHONE>9185730164
</BUSINESS-ADDRESS>
<MAIL-ADDRESS>
<STREET1>WILLIAMS COMPANIES INC
<STREET2>ONE WILLIAMS CENTER
<CITY>OWASSO
<STATE>OK
<ZIP>74172
</MAIL-ADDRESS>
</REPORTING-OWNER>
<DOCUMENT>
<TYPE>4
<SEQUENCE>1
<FILENAME>edgar.xml
<DESCRIPTION>PRIMARY DOCUMENT
<TEXT>
<XML>
<?xml version="1.0"?>
<ownershipDocument>
    <schemaVersion>X0201</schemaVersion>

    <documentType>4</documentType><periodOfReport>2003-10-01</periodOfReport>
    <issuer>
        <issuerCik>0001126975</issuerCik>
        <issuerName>MAGELLAN MIDSTREAM PARTNERS LP</issuerName>
        <issuerTradingSymbol>MMP</issuerTradingSymbol></issuer><reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001250753</rptOwnerCik>
            <rptOwnerName>TOWNSEND LONNY E</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1></rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity></rptOwnerCity>
            <rptOwnerState>OK</rptOwnerState>
            <rptOwnerZipCode></rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
            <reportingOwnerRelationship>
<isDirector>0</isDirector><isOfficer>1</isOfficer><isTenPercentOwner>0</isTenPercentOwner><isOther>0</isOther><officerTitle>General Counsel</officerTitle></reportingOwnerRelationship></reportingOwner><derivativeTable><derivativeTransaction><securityTitle><value>Phantom Units</value><footnoteId id="F1"/></securityTitle><conversionOrExercisePrice><value>45.80</value></conversionOrExercisePrice><transactionDate><value>2003-10-01</value></transactionDate><transactionCoding><transactionFormType>4</transactionFormType><transactionCode>A</transactionCode><equitySwapInvolved>0</equitySwapInvolved></transactionCoding><transactionAmounts><transactionShares><value>8500</value></transactionShares><transactionPricePerShare><value>0</value></transactionPricePerShare><transactionAcquiredDisposedCode><value>A</value></transactionAcquiredDisposedCode></transactionAmounts><exerciseDate><value>2003-12-31</value><footnoteId id="F2"/></exerciseDate><expirationDate><value>2004-12-31</value><footnoteId id="F2"/></expirationDate><underlyingSecurity><underlyingSecurityTitle><value>Common Units</value></underlyingSecurityTitle><underlyingSecurityShares><value>8500</value></underlyingSecurityShares></underlyingSecurity><postTransactionAmounts><sharesOwnedFollowingTransaction><value>8500</value></sharesOwnedFollowingTransaction></postTransactionAmounts><ownershipNature><directOrIndirectOwnership><value>D</value></directOrIndirectOwnership><natureOfOwnership><value/></natureOfOwnership></ownershipNature></derivativeTransaction></derivativeTable><footnotes><footnote id="F1">Granted pursuant to the Magellan Midstream Partners, L.P. Long-Term Incentive Plan in a transaction exempt under Rule 16(b)-3(d)(1).</footnote><footnote id="F2">4,250 phantom units vest on December 31, 2003 and 4,250 phantom units vest on December 31, 2004.</footnote></footnotes><remarks/><ownerSignature><signatureName>Lonny E. Townsend</signatureName><signatureDate>2003-10-01</signatureDate></ownerSignature></ownershipDocument>

</XML>
</TEXT>
</DOCUMENT>
</SUBMISSION>
