Timeless Places

Darjeeling, the Nilgiris and Shimla, India

Mountain Railways of India

★★★★☆

भारत की पर्वतीय रेलें · dar-JEE-ling, NIL-gi-ree, SHIM-lah

Three little trains that have been climbing India's hills for more than a century: the blue steam toy train of Darjeeling that loops and zigzags through bazaars and tea gardens towards the Himalaya, the Nilgiri train that hauls itself up a toothed rack to Ooty, and the Kalka–Shimla line that runs through more than a hundred tunnels to the British summer capital.

iPhoto: foundin_a_attic, CC BY 2.0, Wikimedia Commons

The story

The Darjeeling (दार्जिलिंग) toy train sets off with a shriek of its whistle and crawls up the main street of Darjeeling, so close to the shop fronts that you could buy a cup of tea from the window. A man sits on the front of the little blue engine throwing sand on the rails for grip; the train hoots at cows and taxis, then swings out on a loop above the town, and on a clear morning the white wall of Kangchenjunga fills the sky behind it.

On screen here: Aradhana, Dil Se.., Barfi! →

The Mountain Railways of India are three narrow-gauge lines built in the late 19th and early 20th centuries to carry people and goods up to the hill stations of British India: Darjeeling in the eastern Himalaya, Ooty in the Nilgiri hills of the south and Shimla (शिमला), the summer capital, in the western Himalaya. Darjeeling was inscribed on the World Heritage list in 1999, the Nilgiri line in 2005 and Kalka–Shimla in 2008. All three are still running.

Why it matters The Mountain Railways of India were inscribed on the World Heritage list (1999, extended 2005 and 2008) as outstanding examples of bold, ingenious engineering that solved the problem of building railways through rugged mountains, and of the social and economic effect of railways in a multicultural region; they are still fully working and keep much of their original equipment.

If you have one minute

At the Batasia Loop

The Batasia Loop garden, where the line spirals to lose height, July 2023
The Batasia Loop garden, where the line spirals to lose height, July 2023DEB ANUTOSH, CC BY 2.0

Stand in the garden in the middle of the Batasia Loop and watch a train come round: it spirals right round you, crossing over its own track, to lose height on a slope too steep to go straight down. In the middle of the loop stands a memorial to the Gorkha soldiers of the region, and on a clear day the Himalaya stands behind it.

Things people often get wrong

"It is one railway." It is three, two thousand kilometres apart, each on a different gauge and each solving the mountains in a different way.

"They are museum trains." They are timetabled railways that locals still use; some services are steam, most are diesel, and the steam joy rides are for visitors.

Also among Bridge wonders: Charles Bridge, Pont du Gard, Victoria Falls, Ironbridge Gorge, Ponte Vecchio, Rialto Bridge, all 30.

Also among Famous and sacred mountains: Mount Fuji, Uluṟu, Huangshan, Mount Tai, Mount Wutai, Mount Lu, all 73.

Also among Museums: The Louvre, Vatican Museums, Terracotta Army, British Museum, Fez Medina, Grand Egyptian Museum, Giza, all 282.

Our Shared Heritage

Reading the railways

The property consists of three working hill railways: the Darjeeling Himalayan Railway (1881, 610 mm gauge, 88 km), with loops, reverses and original B-class steam locomotives; the Nilgiri Mountain Railway (1908, metre gauge, 46 km), with an Abt rack section and steam rack locomotives; and the Kalka–Shimla Railway (1903, 762 mm gauge, 96 km), with 102 tunnels and multi-arched viaducts. Stations, sheds, signals, bridges and rolling stock together show how 19th-century engineers adapted railways to extreme mountain terrain.

A B-class steam locomotive, built in the 1890s–1920s, in its shed, May 2009
A B-class steam locomotive, built in the 1890s–1920s, in its shed, May 2009shankar s. from Dubai, united arab emirates, CC BY 2.0

Hills, tea and forest

The lines climb through three different mountain landscapes: the subtropical foothills and tea gardens of the eastern Himalaya below Kangchenjunga; the forests, tea estates and grasslands of the Nilgiri hills of the Western Ghats; and the pine and deodar forests of the Shivalik hills below Shimla.

A Chinese eye on the hill railways

For Chinese readers these lines recall the narrow-gauge railways built in the same decades in China: the Yunnan–Vietnam railway of 1910, the zigzag of Zhan Tianyou's Beijing–Zhangjiakou railway of 1909, and the Alishan forest railway in China's Taiwan, which uses loops and zigzags on the same 762-millimetre gauge as Kalka–Shimla.

