EX-23 6 dex23.htm CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM Consent of Independent Registered Public Accounting Firm

Exhibit 23

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in the following Registration Statements:

 

  (1) Registration Statement (Form S-3 No. 333-137166) of Magellan Midstream Partners, L.P.;

 

  (2) Registration Statement (Form S-3 No. 333-129121) of Magellan Midstream Partners, L.P.; and

 

  (3) 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;

of our report dated February 26, 2007, with respect to the consolidated financial statements of Magellan Midstream Partners, L.P., our report dated February 26, 2007, with respect to Magellan Midstream Partners, L.P.’s management’s assessment of the effectiveness of internal control over financial reporting and the effectiveness of internal control over financial reporting of Magellan Midstream Partners, L.P., and our report dated February 26, 2007 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, 2006.

/s/ Ernst & Young LLP

Tulsa, Oklahoma

February 26, 2007