A driver had a "miraculous escape" after his car and a train collided at one of the state's most dangerous level crossings.

Trains are running again after services on the Sunbury line between Sunshine and St Albans were suspended for hours on Thursday when the train crashed into the car as it was crossing the tracks at Furlong Road in Sunshine North.

The car at the level crossing in Sunshine.

Metro Trains announced shortly after 4pm that the line had reopened between Sunshine and Watergardens and delays of 10 minutes were expected as they caught up.

Earlier, an Ambulance Victoria spokeswoman said a man in his 20s had made a miraculous escape and had been transported to Western Hospital in Footscray with minor injuries.