EX-23 2 capbldr2022ex23.htm 2022 EX-23 CAPITAL BUILDER PLAN Document

EXHIBIT 23

Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the Registration Statements (Forms S-8 No. 33-29136 and No. 333-160652) pertaining to the CSX Corporation Capital Builder Plan of our report dated June 27, 2023, with respect to the financial statements and supplemental schedule of the CSX Corporation Capital Builder Plan included in this Annual Report (Form 11-K) for the year ended December 31, 2022.

/s/ Ernst & Young LLP
Jacksonville, Florida
June 27, 2023
I-1