History
Sri Lanka's Main Line: How the Railway Reached the Hills
From the first train out of Colombo to the tracks above Ella: the story of the railway you ride, and of the stations along it.
Choose your day on the Odyssey ↗Quick answer
Yes, the history makes the ride richer: the line was pushed into the hills stage by stage to carry tea and coffee down to Colombo, reaching Kandy in 1867, Nanu Oya in 1885 and Badulla in 1924.
The line through the years
| Year | |
|---|---|
| First train, Colombo to Ambepussa | 1864 |
| Service to Kandy begins | 1867 |
| Line reaches Nanu Oya | 1885 |
| Ella station opens | 1918 |
| Line reaches Badulla | 1924 |
| Ella Odyssey launched | 2022 |
Built for tea and coffee
The Main Line was Sri Lanka's first railway. Its first section ran from Colombo to Ambepussa, and the first train ran on 27 December 1864. The main reason for building it was to carry tea and coffee from the hill country down to Colombo.
Reaching Kandy
After bridges over the Mahaweli Ganga and the Maha Oya, the last rails into Kandy were laid on 15 April 1867. A goods train completed the run from Colombo on 30 April 1867, and passenger trains began on 1 August that year. Kandy's present station building is in the Art Moderne style, while the platform shelters are older Victorian work with arches and fine metalwork.
Into the high country
The line was extended in stages: to Nawalapitiya in 1874 and to Nanu Oya in 1885, where the station was built as the end of the line. Later extensions carried it on to Bandarawela and finally to Badulla in 1924. Ella's station opened in July 1918.
Steam to diesel
Steam locomotives worked the Main Line until 1953. Diesel locomotives followed in the 1950s, and from 2012 Sri Lanka Railways brought in new diesel multiple units designed for the steep gradients of the hill country.
A train for travellers
In March 2022 Sri Lanka Railways launched the Ella Odyssey, a special service aimed at tourists, with air-conditioned first-class seats, second class and a restaurant car. Its first-class seats are what this guide's main booking reserves.
Cyclone Ditwah
In late November 2025 Cyclone Ditwah brought floods and landslides that killed more than 600 people in Sri Lanka, among them many in the Kandy, Nuwara Eliya and Badulla districts the railway runs through. Train services in the hills were suspended after mud and debris blocked the tracks. On 4 December 2026 the ride to Ella started at Nanu Oya.
Frequently asked questions
When did the first train run in Sri Lanka?
On 27 December 1864, from Colombo to Ambepussa.
When did the railway reach Kandy?
Goods trains in April 1867 and passenger trains from 1 August 1867.
Why was the line built?
Mainly to carry tea and coffee from the hills to Colombo.
Sources