A locomotive derailed after its driver missed signals to slow down and travelled through a track crossing 46km/h faster than the allowable speed.
A report into the incident said the train was returning from Waitakere to the Otahuhu yard in the early hours of March 2, 2014.
Train 5153, a DC class diesel-electric locomotive hauling four empty passenger carriages, was carrying a driver and a train manager in the rear carriage.
At Westfield, the driver failed to slow for a 25km/h crossover, which would take the train from one parallel track to another.
The locomotive entered the crossover at 71km/h, derailed and rolled over.