African Train Guide

Rail across Africa, network by network.

Rail across Africa is a handful of genuinely good networks rather than one continuous one — Morocco's high-speed line, Egypt's Nile sleepers, South Africa's commuter and luxury services, and the new standard-gauge routes in East Africa. This is who runs each of them, where they actually go, and a straight read on which are worth using as transport and which are worth taking for their own sake. Search by operator, country, city or route, or filter by the type of train you need.

No operators match that search.

Where rail actually works

Africa's railways are six good corridors rather than one network.

The Moroccan corridorTangier – Rabat – Casablanca2h 10mThe best rail on the continent. Cheap, punctual, 320 km/h.
The Nile lineCairo – Luxor – Aswan10–13hOvernight saves a hotel and a day. Foreign fares are quoted in dollars.
The Mombasa lineNairobi – Mombasa, through Tsavo~5hThe best way to the coast. Both terminals sit outside town.
The Djibouti lineAddis Ababa – Dire Dawa – Djibouti City~18h, 2 trainsChange at Dire Dawa; passenger trains run on alternating days.
The TAZARA crossingDar es Salaam – Kapiri Mposhi~46hTwice weekly, delays routine, elephants from the window.
Gauteng commuterOR Tambo – Sandton – Pretoria15–40mAn airport link, not a network. Nothing beyond Pretoria.
No through service links these six. There is no rail route from Morocco to Egypt, from Egypt to Kenya, or from Tanzania to South Africa outside the private charters below. Between corridors it is a flight.

Trains that get you somewhere

Transport. Priced like transport, booked like transport.

Al Boraq
ONCF · Africa's only high-speed line, 320 km/h
High-Speed
Origin / Hub
Morocco
↔
Key Routes
Tangier ↔ Rabat ↔ Casablanca (~2h 10m)
Connections onward to Marrakech and Fez on conventional lines
What it is like

A French-built TGV in all but name, and by a distance the best rail experience on the continent — quiet, punctual, and cheap by European standards even in first class. Second class is fine; first buys a reserved seat and more space, which matters on busy weekends. It stops at Casablanca, so Marrakech still needs a conventional connection, and the through journey is the one most visitors actually make.

Buy Tickets
ONCF Al Atlas
ONCF · conventional intercity network
Intercity
Origin / Hub
Morocco
↔
Key Routes
Casablanca ↔ Marrakech (~3h)
Casablanca ↔ Fez ↔ Oujda
Marrakech ↔ Tangier (through service, ~7h)
What it is like

Reliable, inexpensive and the sensible way to move between Morocco's imperial cities — far more comfortable than the equivalent bus, and it drops you in the centre rather than at an edge-of-town terminal. First class buys an assigned seat in a six-seat compartment and is worth the small difference on Marrakech runs, which fill. There is no rail to Chefchaouen, Essaouira or the desert; those remain road trips.

Buy Tickets
Egyptian National Railways
ENR · Nile valley intercity
Intercity
Origin / Hub
Egypt
↔
Key Routes
Cairo ↔ Alexandria (~2h 30m, frequent)
Cairo ↔ Luxor ↔ Aswan (day and overnight services)
What it is like

Cairo to Alexandria on a first-class express is straightforward and genuinely pleasant, and beats the road comfortably. The Nile run south is slower and less predictable than the timetable suggests, so treat arrival times as approximate. Buy first or second class air-conditioned; the unreserved classes are a different experience entirely. Ramses station is chaotic — arrive early and know your platform.

Buy Tickets
Watania Sleeping Trains
PRIVATE · Cairo–Luxor–Aswan sleeper
Night Train
Origin / Hub
Egypt
↔
Key Routes
Cairo ↔ Luxor (~10h overnight)
Cairo ↔ Aswan (~13h overnight)
What it is like

Two-berth cabins with a washbasin, dinner and breakfast served at your seat, and a night's travel that saves a hotel and a day — that combination is the whole appeal. It is priced in dollars or euros for foreign passengers, well above the domestic fare, and the cabins are dated rather than luxurious. Still the most civilised way to reach Luxor without flying, and it books up in winter high season.

