Exhibit 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the Registration Statement (Form S-8 No. 333-71670) pertaining to the Fourth Amended and Restated Magellan Midstream Partners Long-Term Incentive Plan dated February 3, 2004 and in the Registration Statement (Form S-3 File No. 333-129121 and Form S-3 File No. 333-83952) of our report dated March 3, 2006 with respect to the consolidated financial statements of Magellan Midstream Partners, L.P, our report dated March 8, 2006 with respect to Magellan Midstream Partners, L.P. managements assessment of internal control over financial reporting, and the effectiveness of internal control over financial reporting of Magellan Midstream Partners, L.P., and of our report dated March 8, 2006 with respect to the consolidated balance sheets of Magellan GP, LLC, all of which are included in this Annual Report (Form 10-K) for the year ended December 31, 2005.
/s/ Ernst & Young LLP
Tulsa, Oklahoma
March 8, 2006