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

Regional railways

 * New York, Susquehanna & Western Railway (NYSW), freight

Shortline and terminal railways

 * Allegheny Valley Railroad (AVR), freight
 * East Berlin Railway (EBRY), freight
 * East Penn Railroad (ESPN), freight
 * Middletown & Hummelstown Railroad (MIDH), freight and passenger
 * Union Railroad (URR), freight
 * Upper Merion & Plymouth Railroad (UMP), freight
 * Western New York & Pennsylvania Railroad (WNYP), 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.