British Transport Police were called to Horsforth shortly before 2pm today after reports that a man had been hit by a train.
A spokeswoman said: “Officers from BTP attended with the ambulance service but sadly the man died at the scene.
“The death is not being treated as suspicious at this time and a file will be prepared for the coroner.”
Services between Leeds and Shipley, Ilkely and Bradford Forster Square have been affected.
National Rail said lines had now reopened between Leeds and Shipley, but trains would continue to be disrupted until around 5pm.
It said buses were running between Shipley and Leeds, and customers travelling to or from Bradford Forster Square could still use Bradford Interchange.