The officials said the train was heading towards the yard for replacement of its engine when it got derailed.
They did not divulge any further detail, including the origin and destination of the train citing security reasons.
The wagon was put back on the track with the help of cranes, railway sources said.