It was around 01:00 that the A-tractor got stuck at a crossing in Ornäs, outside Borlänge. The driver got out to get help, according to emergency services, but the vehicle was hit by a freight train.
A report has been drawn up about causing danger to investigate what caused the vehicle to stop on the rails, according to the police.
No one was injured and the accident has no impact on train traffic during Friday morning.