A wagon had become uncoupled from a freight train between Marsden and Huddersfield.
The wagon was blocking the line which meant peak time train services from Manchester towards Huddersfield had to be replaced with buses, and this in turn caused major problems for people heading from Huddersfield towards Leeds.
It is a very busy service with regular complaints about overcrowding on the carriages.
With train services from Manchester being diverted and not calling at Huddersfield, there were huge queues at Huddersfield station as coaches were put on to replace them.
Many people took to Twitter to express their frustrations. Alex Humphries tweeted: “A broken down freight train has meant all trains to Leeds from Huddersfield are cancelled. Commuter chaos!”
Gary Wood said: “Scenes off chaos in Huddersfield. All trains to Leeds cancelled, replaced by tiny coaches.”
And Kirklees councillor Andrew Cooper tweeted from his seat on a bus, saying: “On rail replacement bus service. No trains between Hudds & Leeds due to broken down freight train. M62 busy as well!”
The problems were resolved by about 10am. Trains were running the other way from Leeds to Huddersfield and Manchester as normal, despite the disruption.