The Heitersberg railway line (Heitersbergstrecke) is a Swiss railway line between the stations of Killwangen-Spreitenbach and Aarau on the east-west main line between Zürich and Bern. The main structure of the line is the 4,929-metre-long (3.063 mi) Heitersberg Tunnel, which has its west portal near Mellingen and its east portal near Killwangen.
The line was built in the 1970s as part of the planned New Main Transversal (Neue Haupttransversale, NHT) project. It was opened on 1 June 1975[2] and handed over for scheduled operations on 22 May 1975.
Thanks to the new direct line, including the tunnel, which allows speeds of 140 km/h, the running time between Zürich and Bern has been reduced by 20 minutes, partly as a result of the building of other structures such as the Grauholz Tunnel near Bern.
In December 2023 a new connecting track was completed between Mägenwil and the Brugg–Hendschiken line, enabling direct access to Birr. This line will be used by freight traffic and enable more frequent service on the S11 between Mägenwil and Aarau.[7]