Railway companies of Massachusetts

List of railway companies in the American state of Massachusetts.

Companies based in the United States

 * Amtrak (AMTK), passenger on freight lines
 * Conrail (CR), freight and passenger
 * New York Western Railroad (NYW), freight

Companies based outside of the United States

 * Canadian National Railway (CN), freight

Regional railways

 * Providence & Worcester Railroad (PW), freight and passenger

Shortline and terminal railways

 * Bay Colony Railroad (BCLR), freight
 * Connecticut Southern Railroad (CSO), freight
 * East Brookfield & Spencer Railroad (EBSR), terminal
 * Fore River Railroad (FRVT), freight
 * Grafton & Upton Railroad (GU), freight
 * Housatonic Railroad (HSRR), freight and passenger
 * MBTA Commuter Rail (MBTX), passenger
 * Massachusetts Central Railroad (MCER), freight
 * Massachusetts Coastal Railroad (MC), freight and passenger
 * New Hampshire Northcoast Corporation (NHN), freight
 * North Brookfield Railroad (NBFR), freight
 * Pioneer Valley Railroad (PVRR), freight

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