XML 43 R30.htm IDEA: XBRL DOCUMENT
v3.21.1

Nature of Operations and Significant Accounting Policies (Details) | Mar. 31, 2021 state mi | Nov. 30, 2020 mi
--- | --- | ---
Revenue from External Customer [Line Items] |  |
Total number of rail route miles | 19,500 |
Number of states rail network serves | state | 23 |
Acquisition of Pan-Am | Acquisition of Pan-Am |  |
Revenue from External Customer [Line Items] |  |
Total number of rail route miles |  | 1,200
Number of partial interests in rail route miles (more than) |  | 600

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

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

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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
- Details
Name: | dei_LegalEntityAxis=csx_PanAmSystemsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=csx_PanAmSystemsIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |