<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e03dc-5507-7f45-b951-0d9d22ecae36,g:54ae101d-ac40-48b0-a514-870a05715f4f-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:csx="http://www.csx.com/20260630" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.csx.com/20260630">
  <xs:import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="csx-20260630_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="csx-20260630_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="csx-20260630_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="csx-20260630_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://www.csx.com/role/Cover">
        <link:definition>0000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDINCOMESTATEMENTSUnaudited" roleURI="http://www.csx.com/role/CONSOLIDATEDINCOMESTATEMENTSUnaudited">
        <link:definition>9952151 - Statement - CONSOLIDATED INCOME STATEMENTS (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDCOMPREHENSIVEINCOMESTATEMENTSUnaudited" roleURI="http://www.csx.com/role/CONDENSEDCONSOLIDATEDCOMPREHENSIVEINCOMESTATEMENTSUnaudited">
        <link:definition>9952152 - Statement - CONDENSED CONSOLIDATED COMPREHENSIVE INCOME STATEMENTS (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETS" roleURI="http://www.csx.com/role/CONSOLIDATEDBALANCESHEETS">
        <link:definition>9952153 - Statement - CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://www.csx.com/role/CONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>9952154 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDCASHFLOWSTATEMENTSUnaudited" roleURI="http://www.csx.com/role/CONSOLIDATEDCASHFLOWSTATEMENTSUnaudited">
        <link:definition>9952155 - Statement - CONSOLIDATED CASH FLOW STATEMENTS (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUnaudited" roleURI="http://www.csx.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUnaudited">
        <link:definition>9952156 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUnauditedParenthetical" roleURI="http://www.csx.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINSHAREHOLDERSEQUITYUnauditedParenthetical">
        <link:definition>9952157 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofOperationsandSignificantAccountingPolicies" roleURI="http://www.csx.com/role/NatureofOperationsandSignificantAccountingPolicies">
        <link:definition>9952158 - Disclosure - Nature of Operations and Significant Accounting Policies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShare" roleURI="http://www.csx.com/role/EarningsPerShare">
        <link:definition>9952159 - Disclosure - Earnings Per Share</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockPlansandShareBasedCompensation" roleURI="http://www.csx.com/role/StockPlansandShareBasedCompensation">
        <link:definition>9952160 - Disclosure - Stock Plans and Share-Based Compensation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CasualtyEnvironmentalandOtherReserves" roleURI="http://www.csx.com/role/CasualtyEnvironmentalandOtherReserves">
        <link:definition>9952161 - Disclosure - Casualty, Environmental and Other Reserves</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingencies" roleURI="http://www.csx.com/role/CommitmentsandContingencies">
        <link:definition>9952162 - Disclosure - Commitments and Contingencies</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlans" roleURI="http://www.csx.com/role/EmployeeBenefitPlans">
        <link:definition>9952163 - Disclosure - Employee Benefit Plans</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreements" roleURI="http://www.csx.com/role/DebtandCreditAgreements">
        <link:definition>9952164 - Disclosure - Debt and Credit Agreements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Revenues" roleURI="http://www.csx.com/role/Revenues">
        <link:definition>9952165 - Disclosure - Revenues</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurements" roleURI="http://www.csx.com/role/FairValueMeasurements">
        <link:definition>9952166 - Disclosure - Fair Value Measurements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLoss" roleURI="http://www.csx.com/role/OtherComprehensiveIncomeLoss">
        <link:definition>9952167 - Disclosure - Other Comprehensive Income (Loss)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingandSignificantExpenses" roleURI="http://www.csx.com/role/SegmentReportingandSignificantExpenses">
        <link:definition>9952168 - Disclosure - Segment Reporting and Significant Expenses</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofOperationsandSignificantAccountingPoliciesPolicies" roleURI="http://www.csx.com/role/NatureofOperationsandSignificantAccountingPoliciesPolicies">
        <link:definition>9955511 - Disclosure - Nature of Operations and Significant Accounting Policies (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareTables" roleURI="http://www.csx.com/role/EarningsPerShareTables">
        <link:definition>9955512 - Disclosure - Earnings Per Share (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockPlansandShareBasedCompensationTables" roleURI="http://www.csx.com/role/StockPlansandShareBasedCompensationTables">
        <link:definition>9955513 - Disclosure - Stock Plans and Share-Based Compensation (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CasualtyEnvironmentalandOtherReservesTables" roleURI="http://www.csx.com/role/CasualtyEnvironmentalandOtherReservesTables">
        <link:definition>9955514 - Disclosure - Casualty, Environmental and Other Reserves (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlansTables" roleURI="http://www.csx.com/role/EmployeeBenefitPlansTables">
        <link:definition>9955515 - Disclosure - Employee Benefit Plans (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreementsTables" roleURI="http://www.csx.com/role/DebtandCreditAgreementsTables">
        <link:definition>9955516 - Disclosure - Debt and Credit Agreements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuesTables" roleURI="http://www.csx.com/role/RevenuesTables">
        <link:definition>9955517 - Disclosure - Revenues (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsTables" roleURI="http://www.csx.com/role/FairValueMeasurementsTables">
        <link:definition>9955518 - Disclosure - Fair Value Measurements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLossTables" roleURI="http://www.csx.com/role/OtherComprehensiveIncomeLossTables">
        <link:definition>9955519 - Disclosure - Other Comprehensive Income (Loss) (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingandSignificantExpensesTables" roleURI="http://www.csx.com/role/SegmentReportingandSignificantExpensesTables">
        <link:definition>9955520 - Disclosure - Segment Reporting and Significant Expenses (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NatureofOperationsandSignificantAccountingPoliciesDetails" roleURI="http://www.csx.com/role/NatureofOperationsandSignificantAccountingPoliciesDetails">
        <link:definition>9955521 - Disclosure - Nature of Operations and Significant Accounting Policies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareScheduleofComputationofBasicandDilutedEarningsperShareDetails" roleURI="http://www.csx.com/role/EarningsPerShareScheduleofComputationofBasicandDilutedEarningsperShareDetails">
        <link:definition>9955522 - Disclosure - Earnings Per Share - Schedule of Computation of Basic and Diluted Earnings per Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareScheduleofTotalAverageOutstandingStockOptionsExcludedfromDilutedEarningsPerShareCalculationDetails" roleURI="http://www.csx.com/role/EarningsPerShareScheduleofTotalAverageOutstandingStockOptionsExcludedfromDilutedEarningsPerShareCalculationDetails">
        <link:definition>9955523 - Disclosure - Earnings Per Share - Schedule of Total Average Outstanding Stock Options Excluded from Diluted Earnings Per Share Calculation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareNarrativeDetails" roleURI="http://www.csx.com/role/EarningsPerShareNarrativeDetails">
        <link:definition>9955524 - Disclosure - Earnings Per Share - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EarningsPerShareScheduleofShareRepurchaseActivityDetails" roleURI="http://www.csx.com/role/EarningsPerShareScheduleofShareRepurchaseActivityDetails">
        <link:definition>9955525 - Disclosure - Earnings Per Share - Schedule of Share Repurchase Activity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockPlansandShareBasedCompensationScheduleofShareBasedCompensationandRelatedIncomeTaxBenefitDetails" roleURI="http://www.csx.com/role/StockPlansandShareBasedCompensationScheduleofShareBasedCompensationandRelatedIncomeTaxBenefitDetails">
        <link:definition>9955526 - Disclosure - Stock Plans and Share-Based Compensation - Schedule of Share-Based Compensation and Related Income Tax Benefit (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockPlansandShareBasedCompensationScheduleofShareBasedCompensationArrangementsbyShareBasedPaymentAwardDetails" roleURI="http://www.csx.com/role/StockPlansandShareBasedCompensationScheduleofShareBasedCompensationArrangementsbyShareBasedPaymentAwardDetails">
        <link:definition>9955527 - Disclosure - Stock Plans and Share-Based Compensation - Schedule of Share-Based Compensation Arrangements by Share-Based Payment Award (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="StockPlansandShareBasedCompensationNarrativeDetails" roleURI="http://www.csx.com/role/StockPlansandShareBasedCompensationNarrativeDetails">
        <link:definition>9955528 - Disclosure - Stock Plans and Share-Based Compensation - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CasualtyEnvironmentalandOtherReservesScheduleofBalanceSheetPresentationDetails" roleURI="http://www.csx.com/role/CasualtyEnvironmentalandOtherReservesScheduleofBalanceSheetPresentationDetails">
        <link:definition>9955529 - Disclosure - Casualty, Environmental and Other Reserves - Schedule of Balance Sheet Presentation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CasualtyEnvironmentalandOtherReservesNarrativeDetails" roleURI="http://www.csx.com/role/CasualtyEnvironmentalandOtherReservesNarrativeDetails">
        <link:definition>9955530 - Disclosure - Casualty, Environmental and Other Reserves - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CommitmentsandContingenciesDetails" roleURI="http://www.csx.com/role/CommitmentsandContingenciesDetails">
        <link:definition>9955531 - Disclosure - Commitments and Contingencies (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlansScheduleofComponentsofNetPeriodicBenefitCostsDetails" roleURI="http://www.csx.com/role/EmployeeBenefitPlansScheduleofComponentsofNetPeriodicBenefitCostsDetails">
        <link:definition>9955532 - Disclosure - Employee Benefit Plans - Schedule of Components of Net Periodic Benefit Costs (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EmployeeBenefitPlansNarrativeDetails" roleURI="http://www.csx.com/role/EmployeeBenefitPlansNarrativeDetails">
        <link:definition>9955533 - Disclosure - Employee Benefit Plans - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreementsScheduleofActivityRelatedtoLongTermDebtDetails" roleURI="http://www.csx.com/role/DebtandCreditAgreementsScheduleofActivityRelatedtoLongTermDebtDetails">
        <link:definition>9955534 - Disclosure - Debt and Credit Agreements - Schedule of Activity Related to Long-Term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreementsNarrativeDetails" roleURI="http://www.csx.com/role/DebtandCreditAgreementsNarrativeDetails">
        <link:definition>9955535 - Disclosure - Debt and Credit Agreements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreementsScheduleofInterestRateDerivativesDetails" roleURI="http://www.csx.com/role/DebtandCreditAgreementsScheduleofInterestRateDerivativesDetails">
        <link:definition>9955536 - Disclosure - Debt and Credit Agreements - Schedule of Interest Rate Derivatives (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="DebtandCreditAgreementsScheduleofInterestExpenseDetails" roleURI="http://www.csx.com/role/DebtandCreditAgreementsScheduleofInterestExpenseDetails">
        <link:definition>9955537 - Disclosure - Debt and Credit Agreements - Schedule of Interest Expense (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuesScheduleofRevenuesDisaggregatedbyLinesofBusinessDetails" roleURI="http://www.csx.com/role/RevenuesScheduleofRevenuesDisaggregatedbyLinesofBusinessDetails">
        <link:definition>9955538 - Disclosure - Revenues - Schedule of Revenues Disaggregated by Lines of Business (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RevenuesScheduleofAccountsReceivableNetDetails" roleURI="http://www.csx.com/role/RevenuesScheduleofAccountsReceivableNetDetails">
        <link:definition>9955539 - Disclosure - Revenues - Schedule of Accounts Receivable, Net (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsScheduleofFairValueofInvestmentAssetsDetails" roleURI="http://www.csx.com/role/FairValueMeasurementsScheduleofFairValueofInvestmentAssetsDetails">
        <link:definition>9955540 - Disclosure - Fair Value Measurements - Schedule of Fair Value of Investment Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsNarrativeDetails" roleURI="http://www.csx.com/role/FairValueMeasurementsNarrativeDetails">
        <link:definition>9955541 - Disclosure - Fair Value Measurements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsScheduleofInvestmentMaturitiesDetails" roleURI="http://www.csx.com/role/FairValueMeasurementsScheduleofInvestmentMaturitiesDetails">
        <link:definition>9955542 - Disclosure - Fair Value Measurements - Schedule of Investment Maturities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueMeasurementsScheduleofFairValueandCarryingValueofLongTermDebtDetails" roleURI="http://www.csx.com/role/FairValueMeasurementsScheduleofFairValueandCarryingValueofLongTermDebtDetails">
        <link:definition>9955543 - Disclosure - Fair Value Measurements - Schedule of Fair Value and Carrying Value of Long-Term Debt (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLossNarrativeDetails" roleURI="http://www.csx.com/role/OtherComprehensiveIncomeLossNarrativeDetails">
        <link:definition>9955544 - Disclosure - Other Comprehensive Income (Loss) - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="OtherComprehensiveIncomeLossScheduleofChangesinAOCIbalancebyComponentsDetails" roleURI="http://www.csx.com/role/OtherComprehensiveIncomeLossScheduleofChangesinAOCIbalancebyComponentsDetails">
        <link:definition>9955545 - Disclosure - Other Comprehensive Income (Loss) - Schedule of Changes in AOCI balance by Components (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingandSignificantExpensesNarrativeDetails" roleURI="http://www.csx.com/role/SegmentReportingandSignificantExpensesNarrativeDetails">
        <link:definition>9955546 - Disclosure - Segment Reporting and Significant Expenses- Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingandSignificantExpensesScheduleofSegmentReportingInformationDetails" roleURI="http://www.csx.com/role/SegmentReportingandSignificantExpensesScheduleofSegmentReportingInformationDetails">
        <link:definition>9955547 - Disclosure - Segment Reporting and Significant Expenses- Schedule of Segment Reporting Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="csx_EquipmentAndOtherRents" abstract="false" name="EquipmentAndOtherRents" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_StockRepurchasedAndRetiredDuringPeriodValueExciseTax" abstract="false" name="StockRepurchasedAndRetiredDuringPeriodValueExciseTax" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodAndOther" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodAndOther" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="csx_StockIssuedDuringPeriodValueStockOptionsExercisedAndOther" abstract="false" name="StockIssuedDuringPeriodValueStockOptionsExercisedAndOther" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_CasualtyEnvironmentalAndOtherReservesAbstract" abstract="true" name="CasualtyEnvironmentalAndOtherReservesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="csx_CasualtyEnvironmentalAndOtherLossReservesDisclosureTextBlock" abstract="false" name="CasualtyEnvironmentalAndOtherLossReservesDisclosureTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="csx_RailRouteNetworkDistance" abstract="false" name="RailRouteNetworkDistance" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:lengthItemType"/>
  <xs:element id="csx_ShareRepurchaseProgramOctober2023May2026Member" abstract="true" name="ShareRepurchaseProgramOctober2023May2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ShareRepurchaseProgramOctober2023Member" abstract="true" name="ShareRepurchaseProgramOctober2023Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ShareRepurchaseProgramMay2026Member" abstract="true" name="ShareRepurchaseProgramMay2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_CommonStockDividendRateIncreasePercentage" abstract="false" name="CommonStockDividendRateIncreasePercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_PaymentsForRepurchaseOfCommonStockExcludingExciseTax" abstract="false" name="PaymentsForRepurchaseOfCommonStockExcludingExciseTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_ExciseTaxesPaidForNetShareRepurchases" abstract="false" name="ExciseTaxesPaidForNetShareRepurchases" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_DirectorStockAwardsMember" abstract="true" name="DirectorStockAwardsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_LongtermIncentivePlanMember" abstract="true" name="LongtermIncentivePlanMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsReturnOnInvestedCapitalWeight" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsReturnOnInvestedCapitalWeight" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsRelativeTotalShareholderReturnWeight" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsRelativeTotalShareholderReturnWeight" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPayoutPercentageGrantValue" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsPayoutPercentageGrantValue" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumReturnOnInvestedCapitalWeight" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumReturnOnInvestedCapitalWeight" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumRelativeTotalShareholderReturnWeight" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumRelativeTotalShareholderReturnWeight" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumPayoutPercentage" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsMaximumPayoutPercentage" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="csx_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfEquivalentSharesOfCommonStockPerUnit" abstract="false" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfEquivalentSharesOfCommonStockPerUnit" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:sharesItemType"/>
  <xs:element id="csx_ContingenciesTable" abstract="true" name="ContingenciesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="csx_TotalCasualtyMember" abstract="true" name="TotalCasualtyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_PersonalInjuryCasualtyMember" abstract="true" name="PersonalInjuryCasualtyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_OccupationalCasualtyMember" abstract="true" name="OccupationalCasualtyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_OtherReservesMember" abstract="true" name="OtherReservesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ContingenciesLineItems" abstract="true" name="ContingenciesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="csx_SelfInsuredRetention" abstract="false" name="SelfInsuredRetention" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_LossContingencyNumberOfClaimsExpectedToExceedSelfInsuredRetentionAmount" abstract="false" name="LossContingencyNumberOfClaimsExpectedToExceedSelfInsuredRetentionAmount" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_NumberOfImpairedSites" abstract="false" name="NumberOfImpairedSites" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_FuelSurchargeAntitrustLitigationMember" abstract="true" name="FuelSurchargeAntitrustLitigationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_EnvironmentalLitigationMember" abstract="true" name="EnvironmentalLitigationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_OtherDefendantsMember" abstract="true" name="OtherDefendantsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_OccidentalPetroleumCorporationMember" abstract="true" name="OccidentalPetroleumCorporationMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_CasualtyAndNonCatastrophicPropertyDeductible" abstract="false" name="CasualtyAndNonCatastrophicPropertyDeductible" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_CasualtyAndCatastrophicPropertyDeductible" abstract="false" name="CasualtyAndCatastrophicPropertyDeductible" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_LossContingencyClaimsFiledNumberOfEntities" abstract="false" name="LossContingencyClaimsFiledNumberOfEntities" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_NumberOfMilesPertainingToPassaicRiverTidalReachRequiredToBeStudiedByEnvironmentalProtectionAgency" abstract="false" name="NumberOfMilesPertainingToPassaicRiverTidalReachRequiredToBeStudiedByEnvironmentalProtectionAgency" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:lengthItemType"/>
  <xs:element id="csx_SiteContingencyNumberOfLowerMilesUnderStudy" abstract="false" name="SiteContingencyNumberOfLowerMilesUnderStudy" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:lengthItemType"/>
  <xs:element id="csx_SiteContingencyNumberOfUpperMilesUnderStudy" abstract="false" name="SiteContingencyNumberOfUpperMilesUnderStudy" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:lengthItemType"/>
  <xs:element id="csx_SiteContingencyNumberOfPartiesLiable" abstract="false" name="SiteContingencyNumberOfPartiesLiable" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_SiteContingencyNumberOfPartiesParticipatingInModifiedCD" abstract="false" name="SiteContingencyNumberOfPartiesParticipatingInModifiedCD" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_LossContingencyNumberOfEntities" abstract="false" name="LossContingencyNumberOfEntities" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_DebtTypeAxis" abstract="true" name="DebtTypeAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="csx_DebtTypeDomain" abstract="true" name="DebtTypeDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_CurrentLiabilitiesMember" abstract="true" name="CurrentLiabilitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_LongTermLiabilitiesMember" abstract="true" name="LongTermLiabilitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_MovementDebtInstrumentsRollForward" abstract="true" name="MovementDebtInstrumentsRollForward" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="csx_LongTermDebtIncreaseDecreaseDueToReclassifications" abstract="false" name="LongTermDebtIncreaseDecreaseDueToReclassifications" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_TwoSeparateFixedToFloatingInterestRateSwapsDue2055Member" abstract="true" name="TwoSeparateFixedToFloatingInterestRateSwapsDue2055Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_SevenFixedToFloatingInterestRateSwapsMember" abstract="true" name="SevenFixedToFloatingInterestRateSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_A325NotesDue2027Member" abstract="true" name="A325NotesDue2027Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_UnsecuredRevolvingCreditFacilityDue2028Member" abstract="true" name="UnsecuredRevolvingCreditFacilityDue2028Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_TwoSeparateFixedToFloatingInterestRateSwapsMember" abstract="true" name="TwoSeparateFixedToFloatingInterestRateSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FiveSeparateFixedToFloatingInterestRateSwapsMember" abstract="true" name="FiveSeparateFixedToFloatingInterestRateSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_TwoSeparateFixedToFloatingInterestRateSwapsDue2032Member" abstract="true" name="TwoSeparateFixedToFloatingInterestRateSwapsDue2032Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_DerivativeNumberOfFairValueHedges" abstract="false" name="DerivativeNumberOfFairValueHedges" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="csx_DerivativeInstrumentPeriodFollowingDebtMaturityHedgedTransaction" abstract="false" name="DerivativeInstrumentPeriodFollowingDebtMaturityHedgedTransaction" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="csx_DerivativeAssetUnsettledNotionalAmount" abstract="false" name="DerivativeAssetUnsettledNotionalAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_FixedRateNotesDueBetween2036And2040Member" abstract="true" name="FixedRateNotesDueBetween2036And2040Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FixedToFloatingInterestRateSwapMember" abstract="true" name="FixedToFloatingInterestRateSwapMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_TotalMerchandiseMember" abstract="true" name="TotalMerchandiseMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ChemicalsMember" abstract="true" name="ChemicalsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_AgriculturalandFoodProductsMember" abstract="true" name="AgriculturalandFoodProductsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_AutomotiveMember" abstract="true" name="AutomotiveMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_ForestProductsMember" abstract="true" name="ForestProductsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_MetalsandEquipmentMember" abstract="true" name="MetalsandEquipmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_MineralsMember" abstract="true" name="MineralsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FertilizersMember" abstract="true" name="FertilizersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_IntermodalMember" abstract="true" name="IntermodalMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_CoalServicesMember" abstract="true" name="CoalServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_TruckingMember" abstract="true" name="TruckingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_OtherServicesMember" abstract="true" name="OtherServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FreightReceivablesMember" abstract="true" name="FreightReceivablesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_NonFreightReceivablesMember" abstract="true" name="NonFreightReceivablesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FairValueInputsLevel1AndLevel2Member" abstract="true" name="FairValueInputsLevel1AndLevel2Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_A20232025FixedToFloatingInterestRateSwapsMember" abstract="true" name="A20232025FixedToFloatingInterestRateSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_A2022FixedToFloatingInterestRateSwapsMember" abstract="true" name="A2022FixedToFloatingInterestRateSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_InvestmentsMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearFairValue" abstract="false" name="InvestmentsMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_InvestmentsFairValueMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive" abstract="false" name="InvestmentsFairValueMaturityAllocatedAndSingleMaturityDateAfterYearOneThroughFive" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_InvestmentsFairValueMaturityAllocatedAndSingleMaturityDateAfterYear5Through10" abstract="false" name="InvestmentsFairValueMaturityAllocatedAndSingleMaturityDateAfterYear5Through10" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_InvestmentsMaturityAllocatedAndSingleMaturityDateRollingAfter10YearsFairValue" abstract="false" name="InvestmentsMaturityAllocatedAndSingleMaturityDateRollingAfter10YearsFairValue" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="csx_AccumulatedOtherAdjustmentstoParentMember" abstract="true" name="AccumulatedOtherAdjustmentstoParentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_RailSegmentMember" abstract="true" name="RailSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_NumberOfReportableSegmentsNotDisclosedFlag" abstract="false" name="NumberOfReportableSegmentsNotDisclosedFlag" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="csx_TruckingSegmentMember" abstract="true" name="TruckingSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FuelTypeAxis" abstract="true" name="FuelTypeAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="csx_FuelTypeDomain" abstract="true" name="FuelTypeDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FuelLocomotiveMember" abstract="true" name="FuelLocomotiveMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="csx_FuelNonLocomotiveMember" abstract="true" name="FuelNonLocomotiveMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
</xs:schema>
