The Hanover Branch Railroad Company was a railroad that operated in Pennsylvania in the mid-19th century. The company was incorporated on March 16, 1847, and began operating trains in 1852. It represents the oldest portion of the Western Maryland Railway. It extended from the connection with the Baltimore & Susquehanna Railroad (later to become the Northern Central Railway, and then in 1911, the Pennsylvania Railroad) at Hanover Junction, Pennsylvania, to Hanover.