Namibia1on1 travel guide
Travel facts

Rail Travel in Namibia: TransNamib, the Lines and the Old Station in Windhoek

Narrow-gauge lines laid in German colonial times still carry freight across the Namib and the central plateau; passenger trains are slow and few.

The railway station in Windhoek still looks the way it did when it was built in German colonial times: a long, gabled building on Bahnhof Street with a clock, a covered platform and, parked outside, a small steam locomotive of the kind that once hauled freight up from the coast. Upstairs is the TransNamib Museum, a modest collection of tickets, uniforms, signal lamps and photographs that tells the story of the lines better than any timetable.

That story matters for anyone thinking of travelling by train today. Namibia’s railways were built to move goods, not people, and they still mostly do.

How the network came to be

The first line ran from Swakopmund inland to Windhoek and was completed in 1902. It was built on a narrow 600 mm gauge by the German colonial military after a rinderpest epidemic killed the oxen that had pulled supply wagons across the Namib. A second narrow-gauge line, the Otavi Railway, was laid from Swakopmund to the copper mines at Tsumeb by 1906. During the war of 1904 to 1908 these lines carried troops and supplies, and a southern line from Lüderitz to Aus and Keetmanshoop was pushed through the desert in the same years.

After South African forces occupied the territory in 1915, the network was linked to the South African system and gradually converted to the 1,067 mm Cape gauge used across southern Africa. The rails that cross the Namib today follow roughly the same routes as the early lines.

At independence in 1990 the railways passed to the new state. They are run today by TransNamib Holdings, a state-owned company, which also operates road freight services.

Where the lines run

The main line runs north from Windhoek through Okahandja, then west through Karibib and Usakos to Swakopmund and Walvis Bay, the country’s main port. From Okahandja another line continues north via Otjiwarongo to Otavi, Tsumeb and Grootfontein. The northern extension has carried the network on to Ondangwa and towards the Angolan border at Oshikango.

To the south, the line from Windhoek runs through Rehoboth, Mariental and Keetmanshoop, then to Karasburg and Ariamsvlei, where it crosses into South Africa towards Upington. A branch from Keetmanshoop runs west through Aus to Lüderitz and has been rehabilitated in recent decades, although services on it have been irregular. Another branch heads east from Windhoek to Gobabis.

Passenger trains: what to expect

Passenger services in Namibia have always been basic and have been cut back considerably over the years. Where trains run, they are usually slow overnight services between the main towns, attached to or scheduled around freight. Nobody rides them for speed. Speeds are low, in part because of the gauge and in part because of the condition of the track. The Windhoek to Swakopmund run, roughly 360 kilometres, has traditionally taken most of a night.

Older passenger services, sold under the Starline name, offered seats rather than sleeping berths and no dining car, so passengers brought their own food and water. Rules familiar to anyone who used them still give a fair idea of what TransNamib expects: tickets booked in advance, check-in well before departure, baggage limited to what fits on the rack or under the seat, and no alcohol on board.

For several years there was also the Desert Express, a luxury tourist train between Windhoek and Swakopmund with sleeping compartments and a dining car, which stopped on the way for passengers to walk into the dunes. It became one of the better-known rail experiences in southern Africa. Whether any service like it is running in a given season is something to confirm directly.

There is no through passenger train between Namibia and South Africa. Travellers heading to Cape Town or Johannesburg use the long-distance coaches described on the bus and shuttle page.

Checking current services

Because services, days and routes change, the only reliable source is the operator itself. TransNamib publishes notices on its website, transnamib.com.na, and ticket offices at the larger stations can confirm what is running. Anyone planning around a train should check transnamib.com.na close to the travel date and again a day or two before departure, since cancellations happen. Fares and timetables are not reproduced on this page for that reason.

Rail fits best into a trip as a slow way to cover one leg, for instance Windhoek to the coast, with a hire car or a tour picking up from there. It does not reach Sossusvlei, Etosha or Damaraland.

Railway sights worth a stop

Even without riding a train, the railway heritage is easy to see. Besides the Windhoek station and museum, Swakopmund’s old station building, completed in 1901, now forms part of a hotel and casino complex, and its grand façade is one of the town’s landmarks. At Usakos, long a railway workshop town, the station and old locomotives recall the days when the narrow-gauge trains stopped there for water and repairs. The old jetty in Swakopmund was built to land goods at a time when the colony had no usable harbour of its own, Walvis Bay being British.

Before the railway there was one other attempt to beat the sand. In 1896 a steam traction engine was shipped to Swakopmund to haul goods inland, and it ran only a short distance before it stuck. Its owner gave up, and the abandoned machine, nicknamed Martin Luther, still stands at the edge of town. It failed.

The railway that followed did not, and the sight of a long freight train crawling across the gravel plains of the Namib towards Windhoek, headlights on in broad daylight, still sums up why the line was built.