EX-23.1 6 ex23-1.htm CONSENT OF ERNST & YOUNG LLP Consent of Ernst & Young LLP

Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
 
We consent to the reference to our firm under the caption “Experts” in the Registration Statement (Form S-3) and related Prospectus of CSX Corporation (CSX) for the registration of securities and to the incorporation by reference therein of our reports dated February 13, 2007, with respect to the consolidated financial statements of CSX, CSX management’s assessment of the effectiveness of internal control over financial reporting, and the effectiveness of internal control over financial reporting of CSX included in its Annual Report (Form 10-K) for the fiscal year ended December 29, 2006, filed with the Securities and Exchange Commission.
 
/s/ Ernst & Young LLP
 
Jacksonville, Florida
February 13, 2007