Its counterparts in the world

Compare the Semmering Railway in Austria, the first mountain railway on the World Heritage list; the Rhaetian Railway in the Albula and Bernina landscapes of Switzerland and Italy; and Wales's Ffestiniog and Snowdon Mountain railways.

Those who keep it

Indian Railways, which runs and maintains the lines; the drivers, firemen and sand men who keep the steam engines working; the workshops at Tindharia and Coonoor that rebuild them; and railway enthusiasts' societies in India and Britain that support them. Darjeeling was inscribed in 1999, the Nilgiri line in 2005 and Kalka–Shimla in 2008.

Why it belongs to everyone

They show how engineers met the challenge of the mountains with ingenuity rather than force, and they still carry people every day, a working museum of the age of steam.

Now that you know so much about the history and culture of this place, is there anything you would like to say to future visitors? Leave a message

Go deeper: the mountain railways in four chapters4 chapters · about 3 min to read

About 8 minutes to read. These railways are to be ridden, not looked at. What is particular to them: three different engineering answers to the same problem, how to get a train up a mountain: loops and zigzags at Darjeeling, a toothed rack in the Nilgiris, tunnels and stone arches to Shimla; steam engines more than a century old still at work; and the hill stations of the British Raj (1858–1947) at the top. Original or rebuilt: the tracks, many bridges, tunnels, stations and some locomotives are original; much has been repaired after landslides, and diesel engines and new coaches run alongside the old. Allow half a day for a short ride on one line, or a full day for the whole journey.

1. Darjeeling: loops and zigzags

Blue Darjeeling Himalayan Railway steam engines in the shed, April 2018
Blue Darjeeling Himalayan Railway steam engines in the shed, April 2018Syed Sajidul Islam, CC BY-SA 4.0

The Darjeeling Himalayan Railway was opened in 1881 to carry tea, soldiers and summer visitors from the plains at Siliguri to Darjeeling, climbing from about 100 metres to more than 2,200 metres in 88 kilometres. Its track is only two feet, 610 millimetres, wide, so that it can turn very tight curves, and it follows the old hill cart road, crossing it again and again. Where the slope is too steep, the line climbs in loops, where the train circles round and passes over itself, and in zigzags, where it stops, reverses up a short spur and goes on in the other direction. Its highest station, Ghum, at about 2,258 metres, has a small museum. Its little blue B-class steam engines were built in Britain between 1889 and 1925, and some still haul the trains. It is the same trick Zhan Tianyou used for the Beijing–Zhangjiakou railway at Qinglongqiao in 1909: when you cannot climb straight, climb in a Z.

A steam train at Darjeeling station running beside the road, May 2023
A steam train at Darjeeling station running beside the road, May 2023Sumitsurai, CC BY-SA 4.0
A train on the loop at Agony Point, Darjeeling Railway, 1897–1899
A train on the loop at Agony Point, Darjeeling Railway, 1897–1899Bourne and Shephered, Calcutta, Public domain

2. The Nilgiris: up a toothed rack

A Nilgiri Mountain Railway steam train climbing near Glendale tea estate, Coonoor, March 2017
A Nilgiri Mountain Railway steam train climbing near Glendale tea estate, Coonoor, March 2017foundin_a_attic, CC BY 2.0

The Nilgiri Mountain Railway, finished to Ooty, properly Udhagamandalam (उदगमंडलम), in 1908, climbs from Mettupalayam on the plains to more than 2,200 metres in 46 kilometres. On its steepest section, from Kallar to Coonoor, the gradient reaches about 1 in 12, far too steep for ordinary wheels, so the line uses a rack system invented in Switzerland: a toothed rail between the running rails, gripped by cog wheels under special steam engines. The climb takes about five hours at walking pace, through tea gardens, forest, sixteen tunnels and some 250 bridges; it is the only rack railway in India. It climbs like the Snowdon Mountain Railway in Wales, on the same Swiss system, but with tea gardens and monkeys instead of sheep.

The rack railway crossing a bridge at Kattery on the Nilgiri line, July 2025
The rack railway crossing a bridge at Kattery on the Nilgiri line, July 2025Timothy A. Gonsalves, CC BY-SA 4.0
The rack track running steeply down through forest, March 2025
The rack track running steeply down through forest, March 2025Rainer Halama, CC BY-SA 4.0
Engineering drawing of the Nilgiri X-class rack locomotive, 1925
Engineering drawing of the Nilgiri X-class rack locomotive, 1925Unknown author Unknown author, Public domain

