Commuters faced delays on the trains this morning after a lorry struck a bridge near Outwood.
The incident happened at around 7am this morning and caused disruption on services between Wakefield Westgate and Leeds.
National Rail sent engineers to examine the bridge.
They confirmed it was safe for trains to run in the area.
And services have now returned to normal.