    <SEC-DOCUMENT>0000277948-23-000026-index.html : 20230420
    <SEC-HEADER>0000277948-23-000026.hdr.sgml : 20230420
    <ACCEPTANCE-DATETIME>20230420160146
    ACCESSION NUMBER:		0000277948-23-000026
    CONFORMED SUBMISSION TYPE:	8-K
    PUBLIC DOCUMENT COUNT:		18
    CONFORMED PERIOD OF REPORT:	20230420
    ITEM INFORMATION:		Results of Operations and Financial Condition
    ITEM INFORMATION:		Financial Statements and Exhibits
    FILED AS OF DATE:		20230420
    DATE AS OF CHANGE:		20230420

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			CSX CORP
    		CENTRAL INDEX KEY:			0000277948
    		STANDARD INDUSTRIAL CLASSIFICATION:	RAILROADS, LINE-HAUL OPERATING [4011]
    		IRS NUMBER:				621051971
    		STATE OF INCORPORATION:			VA
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		8-K
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-08022
    		FILM NUMBER:		23833085

    	BUSINESS ADDRESS:
    		STREET 1:		500 WATER STREET
    		STREET 2:		15TH FLOOR
    		CITY:			JACKSONVILLE
    		STATE:			FL
    		ZIP:			32202
    		BUSINESS PHONE:		9043593200

    	MAIL ADDRESS:
    		STREET 1:		500 WATER STREET
    		STREET 2:		15TH FLOOR
    		CITY:			JACKSONVILLE
    		STATE:			FL
    		ZIP:			32202
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>csx-20230420.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: csx-20230420.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.1
    <SEQUENCE>2
    <FILENAME>pressrelease_q12023.htm
    <DESCRIPTION>EX-99.1 PRESS RELEASE
    <TEXT>
    Document 2 - file: pressrelease_q12023.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.2
    <SEQUENCE>3
    <FILENAME>qfr_q12023.htm
    <DESCRIPTION>EX-99.2 QFR
    <TEXT>
    Document 3 - file: qfr_q12023.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>4
    <FILENAME>csx-20230420.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT
    <TEXT>
    Document 4 - file: csx-20230420.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.LAB
    <SEQUENCE>5
    <FILENAME>csx-20230420_lab.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE DOCUMENT
    <TEXT>
    Document 5 - file: csx-20230420_lab.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.PRE
    <SEQUENCE>6
    <FILENAME>csx-20230420_pre.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE DOCUMENT
    <TEXT>
    Document 6 - file: csx-20230420_pre.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>7
    <FILENAME>csx-20230420_g1.jpg
    <TEXT>
    Document 7 - file: csx-20230420_g1.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>image_0.jpg
    <TEXT>
    Document 8 - file: image_0.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>9
    <FILENAME>q12023_financialreportxcvra.jpg
    <TEXT>
    Document 9 - file: q12023_financialreportxcvra.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>qfr_headera.jpg
    <TEXT>
    Document 10 - file: qfr_headera.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>11
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 11 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>12
    <FILENAME>csx-20230420_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 12 - file: csx-20230420_htm.html

    Document 12 - RAW XML: csx-20230420_htm.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EXCEL
    <SEQUENCE>13
    <FILENAME>Financial_Report.xlsx
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 13 - file: Financial_Report.xlsx

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>14
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 14 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>15
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 15 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>16
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 16 - file: FilingSummary.html

    Document 16 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>18
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 18 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>19
    <FILENAME>0000277948-23-000026-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 19 - file: 0000277948-23-000026-xbrl.zip

    </DOCUMENT>
    </SEC-DOCUMENT>