3. Kalka to Shimla: a hundred tunnels

The Kalka–Shimla train winding through the forest, June 2017
The Kalka–Shimla train winding through the forest, June 2017Soorajkurup, CC BY-SA 4.0

From 1864 Shimla was the summer capital of British India: every year the government moved there from Calcutta, later Delhi, for the hot months. The Kalka–Shimla Railway, opened in 1903 on a 762-millimetre gauge, climbs 96 kilometres from Kalka to Shimla at more than 2,000 metres, through 102 tunnels and over more than 800 bridges, many of them stone viaducts with tiers of arches like Roman aqueducts. The longest tunnel, at Barog, more than a kilometre long, is named after the engineer whose first attempt to dig it failed. It is a railway built to carry an empire's government on its summer holiday, every year, up a mountain.

A Kalka–Shimla train arriving at Summer Hill in the snow, January 2026
A Kalka–Shimla train arriving at Summer Hill in the snow, January 2026Rakeshk9548, CC BY-SA 4.0
A narrow-gauge train at Shimla station, April 2018
A narrow-gauge train at Shimla station, April 2018Chinchu.c, CC BY-SA 4.0

4. How to ride them

Forest and tea gardens along the Nilgiri line, March 2025
Forest and tea gardens along the Nilgiri line, March 2025Rainer Halama, CC BY-SA 4.0

For Darjeeling, take a train or fly to New Jalpaiguri or Bagdogra and either ride the whole line, which takes most of a day, or go up by road and take the two-hour steam joy ride from Darjeeling to Ghum and back by the Batasia Loop. For the Nilgiris, the daily train leaves Mettupalayam early in the morning; book weeks ahead, as the few coaches fill quickly. For Shimla, several trains a day leave Kalka, near Chandigarh, and take five to six hours. Landslides close parts of the lines in the monsoon; spring and autumn are the best seasons, and winter on the Shimla line can bring snow. Do not expect speed: the Nilgiri train is overtaken by cyclists, and nobody minds.

Shimla station and the Himalayan foothills, February 2020
Shimla station and the Himalayan foothills, February 2020ANKAN, CC BY-SA 4.0

People who stood here

We searched English and Indian sources for this list.

  • Franklin Prestage (railway agent, 19th century)An agent of the Eastern Bengal Railway who proposed a steam tramway up the hill road to Darjeeling in 1878 and formed the company that built the Darjeeling Himalayan Railway, opened in 1881.
  • Mahatma Gandhi (Indian leader, 1869–1948)He travelled up to Shimla on the Kalka–Shimla line several times in the 1920s–40s for talks with the British government in its summer capital.

Tickets and travel info

Tickets and hours

  • Ordinary fares are cheap; steam joy rides and tourist coaches cost more and sell out; book through Indian Railways.

Last checked 2026-11-17. All three are working lines of Indian Railways; trains, especially steam services and seats on the Nilgiri line, must be booked in advance; facts from the 1999 inscription and its extensions (2005, 2008) and Indian Railways information..

Find a guide

Once you've read our history and culture pages, a guide is the best way to go deeper and make the most of your visit. You can find guides on these sites:

Find it on the map

Start here · Darjeeling (दार्जिलिंग) station

Search for दार्जिलिंग स्टेशन

Start of the steam joy rides to Ghum and the Batasia Loop

Start here · Mettupalayam station (Nilgiri line)

Search for மேட்டுப்பாளையம் ரயில் நிலையம்

The daily rack-railway train to Ooty leaves here early in the morning

Start here · Kalka station (Kalka–Shimla (शिमला) line)

Search for कालका स्टेशन

Start of the line to Shimla, near Chandigarh

Where to start

  • It's best to pick one line: Darjeeling for steam and the Himalaya, the Nilgiris for the rack railway, or Shimla for tunnels and the old summer capital.

Before you go

  • Please bring a jacket, as the hill stations are cold in the evening even when the plains are hot.

Customs and manners

  • Please don't lean out of windows in tunnels or near walls, and keep off the track when photographing trains.

Book tickets

You can book tickets and tours through our partner sites below: we earn a small commission at no extra cost to you, and it helps keep Timeless Places running. Thank you for your support!

Looking for a place to stay nearby or a rental car? You'll find more options below.

Stay nearby

This button opens one of several booking sites, such as Booking.com, Expedia, Hotels.com, Agoda or Vrbo, picked automatically. If it isn't the one you'd like, just close it and click again. Thank you for your support!

