XML 54 R41.htm IDEA: XBRL DOCUMENT
v3.22.2

Stock Plans and Share-Based Compensation - Shares Issued Under Employee Stock Purchase Plan (Details) - ESPP - Employee Stock Purchase Plan - $ / shares shares in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Jun. 30, 2022 | Jun. 30, 2021 | Jun. 30, 2022 | Jun. 30, 2021
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Shares issued (in shares) | 0 | 0 | 326 | 396
Weighted average purchase price per share (in dollars per share) |  |  | $ 27.44 | $ 19.33

X
- Definition Share-based Compensation Arrangement by Share-based Payment Award, Per Share Weighted Average Price of Shares Issued + References No definition available. + Details
Name: | csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerShareWeightedAveragePriceOfSharesIssued
Namespace Prefix: | csx_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares issued under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesIssuedInPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_PlanNameAxis=csx_EmployeeStockPurchasePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |