The rail service in Namibia is provided by TransNamib. The Namibian rail network consists of 2,687 km of tracks (2017).
Namibia has a history of more than 100 years of railway service. During the colonialisation by the German Empire between 1894 and 1915, a number of railways were built, of which some are still in service today.[2]
The building of German South West Africa's railways began with a small mining rail line at Cape Cross in 1895. The first major railway project was started in 1897 when the German Colonial Authority built the "Staatsbahn" (state railway) from Swakopmund to Windhoek. By 1902 the line was completed. Parallel to this government initiative the Otavi Mining and Railway Company (O.M.E.G.) was established which built a line from Swakopmund to Tsumeb via Otavi between 1903 and 1906, and a branch from Otavi to Grootfontein in 1907/08.[3]
In 1914 the following railway lines existed:
The German colonial railway was taken over by the Railways of South Africa after World War I, and linked into the network of South Africa. After the independence of Namibia, TransNamib took control of the national rail network that operates on 3 ft 6 in (1,067 mm).
Plans to integrate the railways of Africa to facilitate trade were discussed at the Africa Rail conference in Johannesburg, South Africa in August 2002. The move forms part of the New Partnership for Africa's Development (NEPAD), a programme aimed at economic renaissance.
The railways were built by former colonial powers, but were not built to advance African interests. Plans were put into place to link the three parallel east-west lines in Angola and to connect the Angolan network to that of Namibia and hence to South Africa.
The strategic positioning of Maputo rail and port infrastructure indicated that the network should be promoted as the primary corridor serving Zimbabwe, Zambia, Democratic Republic of Congo, Eswatini, and South Africa's Mpumalanga province.
South Africa's transport minister, Abdulah Omar, said Africa needed to integrate its railway systems to form an internationally-competitive network. Experts said this could involve leasing locomotives and wagons, becoming involved as concessionaires and consultants, and participating in joint ventures.[5]
Namibia's national rail network operates on 3 ft 6 in (1,067 mm).
The railway line from Windhoek to Kranzberg is 210 kilometres (130 mi) long and was completed in 1902.[2]
The railway line from Kranzberg to Walvis Bay is 201 kilometres (125 mi) long. The section between Kranzberg and Swakopmund was completed in 1902. In 1914 an extension to Walvis Bay was commissioned; the rails were laid close to the shore of the Atlantic Ocean. In 1980 this extension was replaced by an alternative route behind the dunes that allowed for higher axle load.[2]
The railway line from Kranzberg to Otavi is 328 kilometres (204 mi) long and was completed in 1906.[2]
The railway line from Otavi to Grootfontein is 91 kilometres (57 mi) long and was completed in 1908.[2]
The railway line from Seeheim to Lüderitz is 318 kilometres (198 mi) long. The connection between Lüderitz and Aus was completed in 1906, and the extension to Seeheim was completed in 1908.[2] The service between Aus and Lüderitz was decommissioned in 1997, due to poor track condition, and there is no regular passenger service between Seeheim and Aus.
The line to Lüderitz was rehabilitated in the 2010s and was scheduled for reopening in 2017. Test trains ran to Lüderitz in 2014 and Lüderitz Harbour in 2018.[6] Currently (2023) the line is open and primarily used to carry mineral ore from South African mines to Luderitz from where it is shipped to foreign markets.
The railway line from Nakop to Windhoek is 869 kilometres (540 mi) long. The section between Karasburg and Keetmanshoop was completed in 1909. In 1912 the 500 kilometres (310 mi) connection between Karasburg and Windhoek was completed, and the extension to Upington (South Africa) was built in 1915.[2]
The railway line from Otjiwarongo to Outjo is 69 kilometres (43 mi) long. The first 26 kilometres (16 mi) were completed under the German colonial administration in 1914/1915; the railway line was named Amboland Railway in reference to the territory of the Ovambo people. The link to Outjo was completed in 1921 under South African rule.[2]
The railway line from Windhoek to Gobabis is 228 kilometres (142 mi) long and was completed in 1930.[2]
In 2005, an 89 km section of new Northern Railway from Tsumeb to Oshivelo was opened by President Sam Nujoma, as part of the "Northern Extension" of the railway link from Kranzberg to Otavi. Construction on the project's second phase, a 59 km stretch from Ondangwa to Oshikango on the Angolan border at a cost of about N$329m, was scheduled to be completed by December 2007. Ondangwa Station opened in 2006 for freight.
In phase 3, a 58 km branch from Ondangwa to Oshakati was constructed at an estimated cost of N$220m, for completion in December 2008. For the future a connection from Oshikango to a point near Cassinga is planned on Angola's southern railway system.[7][8]
The Ondangwa-Oshikango line was officially opened by President Hifikepunye Pohamba in July 2012. In order to keep system operational and safe, provincial governor Usko Nghaamwa implored local residents to stop stealing railroad ties and sections of the wire fence.[9]
Apart from a number of short rail connections built by mining companies, the following railway links are decommissioned:
The railway to Lüderitz is now complete and is now being evaluated for freight traffic use. The first test train to Luderitz Via Aus arrived on October 10, 2018.[16] According to the Karas Region Chancellor Jan Scholtz, Passenger service to Luderitz will commence once it is determined that there is sufficient demand for it, but for the time being it is not being considered.[17]