The Keystone Corridor is a 349-mile (562Â km) railroad corridor between Philadelphia and Pittsburgh, Pennsylvania, that consists of two rail lines: Amtrak and SEPTA's Philadelphia-to-Harrisburg main line, which hosts SEPTA's Paoli/Thorndale Line commuter rail service, and Amtrak's Keystone Service and Pennsylvanian inter-city trains; and the Norfolk Southern Pittsburgh Line. The corridor was originally the Main Line of the Pennsylvania Railroad.
Amtrak runs two intercity rail services along the Keystone Corridor: the Harrisburg-to-New York City Keystone Service and the Pittsburgh-to-New York City Pennsylvanian. SEPTA operates daily Paoli/Thorndale commuter rail service between Philadelphia and Thorndale on the Philadelphia-to-Harrisburg main line. The towns along this stretch form a socio-cultural region called the "Philadelphia Main Line".