Rail travel in Sri Lanka is one of the most rewarding ways to move between destinations. The network spans nine lines, connecting Colombo with the hill country, the southern coast, the ancient cities of the north-central plains, and the fishing ports of the northwest. Service dates to 1864, when the Main Line opened between Colombo and Ambepussa — originally built to carry coffee, and later tea, from the highlands to the port. Today the same tracks carry travellers through some of the island's most varied and impressive landscapes.
What are the main railway lines in Sri Lanka?
Sri Lanka Railways operates nine lines radiating outward from Colombo Fort station. The lines most relevant to travellers are the Main Line (hill country), the Coastal Line (south and southwest), the Puttalam Line (north and northwest), the Northern Line (Vavuniya and beyond), the Matale Branch, and the Kelani Valley Line. Each serves a distinct geography and a different set of destinations.
| Line | Key Destinations | Approx. Length |
|---|---|---|
| Main Line | Kandy, Nanu Oya, Ella, Badulla | ~290 km |
| Coastal Line | Hikkaduwa, Galle, Matara, Beliatta | ~160 km |
| Puttalam Line | Negombo, Chilaw, Puttalam | ~132 km |
| Northern Line | Anuradhapura, Vavuniya, Jaffna | ~390 km |
| Matale Branch | Matale (via Kandy) | ~26 km |
| Kelani Valley Line | Avissawella (via Colombo suburbs) | ~60 km |
What is the Main Line, and why do travellers rate it so highly?
The Main Line departs Colombo Fort and heads east through the low-country suburbs of Ragama, Gampaha, and Veyangoda before the gradient sharpens at Rambukkana. From there, the locomotive climbs steeply into the central highlands. Between Balana and Kadugannawa, the track follows the edge of sheer rock faces, giving passengers unobstructed views across the Kadugannawa pass.
At Peradeniya Junction a short spur leads to Kandy — a natural stop for the Kandy city tour and the Temple of the Tooth — while the line itself continues through Ceylon tea country, passing Gampola, Nawalapitiya, and Hatton before arriving at Nanu Oya, the station closest to Nuwara Eliya. The colonial-era hill station is still known for its cool climate, racecourse, and grand period hotels such as The Grand Hotel.
The line reaches its highest point at Pattipola, around 1,898 m above sea level, before descending through Ella and past the Demodara loop — a feat of Victorian engineering — to the terminus at Badulla. Along this descent, passengers look out over rolling tea estates, cloud-level waterfalls, and deep river valleys. This stretch, particularly the segment between Nanu Oya and Ella, is widely considered one of the great train journeys in Asia.
- Best seats: The line winds constantly, so the best valley views switch from one side of the train to the other; a window seat on either side is rewarding, and there is no single best side for the whole journey.
- Named expresses: The Udarata Menike, Podi Menike, and Denuwara Menike are the intercity services on this route; heading up into the hills, only the Podi Menike calls at Kandy. Observation saloon carriages are available on some departures and must be reserved in advance.
- Journey time: Colombo to Kandy is roughly 2.5–3 hours; Kandy to Ella around 6 hours depending on the service.
Where does the Coastal Line go?
The Coastal Line runs south from Colombo, hugging the Indian Ocean for much of its length. It links the suburban centres of Moratuwa and Panadura, then Kalutara, before reaching the resort strip of Aluthgama, Ambalangoda, and Hikkaduwa. Travellers looking to explore Madu River by boat typically alight at Balapitiya.
The line continues to Galle, a UNESCO World Heritage city enclosed by a 17th-century Dutch rampart. A Galle city tour pairs naturally with arrival by rail. Beyond Galle, the track passes Weligama and reaches Matara, historically the southern terminus. Construction of a phased Southern Railway project began in 2013, and the extension from Matara to Beliatta opened in 2019 — the first new railway line built in Sri Lanka since independence in 1948. Planned further phases would eventually connect Hambantota port and Kataragama, though construction timelines remain subject to government approval.
What does the Puttalam Line cover?
Branching off the Main Line at Ragama, the Puttalam Line heads north along the west coast. It serves Kandana, Ja-Ela, Seeduwa, and Katunayake — where a short connector runs to Bandaranaike International Airport — before reaching Negombo. The Dutch Fort Negombo and the town's fish market are the main draws for visitors. The line continues past Chilaw and on to Puttalam, the district capital near the southern edge of Wilpattu National Park.
How does the Northern Line connect to the ancient cities?
The Northern Line departs Colombo and runs northeast through Polgahawela and Kurunegala before turning north toward Anuradhapura, one of Sri Lanka's oldest capitals. The service continues to Vavuniya and, following post-war reconstruction, has been extended north to Jaffna and Kankesanthurai. For travellers visiting the ancient cities, a stop at Anuradhapura or the branch line to Polonnaruwa offers a slower, more atmospheric alternative to road travel.
Are there other branch lines worth knowing about?
The Matale Branch connects Kandy to Matale in around an hour and a quarter; the spice gardens and the Aluviharaya rock temple lie a short drive beyond the terminus. The Kelani Valley Line was originally narrow gauge and reopened as broad gauge in 1996; it threads through Colombo's eastern suburbs toward Avissawella, running close to the Kelani River. It is a slower, scenic commuter route rather than a tourist express. The Trincomalee Line branches off the Northern Line at Maho, and the Batticaloa Line leaves it at Gal Oya; both serve the east coast — useful for travellers heading to Pigeon Island near Nilaveli.
What classes of travel are available on Sri Lanka trains?
Sri Lanka Railways operates three classes across most intercity services.
- First Class: Air-conditioned reserved seating, available on named expresses. Observation saloon carriages (first class) on certain hill-country trains offer panoramic windows — seats must be booked well ahead, especially during peak season.
- Second Class: Reserved seating, fans, no air conditioning. Comfortable for most journeys and widely used by independent travellers.
- Third Class: Unreserved benches. Inexpensive, busy, and gives an authentic local experience — less suited for long-distance journeys with luggage.
When is the best time to travel on the hill-country train?
Clear weather — and therefore the clearest views — is most reliable from roughly January to April. The Southwest Monsoon (May to July) brings heavy rain and low cloud to the hill country, which can obscure views, though some travellers find the misty atmosphere equally atmospheric. Avoid travelling on national public holidays without a reserved ticket, as trains fill rapidly. The Horton Plains area near Pattipola can be cold at any time of year — bring a layer even if the lowlands are warm.
How do I book train tickets in Sri Lanka?
Reserved seats on intercity services can be booked up to 30 days in advance at any main station or through an authorised agent. First-class observation saloon seats and seats on named expresses such as the Udarata Menike and Podi Menike sell out quickly during holiday periods, so booking early is advisable. Lakpura can arrange reserved train tickets as part of a broader itinerary, removing the need to queue at stations.
Related reading
5 pages on closely related subjects.