XML 45 R32.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Nature of Operations and Significant Accounting Policies - Narrative (Details) mi in Thousands | Jun. 30, 2024 state mi
--- | ---
Organization, Consolidation and Presentation of Financial Statements [Abstract] |
Rail route network, distance | mi | 20
Number of states rail network serves | state | 26

X
- Definition Rail Route Network, Distance + References No definition available. + Details
Name: | csx_RailRouteNetworkDistance
Namespace Prefix: | csx_
Data Type: | dtr-types1:lengthItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of states the entity operates in as of the balance sheet date. + References No definition available. + Details
Name: | us-gaap_NumberOfStatesInWhichEntityOperates
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration