The best train journeys in Sri Lanka

Sri Lanka may be relatively small, but it packs in some epic rail journeys © aksenovden / Shutterstock

There are train rides, then there are Sri Lankan train rides. The teardrop island in the Laccadive Sea may be small, but it packs in some of the world’s most thrilling rail journeys. You could find yourself rattling past suburbs with a fellow commuter dozing on your shoulder or perhaps weaving in and out of emerald-green tea gardens and thickets of tropical rainforest while tucking into a packed-to-go meal of curry and rice; sometimes both in the same journey.

The steam trains that once transported tea and spices along these weaving rail lines have mostly vanished, but the colourful diesel locos that replaced them offer the same evocative transect through the Sri Lankan landscape. If you’re a lover of travel by locomotive, make sure you book tickets (in advance!) for one of these four epic train journeys around Sri Lanka.

Editor's note: during COVID-19 there are restrictions on travel and opening hours may vary. Check the latest guidance in Sri Lanka before planning a trip, and always follow local health advice.

A view of the exterior of a blue Sri Lankan train, taken by an on-board passenger leaning out of the window. The train is travelling through the Hill Country, and is surrounded by green jungle. Up ahead, a tunnel is visible.
Travel in style from Sri Lanka's capital up to the Hill Country © John Crux / Getty Images

Colombo to Kandy

The one rail journey that features on almost every Sri Lankan itinerary, the three-hour trip from Colombo to Kandy will whisk you away from the big city sprawl to the genteel greenery of Sri Lanka’s spiritual capital, home to the legendary Temple of the Sacred Tooth Relic, enshrining what’s claimed to be a genuine tooth of Buddha.

On the way, you’ll rattle past rolling hills, paddy fields, lush stands of tropical forest, palm trees waving like giant hands, and miniature village train stations with tin roofs and station attendants standing to attention in immaculate uniforms. You’ll also feel the air cool as you leave the baking coastal plain for the more pleasant climate of the hills.

The Colombo to Kandy line was the first major route established by the newly formed Ceylon Government Railway in the 1860s, slicing through the forested hills inland from the capital to bring tea and coffee down to the coast, to further the economic ambitions of the British Empire.

Today, travellers ride in the opposite direction, on a journey that serves as the perfect introduction to Sri Lankan train travel, and offers by far the most atmospheric and enjoyable way to reach the Hill Country from Colombo.

Tea pickers working in a tea plantation in Sri Lanka. Though small, the workers stand out against the green fields due to their colourful saris.
Tea pickers add a sprinkle of colour to the green vistas rolling by the windows en route to Badulla © sivivolk / Getty Images

Kandy to Badulla

The trip from Colombo to Kandy is just a warm up for Sri Lanka’s most spectacular train ride: the British-era Main Line, built as a conduit for Sri Lanka’s most famous export – tea.

The journey from Kandy to Badulla takes seven to eight hours, and carves through Sri Lanka’s tea country, passing swirling, curling plantations that appear hollowed into the hilly green landscape like the enormous fingerprints of a giant. Tidy fringes of lemongrass and canna bushes provide an ornamental trim around the edges, while tea-pickers in rainbow saris create vivid flashes of colour amongst the emerald sea. To make the most of the views, stake out a vantage point in one of the open train doorways, with your feet dangling above the track.

The final stage from Ella to Badulla is perhaps the most dramatic section of the journey, with some spectacular feats of 19th-century engineering carrying the train across valleys and ravines and around problem outcrops.

Just north of Ella, the tracks curve over the brick-and-stone Nine Arch Bridge before tackling the Demodara Loop, where the line circles a hilltop and passes back under itself. Many travellers end the journey at Ella and hike to viewpoints around the bridge, for one of Sri Lanka’s most popular photo opportunities.

A parallel view of a red train travelling from Colombo to Galle, taken by a passenger on board the train. The tracks runs alongside the coast, with the sea coming right up to the tracks. A small, palm tree-backed beach is visible in the middle ground, while in the distance, the skyscrapers of a metropolis, presumably Colombo, can be seen.
The tracks hug the coast for the majority of the ride from Colombo to Galle © Creative-Family / Getty Images

Colombo to Galle

The Indian Ocean washes almost up to the rail tracks on the ride south from Colombo to the Portuguese-founded city of Galle, bringing fresh breezes and the smell of sea salt right into the carriages. So long as you sit on the right-hand side of the train, you’ll have views out over the ocean as the train clatters out of Colombo.

