A fire broke out in the engine of the popular Himalayan Queen tourist train in Himachal Pradesh, news agency ANI reported on Tuesday.
There were around 200 passengers on the train in seven coaches and all are safe.
The incident took place between Kumarhati and Dharampur in the Solan district.
The train involved was numbered 52455, which travels on the Kalka-Shimla heritage line.
The fire was doused by the driver and the train managed to continue to Shimla after the engine was changed.
Dubbed the "toy train" and dotted with tiny wooden stations, the narrow-gauge Kalka-Shimla railway in Himachal Pradesh is a UNESCO world heritage site attracting thousands of tourists each year.
The Kalka-Shimla railway, which opened in 1903, follows a scenic 96-kilometre route that includes 103 tunnels, travelling on a winding track from the town of Kalka up to Shimla.
(With inputs from agencies)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.