Rent a car

Bring your own licence and an International Driving Permit, and check before you go that the country accepts them.

In the local language

भारत की पर्वतीय रेलें dar-JEE-ling, NIL-gi-ree, SHIM-lah

Address Three hill railways: the Darjeeling Himalayan Railway (West Bengal), the Nilgiri Mountain Railway (Tamil Nadu) and the Kalka–Shimla Railway (Haryana and Himachal Pradesh)

Google Maps Apple Maps

Words on the signs
दार्जिलिंगDarjeeling
टॉय ट्रेनToy train
घूमGhum station
उदगमंडलमUdhagamandalam (Ooty)
शिमलाShimla
आरक्षणReservation

Opening hours are given in the local time of the place.

In pop culture

Film · 1969

Aradhana

Shakti Samanta (director); Rajesh Khanna (actor)

In the song Mere Sapno Ki Rani, Rajesh Khanna drives an open jeep beside the Darjeeling (दार्जिलिंग) toy train as Sharmila Tagore reads in the carriage, one of the best-loved scenes of Hindi cinema.

Same shot: Stand by the Hill Cart Road below Ghum where road and rails run side by side, and wait for the train to come round the bend.

Film · 1998

Dil Se..

Mani Ratnam (director); Shah Rukh Khan (actor)

The song Chaiyya Chaiyya was danced on the roof of a moving Nilgiri Mountain Railway train, with Shah Rukh Khan and Malaika Arora among the dancers; it is one of the most famous song sequences in Indian film.

Same shot: Ride the Nilgiri train between Coonoor and Ooty and look along the roof of the coaches as the train crosses a bridge.

Film · 2012

Barfi!

Anurag Basu (director); Ranbir Kapoor, Priyanka Chopra, Ileana D'Cruz

The story of a deaf-mute Darjeeling boy is full of the toy train: he courts Shruti, a visitor, around the line, and the railway lists it among the films shot on the Darjeeling Himalayan Railway.

Same shot: At Ghum station, the highest on the line. 剧照同款 is possible with a passing train; exact set-ups are not documented.

Meanwhile in the world

YearHereElsewhere
1881The Darjeeling Himalayan Railway opensThe first electric tram runs in Berlin
1903The Kalka–Shimla (शिमला) Railway opensThe Wright brothers fly
1908The Nilgiri Mountain Railway reaches OotyThe Ford Model T goes on sale
1999The Darjeeling railway joins the World Heritage listThe euro is introduced

One line to remember: three little trains that climb India's hills by loop, rack and tunnel, and are still running.

Local legends

These are stories people tell about this place. They are legends, not history, and each one says where it comes from.

LegendColonel Barog's tunnel

It is said that the engineer Barog dug the tunnel from both ends, the two halves failed to meet, and he was fined and disgraced; the tunnel was finished by others and named after him.

Source: Local tradition

LegendAgony Point

It is said that the loop at Agony Point on the Darjeeling (दार्जिलिंग) line got its name because passengers feared the train would never make the curve.

Source: Local tradition

LegendThe sand man

It is said that the man who rides on the front of the Darjeeling engine throwing sand is the most important person on the train, because without him it would slide back to the plains.

Source: What drivers say

Later, people who live here will be able to add the stories they grew up with, and say which of these they have heard.

Not certain, and where accounts conflict

Is the story of Barog true?
The story is told everywhere, and a grave near the tunnel is shown, but there is little documentary evidence.
Will steam survive?
Most regular services now use diesel; steam runs on joy rides and some Nilgiri trains, and its future depends on funding for old locomotives and the crews who know them.

Look for these

  1. Find a zigzag reverse on the Darjeeling line.
  2. Find the rack between the rails on the Nilgiri line.
  3. Find a multi-arched stone viaduct on the Kalka–Shimla (शिमला) line.
  4. Find the man throwing sand on the front of a Darjeeling engine.
  5. Find Kangchenjunga from the Batasia Loop.

I am here

Stand at the site, sign in, press the button, and collect its stamp. Your browser will ask to use your location. It is sent to us once to confirm that you are at the site; we keep how far you were from it, not the spot where you stood.

Your stamps are saved to your account, so they follow you to any device. Checking from a browser cannot rule out every false location; stricter checks arrive with the app.

Share your photos

Photos here show the place, not people. Each one is credited to the visitor who took it and appears after our team has looked at it. A photo with you in it belongs under “I am here”.

Messages