Nobody was hurt when five wagons came off the tracks just before 3am, but no trains are currently able to run between Church Fenton and Micklefield. (ALL PICS JPIMEDIA/JAMES HARDISTY)
The train was delivering new rail to the area when the incident occurred. Before the train can be removed after a derailment, inspectors from the Rail Accident Investigation Branch will have to examine the scene.
There is no indication of the cause at this time.
"A freight train has derailed in the Church Fenton area.
"Consequently, trains between Leeds and York via Church Fenton will be cancelled or diverted. This is expected until the end of the day.
Passengers who need to travel are strongly advised to check their journey via National Rail Enquiries or with their train operator and allow plenty of time. People should continue to follow the latest Government guidance and minimise travel as much as possible.