The Hanover Junction, Hanover and Gettysburg Railroad was a railroad line in Pennsylvania in the 19th century. The 38 mile (61 km) main line ran from Orrtanna to Hanover Junction, where it connected with the Northern Central Railway. Connections along the main line were to the Gettysburg and Harrisburg Railroad, the Bachman Valley Railroad, and the Pennsylvania Railroad.