A derailed Kiwirail locomotive was put back on its tracks yesterday.

The Wairarapa-bound train was derailed north of Wellington on Thursday night carrying 300 passengers. It was to be checked out at Lower Hutt.