The rail line meets the shore just south of Galle Face Green, a large urban park on the outskirts of the capital, and follows it for almost the entire length of the journey. If the lure of the big blue gets too much, passengers can hop off the train at beachside towns including Moragalla (via Hettimulla station), with snorkelling opportunities amidst coral reefs, or Hikkaduwa, where surfers ride the swells and sip smoothies in shorefront cafes.

Whether you choose to temporarily alight or not, make sure you sample the wares of vendors who join the carriages at tiny rural stations. Grab some buttered sweetcorn, sliced fruit or packaged curry and rice and take in the bucolic scenes of coastal life – from children and dogs splashing in the surf to stilt fishermen sat atop their wooden perch – all the way to Galle.

A view of a colourful kovil, located in Trincomalee, northern Sri Lanka. The temple is painted in a number of colourful patterns and includes sculptures of figures from Hindu scripture.
When it comes to religious monuments, things start to get a lot more colourful up north © Elke Meitzel / Getty Images

Anuradhapura to Jaffna

The rail line to the far north of Sri Lanka was severed by fighting between southern Buddhists and Hindu Tamils during Sri Lanka’s long civil war. When the last Yal Devi Express rolled into Jaffna on 13 June 1990, it was marooned by bombing. Empty carriages were repurposed into military bunkers, tracks were ripped up for scrap metal and stations fell into ruin. For 25 years, rail travel to Sri Lanka’s Hindu north was a distant memory.

And then, In 2014, the shrill whistle of locomotives returned to the north as the Yal Devi Express rumbled back into Jaffna, on gleaming new tracks, for the first time in a generation. Today, the three-and-a-half-hour ride from the ancient Buddhist city at Anuradhapura to Jaffna offers a window onto a different Sri Lanka. You’ll leave the gleaming white dagobas (stupas) behind at Anuradhapura, and in their place multi-hued kovils (temples) start to colour the countryside as you steam into Sri Lanka’s Hindu north. You'll also leave behind Sri Lanka's major tourist crowds, with international visitors short on time skipping the splendours of the island's northern coast.

On the final approach to Jaffna, the landscape flattens out, and patches of water and saltpans appear as the train crosses Elephant Pass – the heavily militarised bottleneck guarding the entrance to the Jaffna peninsula. Tall palmyra palms rise over a landscape that still bears the scars of war, but also green shoots of rejuvenation, as villages and townships pick themselves up after decades of conflict. Waiting at the end is Jaffna itself, a vibrant Hindu city with a colonial heart – an easy leaping-off point for some of Sri Lanka’s most idyllic, unspoiled islands and beaches.

A girl wearing sunglasses sits in a window seat on a Sri Lankan train from Colombo to Galle. A book rests on her lap as she stares out of the open window, where green countryside is visible.
Riding the rails is often a major highlight for travellers in Sri Lanka © Ben Pipe Photography / Getty Images

How to travel by train in Sri Lanka

Trains zip to most corners of the island, charging slightly more than buses, but offering more atmosphere and better views. The website of Sri Lanka Railways has details of every route, but you’ll need to go through an agency to book online – 12Go and Visit Lanka Tours have a good reputation.

Third class is a free-for-all, where you’ll have to fight for space in a carriage as jammed as a sardine tin. Going second class gives you windows that open, plus reasonably comfy padded seats and fans overhead to keep cool, while first class brings more comfort and air-conditioning. Top of the line are the first class ‘observation saloon’ carriages with giant windows for sight-seeing, but the thick glass can make you feel a little isolated from the country you are passing through.

Make reservations for first and second class seats and berths at the station a few days before you travel, or a week ahead of time for observation saloon carriages. For third class, just rock up, buy a ticket and take your chances in the scrum. On most trains, the best seat is a spot on the floor in one of the open doorways between carriages, with the warm breeze blowing through your hair.

The world's most amazing scenic train journeys

Get more travel inspiration, tips and exclusive offers sent straight to your inbox with our weekly newsletter.

This article was first published in November 2019 and last updated in March 2021.

Buy the Ultimate Travel List

Lonely Planet

The second edition of Lonely Planet’s bestseller presents an all-new ranking of the greatest places to visit on Earth.

Places from this story

Recent stories


The best beaches in Argentina

5 min readPublished about 20 hours ago
Mar del Plata, Buenos Aires, Argentina, South America

13 best things to do in Savannah

9 min readPublished 1 day ago
Savannah River at sunrise in Georgia

Mexico City's best neighborhoods to explore

5 min readPublished 3 days ago
Paddle boats in front of blooming Jacaranda Trees in Chapultepec Park © Paul Franklin / Getty Images

Related content