Railway companies of Pennsylvania

List of railway companies in the American state of Pennsylvania.

Companies based in the United States

 * Amtrak (AMTK), passenger on freight lines
 * Chesapeake Southern Railway (CHS), freight
 * Conrail (CR), freight and passenger
 * New York Western Railroad (NYW), freight
 * Pennsylvania Seaboard Railroad (PS), freight

Companies based outside of the United States

 * Canadian National Railway (CN), freight

Shortline and terminal railways

 * Allegheny Valley Railroad (AVR), freight

Defunct railways
Years shown here refer to the period in which a given company operated in Pennsylvania; they may have existed elsewhere before or after these years.