The construction and operation of Swiss railways during the 19th century was carried out by private railways. The first internal line was a 16 km line opened from Zürich to Baden in 1847. By 1860 railways connected western and northeastern Switzerland. The first Alpine railway to be opened was under the Gotthard Pass in 1882. A second alpine line was opened under the Simplon Pass in 1906.
In 1901, the major railways were nationalised to form Swiss Federal Railways. During the first half of the twentieth century they were electrified and slowly upgraded. After the Second World War, rail rapidly lost its share of the rail market to road transport as car ownership rose and more roads were built. From 1970, the Federal Government has become more involved in upgrading the railways, especially in urban areas and on trunk routes under the Rail 2000 project. In addition, two major trans-alpine routes—the Gotthard Railway and the Lötschberg approach to the Simplon Tunnel—were rebuilt under the NRLA project.
Origins In 1833 the Grand Duchy of Baden developed plans for a railway connecting the cities Mainz and Frankfurt with Basel and onwards to Chur and Northern Italy. The first line in Switzerland, the extension of the French Strasbourg–Basel Railway () from Mulhouse to Basel, reached a temporary station outside Basel's walls on 15 June 1844 and the permanent station on 11 December 1845. (The Chemins de fer de l'Est took over the company in 1854.) Addressing Swiss worries over French influence due to a locomotives name Napoleon, the Alsacians purchased a separate locomotive called City of Basel () for their access to Basel. The Grand Duchy of Baden State Railway's Rhine Valley Line reached the original Basel Baden railway station in 1855. Despite constant discussion, it took some time before these lines were extended into Switzerland.
Early railways The first internal Swiss line, the 16 km long Swiss Northern Railway (, SNB) opened from Zürich to Baden in 1847. Private companies—led by Swiss entrepreneurs, industrialists and bankers—built the next wave of railways. In 1850 the Swiss Federal Council invited two British engineers, Robert Stephenson and Henry Swinburne, to draw up plans for a railway network for the Swiss Confederation. They proposed a 645 km network along the valleys, avoiding any Alpine crossings, all of which was eventually built.
Although the Constitution of 1848 gave the federal government powers in relation to railways, it initially decided to decentralise rail policy. The first Railway Act of 1852 gave responsibility for administering policy in relation to the construction and operation of railways to the cantons, including licensing of companies, coordination of lines, technical specifications and pricing policy. Railways were to be built by private limited-liability companies, with contributions to be provided by the municipalities and cantons that stood to benefit from projects. Despite the lack of overall planning and the rivalry among the companies, a rail network similar to that proposed by Stephenson and Swinburne soon formed in northern and western Switzerland, with the completion of a link from the French border in the far west near Geneva to the Austrian border in the far northeast at St. Margrethen on 10 December 1860.
In 1853 the Swiss Central Railway (, SCB) began to build the Basel-Olten line through the Hauenstein pass, with branches from Olten to Aarau, Lucerne, Bern and Thun and from Herzogenbuchsee to Solothurn and Biel. At the same time the Swiss Northeastern Railway (, NOB) concentrated on eastern Switzerland in the cantons of Zürich and Thurgau; its network covered the lines from Zürich to Lake Constance and to Schaffhausen and later to Lucerne. The United Swiss Railways (VSB) built lines from Winterthur to Rorschach and from Wallisellen to Rapperswil, Sargans and Chur. There were contracts for sharing the interlinked VSB line between Weesen and Glarus and the NOB line between Ziegelbrücke, Näfels, Glarus and Linthal.
During the same period, railways were built in western Switzerland along Lake Geneva from Geneva to Lausanne and Bex and from Morges to Yverdon. A steamship connected Geneva with the line from Le Bouveret to Martigny. The main developer in the inner part of Vaud was the West Switzerland Company (, OS) and in the Valais the Company of the Line of Italy (, absorbed by the Simplon Company () in 1874). The Jura–Neuchâtel Railway emerged from lines from Le Locle and Les Verrières along Lake Neuchâtel to La Neuveville.
The Canton of Fribourg delayed the construction of the line from Bern to Lausanne in a bid to have it run through the city of Fribourg rather than on flatter land further west; in 1857, the Swiss government, the canton of Vaud and the West Switzerland Company gave in, allowing construction to commence on the line, which opened in 1862. The Canton of Bern attempted to make its own policy in relation to its railways. At the initiative of its Federal politician Jakob Stämpfli the Swiss East–West Railway ( , OWB) started building a line in 1857—to compete with the Swiss Central Railway—between La Neuveville (on Lake Biel) and Zürich via Bern, Langnau im Emmental, Luzern and Zug, but without raising sufficient finance to guarantee its completion. In June 1861 it went bankrupt; the Canton of Bern took over the completed section from La Neuveville and Langnau and incorporated it as the Bern State Railway (, BSB), which continued building the line to Lucerne. The missing section from Langnau to Entlebuch and Lucerne was not completed until 1875. The concession for the Zürich–Lucerne line via Affoltern am Albis was taken over by the Zürich–Zug–Lucerne Railway (, ZZL), a subsidiary of the NOB.
Financial difficulties led to a series of mergers and increased foreign investment in the rail companies. French investment in Switzerland was also stimulated by an interest in Alpine crossings. Many of the original companies merged with the Swiss Northeastern Railway () and with the United Swiss Railways (, VSB) in the east and with the Jura–Simplon Railway (, JS) in the west. Despite the financial difficulties, by 1860 a continuous line extended from Geneva to Lake Constance, and by 1870 other main routes were completed. Steamers connected to the railways across several major lakes: Geneva, Neuchâtel, Thun, Lucerne, and Constance. Connections to the networks of neighboring countries occurred at Romanshorn (by train ferries to Lindau and Friedrichshafen), at Basel by rail to the Baden Mainline and to the French Chemins de fer de l'Est, at Schaffhausen to the Baden Mainline and at Les Verrières to the line to Pontarlier and Paris.
1870–1902 The Franco-Prussian War (1870–71) showed up problems of the private railway to cope with the need to move troops quickly, leading to the second Railway Act of 1872. This transferred control of construction, operation, tariffs and accounting of the railways and the licensing of railway companies from the cantons to the federal government. The possibility of federal government nationalisation of the railways also became part of the political agenda.
Johann Jakob Sulzer (1806–1883), a Democratic Party politician from Winterthur, founded the Lake Constance–Lake Geneva Railway (), later renamed the Swiss National Railway (, SNB) to overcome shortcomings of the existing railways in providing an adequate and co-ordinated network. It planned to build a line from Lake Constance and Singen to Lausanne via Winterthur, Aargau, Solothurn, Lyss, Murten and Payerne. Construction started in 1875 but it went bankrupt in 1878 and its assets were acquired by the NOB and SCB.
Alpine railways
Before the construction of the Gotthard Railway there were no north-south rail connections to Italy. The railroad lines ended at the foot of the Alps—the VSB reached Chur in 1858, the SCB reached Lucerne and Thun in 1859, and in 1878 the Simplon Railway (part of the Western Switzerland–Simplon Company from 1881) reached Brig. The Swiss railway companies and regions competed to build a railway though various Swiss Alpine passes: the Lukmanier, the Splügen, the Gotthard and the Simplon. In view of the completion of the Brenner Railway to the east in 1867 and the commencement of construction of the Fréjus railway line in 1857 (completed in 1871) in the west, it was decided to build the Gotthard railway and contracts were signed with Swiss, German and Italian contractors in 1869. Despite financial difficulties the line was opened in 1882.
In 1878, the Swiss approved in a referendum federal subsidies for an eastern and a western Alpine rail crossing. In 1913 a western Alps was completed, the Lötschberg railway line, but it was not a federal project, but instead it was an initiative of the canton of Bern. No eastern rail crossing has ever been built. Instead the Rhaetian Railway (RhB) opened the Albula line in 1903 and the Bernina Railway completed the Bernina line in 1910, providing a link to Italy. These lines were initially built for tourists, but they were later also used for freight.
Branch lines
In the 1870s, branch lines began to be built. Two-thirds of them were built as narrow gauge lines to reduce costs. Fifty branch lines were built in the period from 1874 to 1877, including the Gäu Railway (German: Gäubahn) between Solothurn and Olten (completed in 1876) and the Broye valley lines near Freiburg (1877), both originally planned by the SNB. Also built during this period were the Emmental railway (German: Emmentalbahn) from Solothurn to Burgdorf and Langnau im Emmental (opened 1875-81) and the Wädenswil–Einsiedeln railway ("pilgrim railway", opened 1877). Also opened between 1874 and 1881 was the Aargau Southern Railway, from Rupperswil to Rotkreuz, which later became a freight feeder line to the Gotthard railway. The Lake Constance–Toggenburg Railway (from Romanshorn to Nesslau and Swiss Southeastern Railway () connected the east-central to southern Switzerland.
The Railway Act of 1852 mandated . The reform of 1872 allowed local and mountain railways to be built with different gauges. The Swiss Company for Local Railways planned a narrow gauge network in the Alpine region, but only succeeded in building the Appenzeller Bahn (Appenzell Railway) because of financial problems. In the Jura region of the Canton of Bern, the Jura Bernois Railway (JB) constructed a railway with massive financial assistance from the Canton of Bern. Between 1873 and 1877, the Jura line with the main railway line between Delle and Basel and the lines from Biel to Sonceboz-Sombeval and Delémont and La Chaux-de-Fonds were built. In the 1880s, narrow gauge lines were built to isolated factories and villages in Vaud and the Jura region.
By 1880, railways had been built in the Alpine regions to a few valleys and tourist areas. In the Graubünden, the Rhaetian Railway (RhB), founded in 1889, had developed lines by the outbreak of World War I along the valleys of the Hinterrhein, Vorderrhein, the Albula, the Engadine and the Poschiavo. In the Bernese Oberland, railways were built to connect to the tourist region around Lake Thun. Narrow gauge lines were built in the western Alps, such as the Montreux–Lenk im Simmental line, the Furka Oberalp Bahn (FO) and the Gruyère-Fribourg-Morat Railway (GFM). The tourist-oriented Domodossola–Locarno line—also called the (Italian for "100 valleys") railway—was completed in 1923, connecting Ticino and the Valais via Italy.
Early twentieth century
Nationalisation