Gautrain
BOMBELA · Johannesburg–Pretoria rapid rail
Regional
Origin / Hub
South Africa
↔
Key Routes
OR Tambo Airport ↔ Sandton (~15 min)
Johannesburg ↔ Pretoria (~40 min)
What it is like

Modern, secure and the obvious way from OR Tambo into Sandton — well ahead of a taxi in both time and cost at rush hour. It is a commuter system with a limited footprint, so it serves Sandton, Rosebank and Pretoria and little else a visitor wants; anything beyond those still needs a car. Buy a Gautrain card at the station; services stop relatively early in the evening.

Buy Tickets
Madaraka Express
KENYA RAILWAYS · standard gauge, opened 2017
Intercity
Origin / Hub
Kenya
↔
Key Routes
Nairobi ↔ Mombasa (~5h)
Passes Tsavo National Park
What it is like

Five hours city to coast on a modern train, through Tsavo where zebra and elephant are a genuine possibility from the window — comfortably the best way to make this journey. First class is worth the modest premium for the space. Both terminals sit outside the city centres, so add a transfer at each end, and book several days ahead because the express services sell out.

Buy Tickets
Ethiopia–Djibouti Railway
EDR · electrified standard gauge
Intercity
Origin / Hub
Ethiopia
Countries Crossed & Served
Djibouti
↔
Key Routes
Sebeta / Addis Ababa ↔ Dire Dawa (overnight, ~10h)
Dire Dawa ↔ Nagad / Djibouti City (day train, ~6h)
What it is like

Africa's first fully electrified cross-border railway, but there is no single through passenger train. The corridor is two services with a change at Dire Dawa, taking roughly eighteen hours across two calendar days; each direction runs on alternating dates. The Addis stop is at Lebu, well outside the centre, and Djibouti's terminus is at Nagad. Check the official booking portal for the exact date before building a connection around it.

Trains that are the trip

Journeys in their own right. Priced as a holiday, booked months out.

Rovos Rail
PRIVATE · restored 1930s–50s stock
Scenic
Origin / Hub
South Africa
Countries Crossed & Served
Zimbabwe Zambia Namibia Tanzania
↔
Key Routes
Pretoria ↔ Cape Town (2 nights)
Pretoria ↔ Victoria Falls (3 nights)
Dar es Salaam ↔ Cape Town (15 days, occasional)
What it is like

The most convincing of the world's luxury trains, largely because it is unhurried and unapologetically analogue — no televisions, no phones at dinner, and an open balcony car at the rear. Suites are properly sized, with baths in the larger grades. It is a holiday costing thousands, not a way to reach Cape Town, and the multi-week Dar es Salaam run is the trip of a lifetime for a very specific traveller.

Buy Tickets
The Blue Train
TRANSNET · state-owned luxury service
Scenic
Origin / Hub
South Africa
↔
Key Routes
Pretoria ↔ Cape Town (~27h, one night)
What it is like

A single night rather than Rovos's two or three, all-inclusive down to the butler service, and correspondingly easier to fit into a trip. The suites are plush in a formal, slightly dated way and the dress code at dinner is real. Between the two South African luxury trains, Rovos wins on character and the Blue Train on convenience — this is the one to pick if you want the experience but only have twenty-seven hours.

Buy Tickets
TAZARA
TANZANIA–ZAMBIA RAILWAY AUTHORITY
Night Train
Origin / Hub
Tanzania Zambia
↔
Key Routes
Dar es Salaam ↔ Kapiri Mposhi (~46h, twice weekly)
Passes through Selous / Nyerere game country by day
What it is like

A two-night crossing on a Chinese-built 1970s line, and one of the few trains anywhere where you may see elephant and giraffe from the window — the Selous stretch is the reason to go. Set expectations accordingly: delays of many hours are routine, the dining car is basic, and first-class four-berth compartments are segregated by sex unless you book the whole compartment. Bring water and food for two days.

Buy Tickets
Booking Platforms
ONCF Voyages
Morocco's official booking site — Al Boraq and every conventional service.
oncf-voyages.ma
Kenya Railways
Madaraka Express tickets. Book several days ahead in season.
krc.co.ke
Seat61
The most reliable country-by-country account of African rail, including lines with no website.
seat61.com
Browse All Guides Ask Your Guide