Elevated railway viaduct crossing the savannah in Kenya
By Rail

Kenya by train

The SGR Madaraka Express and the old Nairobi-Mombasa line.

By the Viamo editorial team · Editor Terje Moy · Last updated July 2026 · 5 min read

Kenya's railway story is really two stories: a fast, modern, Chinese-built line that has transformed the Nairobi–Mombasa run into a genuinely pleasant journey, and the much older Uganda Railway network it largely replaced, most of which no longer carries scheduled passenger services. Understanding which is which will save you from planning around a train that doesn't run any more.

The Madaraka Express: Kenya's flagship line

The Madaraka Express runs on the Standard Gauge Railway (SGR), a modern electrified line opened in 2017 that connects Nairobi and Mombasa, a distance of around 480 km, in about 4.5–5 hours. This is a dramatic improvement on the old metre-gauge line it superseded, which took the better part of a day (or more, with delays) to cover the same distance. Several services run daily in each direction, and the train is air-conditioned, comfortable and considered one of the more reliable ways to make this journey — genuinely competitive with flying once you weigh in airport time.

Trains depart from purpose-built stations: Nairobi Terminus at Syokimau, on the southeastern edge of the city rather than the old central station, and Mombasa Terminus at Miritini, similarly outside the old town centre. Both require a taxi or app-cab transfer from the city itself, so factor that into your journey time — it typically adds 30–45 minutes at each end depending on traffic.

Classes and booking

The Madaraka Express offers two classes: First Class, with more spacious seating and fewer passengers per carriage, and Economy Class, which is perfectly comfortable and considerably cheaper — most travellers, Kenyan and visiting alike, use economy without any complaint. Tickets can be bought online through the operator's booking platform or in person at the terminus, and booking a few days ahead is sensible in busy periods (weekends and Kenyan public holidays especially), though the frequent daily departures mean you're rarely stuck for long if a specific service is full.

Book online where you can: Online booking for the Madaraka Express opens a set number of days ahead and is generally the most reliable way to secure a seat on your preferred departure, rather than turning up at the terminus and hoping.

What happened to the old Nairobi–Mombasa line?

The original metre-gauge Uganda Railway, built by British colonial administrators in the early twentieth century and famous for the "Lunatic Express" nickname earned during its difficult construction, once ran the same Nairobi–Mombasa corridor along with branch lines reaching further into Kenya and on into Uganda. Since the SGR opened, scheduled passenger services on the old line have effectively ended for this route — it has not operated as a regular passenger option for travellers in recent years, and you should not plan a trip assuming the historic line is running. Sections of the old track remain in place and occasional heritage or freight movements occur, but this is not a dependable way to travel and should not be relied upon without checking current status directly with Kenya Railways.

Is there rail beyond Nairobi and Mombasa?

The SGR network has been extended in stages beyond the original Nairobi–Mombasa line, including a freight-focused extension toward Naivasha, but for visitors, the Nairobi–Mombasa Madaraka Express remains the one genuinely useful passenger route. There is no passenger rail service to Kenya's other major destinations — the Maasai Mara, for instance, is reached only by road or light aircraft; see our Nairobi to the Maasai Mara guide for those options. Likewise, if you're continuing overland into neighbouring countries, that's by road: see Nairobi to Kampala and Nairobi to Arusha for the coach connections.

Nairobi's commuter rail

Separately from the SGR, Nairobi has a limited commuter rail network serving some of the city's suburbs, aimed at daily commuters rather than visitors, and it is not a practical way to explore the city as a tourist. For getting into Nairobi itself, our Nairobi airport to the city guide covers the app cab, shuttle and commuter train options from Jomo Kenyatta International Airport.

How the Madaraka Express compares to other options

Against flying, the Madaraka Express holds up well: the flight between Nairobi and Mombasa takes under an hour in the air, but once you add airport time at both ends, the total is often not much shorter than the roughly 5-hour train, and the train delivers a comfortable ride through Tsavo's landscape along the way, including a reasonable chance of spotting wildlife from the window. Against road options — covered in our coaches in Africa guide — the train is faster and more comfortable than the long-distance coaches that also run this corridor, for a broadly similar fare in economy class.

Practicalities on board

Carriages are modern and air-conditioned, with onboard toilets and a snack trolley or dining car depending on class, though it's sensible to bring your own water and snacks rather than relying entirely on what's available. Luggage allowances are broadly in line with what you'd expect from a long-distance train rather than a budget airline, so this is a comfortable option if you're travelling with more bags than the light-aircraft safari transfers elsewhere in Kenya would allow. Seating is assigned, so there's no need to rush to board once the platform gates open.

Planning a wider Kenya rail-and-road trip

For most visitors, the Madaraka Express is one leg of a broader itinerary that also includes a safari and time on the coast. A common pattern is Nairobi to Mombasa by train, a few days on the beach, then flying back to Nairobi to connect onward to a safari circuit such as Nairobi to the Maasai Mara. If your trip continues overland into neighbouring countries, our Nairobi to Arusha and Nairobi to Kampala guides cover those cross-border coach connections, and our Africa entry requirements guide covers the general visa picture for the wider region.

Frequently asked questions

How long does the Madaraka Express take from Nairobi to Mombasa?

Around 4.5–5 hours, with several daily departures in each direction on the modern Standard Gauge Railway.

Is the old Nairobi–Mombasa railway still running?

No, not as a regular passenger service. It has been effectively superseded by the SGR's Madaraka Express, and travellers should not plan around the historic metre-gauge line operating.

Do I need to book the Madaraka Express in advance?

It's sensible to book a few days ahead, especially on weekends and public holidays, though frequent daily departures mean seats are usually available with short notice outside peak periods.

Are the train stations in the city centre in Nairobi and Mombasa?

No — both the Nairobi and Mombasa SGR termini are located outside the traditional city centres, so allow 30–45 minutes for a taxi transfer at each end.

Sources and further reading: