History
History of Railways in Sri Lanka
Rail was introduced in Sri Lanka in 1864 to transport coffee from plantations in the hill country district of Kandy to the port city of Colombo for export to Europe and world markets. The coffee blight of 1871 devastated plantations, leading to the rise of tea cultivation.
With the expansion of tea plantations in the 1880s, corporate ownership replaced individual proprietorship. The production process became more advanced, requiring extensive railway construction in the Kandyan highlands. Railways were essential for transporting tea to Colombo and moving labour, machinery, fertilizer, and food supplies to plantation areas.
Railway expansion continued to support coconut plantations along the western and northwestern coasts, as well as rubber plantations inland. These developments created a need for safe and affordable transportation, opening access to previously isolated regions of the country.
The Main Line extended north from Kandy to the historic city of Anuradhapura and further to Kankesanturai. Another extension reached Talaimannar, linking Sri Lanka with South India via ferry transport. These routes facilitated labour movement and essential imports such as rice.
Strategic considerations led to railway construction toward the eastern regions, connecting the natural harbour of Trincomalee and the provincial capital Batticaloa. Light rail sections and narrow-gauge lines were introduced to serve rubber plantations east of Colombo, including the Kelani Valley Line.
In the hill country, a branch line was constructed from Nanu Oya to Nuwara Eliya through extremely challenging terrain. Economic constraints shaped the railway alignment, resulting in steep gradients, sharp curves, and winding tracks. Speeds ranged from 25–40 km/h in the hill country and 65–80 km/h in the lowlands.
In the early railway era, most freight was transported to the Port of Colombo. As the port expanded, railway lines were constructed to connect directly to its piers, strengthening Sri Lanka’s role in global trade.








