The Kanonenbahn (literally "Cannons Railway") is a former German military strategic railway between Berlin and Metz via Güsten, Wetzlar, Koblenz and Trier. Metz is in Alsace-Lorraine, which was annexed by Germany after the Franco-Prussian War.
Other railways, such as the Glan Valley Railway (Glantalbahn), built mainly for military strategic reasons, were also colloquially known as the Kanonenbahn, but the link between Berlin and Metz is the best known of them.
Kanonenbahn is not an official name for the line. There are a number of other names for the line or sections of it:
Four different railway divisions were responsible for the supervision of the construction of sections of the line and used different names for the line. For example, the official tender for construction of the line in Eichsfeld described the line as the Berlin–Coblenz Railway. The initials "BCE" are found on benches and chairs in railway stations and various buildings on the line.
Strategic railways are lines built on military grounds without regard to the economics or the potential civilian traffic on the line in peace times. Certain design parameters such as minimum curve radius, maximum gradient and maximum load had to be met. It was planned as a double-track line with the aim to bypassing urban areas where possible.
The military expressed interest in a continuous railway at an early date. For example, as early as 1855 the private sector lobbied the Prussian Minister of Commerce, Trade and Public Works for a railway through the Moselle valley from Koblenz to Trier. It was claimed that such a line would carry gypsum, slate and iron ore. The president of Rhine Province wrote in response two weeks later on 31 August 1855 that the War Ministry has repeatedly stressed the military importance of a railway from Koblenz to Trier and supported the immediate building of such a line, which would form a natural extension a railway line from Berlin via Halle, Kassel, Gießen, Wetzlar to Koblenz, running to the south western preriphery of the kingdom of Prussia. It would at the same time provide a direct connection between the central Rhine, the most remote part of Prussia, the old Prussian provinces and the centre of the state (Berlin). However, it would be more than 15 years before the project was completed.