Train services along the Kirkstall railway line in Leeds have been restored after engineers cleared floodwater and repaired the damaged tracks.
The railway line had been plunged under four feet of water for two days after floods caused chaos in the city at the weekend.
Network Rail said its engineers used specialist equipment to pump the water and fix the railway line at Kirkstall in “an immense clear up effort”.
Train services between Leeds, Skipton and Bradford Forster Square are now running again.
In South Yorkshire, engineers have also completed planned engineering work at the track at Doncaster station, as part of Network Rail’s £150m Railway Upgrade Plan.
Mark Tarry, route managing director for Network Rail, said: “Our engineers have busy this Christmas completing work on our Railway Upgrade Plan which forms part of a £150m investment to create a better and more reliable railway.
“At the same time an immense clear up effort has been carried out on the flood-hit parts of Yorkshire, the North East and the North West to get as much of the network open for passengers services as possible.”
Selby Swing Bridge is currently on alert due to high volumes of water but is still operational.
In the North East, work is being carried out to rebuild an embankment which was washed away by floodwater and buses have replaced trains between Hexham and Carlisle.
Train services are still able to run between Newcastle and Hexham.
Network Rail also said the main north-south routes on the East Coast main line and the West Coast main line remain open.