The engine along with five coaches of the train derailed around 2.40 am when the driver tried to stop the train after he saw some rocks on the tracks, they said.
None were injured.
Since the route had double lining, traffic on the route was not affected much, they said.