XML 21 R1.htm IDEA: XBRL DOCUMENT v3.22.4
Cover Page - USD ($)
12 Months Ended
Dec. 31, 2022
Feb. 20, 2023
Jun. 30, 2022
Cover [Abstract]      
Document Type 10-K    
Document Annual Report true    
Document Period End Date Dec. 31, 2022    
Document Transition Report false    
Entity File Number 1-16335    
Entity Registrant Name Magellan Midstream Partners, L.P.    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 73-1599053    
Entity Address, Address Line One One Williams Center    
Entity Address, Address Line Two P.O. Box 22186    
Entity Address, City or Town Tulsa    
Entity Address, State or Province OK    
Entity Address, Postal Zip Code 74121-2186    
City Area Code 918    
Local Phone Number 574-7000    
Title of 12(b) Security Common Units    
Trading Symbol MMP    
Security Exchange Name NYSE    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Interactive Data Current Yes    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
ICFR Auditor Attestation Flag true    
Entity Shell Company false    
Entity Public Float     $ 9,911,874,513
Entity Common Stock, Shares Outstanding (in shares)   203,293,822  
Documents Incorporated by Reference Portions of the registrant’s Proxy Statement prepared for the solicitation of proxies in connection with the 2023 Annual Meeting of Limited Partners are to be incorporated by reference in Part III of this Form 10-K.    
Amendment Flag false    
Document Fiscal Year Focus 2022    
Document Fiscal Period Focus FY    
Entity Central Index Key 0001126975    
Current Fiscal Year End Date --12-31