The Olten–Lucerne railway line was built by the Schweizerische Centralbahn (SCB). The line section Olten-Emmenbrücke was opened in 1856. The SCB was taken over by the Swiss Federal Railways (SBB) in 1902. In 1929, the section Rothenburg-Emmenbrücke was duplicated.