A teenage girl is in a critical condition after being hit by a freight train in Melbourne’s north.

Police said the girl, aged in her late teens, was trying to cross the railway tracks with her dog 100m north of the Albion railway station about 2.30pm (AEDT) today.

A north-bound freight train is thought to have blown its warning whistle and spooked the dog on the northern Sydenham line.

An Ambulance Victoria spokesman said the girl was  unconscious when a crew arrived at the scene.

He said paramedics treated her at the scene before taking her to the Royal Melbourne Hospital in a critical condition with upper body injuries.