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

    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:		23552499

    	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-20230125.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: csx-20230125.htm

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

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

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

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

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

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

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

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>qfrbannerq12019a07.jpg
    <TEXT>
    Document 10 - file: qfrbannerq12019a07.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-20230125_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 12 - file: csx-20230125_htm.html

    Document 12 - RAW XML: csx-20230125_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-000003-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 19 - file: 0000277948-23-000003-xbrl.zip

    </DOCUMENT>
    </SEC-DOCUMENT>