The Capital Subdivision is a railroad line owned and operated by CSX Transportation in the U.S. state of Maryland and the District of Columbia. The line runs from near Baltimore, Maryland, southwest to Washington, D.C., along the former Baltimore and Ohio Rail Road (B&O) Washington Branch. The subdivision's Alexandria Extension provides a connection to Virginia and points south.