Train services have resumed after a car fell 10 metres onto the tracks in Cooloongup.
Emergency crews were called to the scene near Ennis Avenue and Elanora Drive around 1.20pm on Saturday.
Witnesses told Nine News the 58-year-old driver became trapped after he reversed straight through a fence, plunging onto the train tracks.
Firefighters managed to free the man, who was taken to Royal Perth Hospital with minor injuries.
Trains between Rockingham and Mandurah were cancelled for several hours but have since resumed.
Entries for 2026 Castaways Sculpture Awards now open
Meadow Springs man pleads guilty to threatening to kill PM and NSW Premier
Person critically injured in North Dandalup crash
Iconic sports broadcaster Dennis Cometti dies aged 76
Teen killed while crossing Warnbro Sound Avenue remembered as cheeky, adventurous boy
Firefighters spend night battling bushfire near Lark Hill Sportsplex
Teen boy killed after being struck by two cars while crossing road in Warnbro
Free supplies, health checks, advice for Mandurah pet owners
Rockingham Detectives ask for public's help to find wanted man