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.
Mission Australia celebrates 25 years of supporting young people through Mandurah Reconnect program
'Mad Eagles fan' wins $6 million Lotto prize
Mandurah woman loses everything in house fire
Gift card scams surge past $1 million prompting urgent warning from Consumer Protection
Secret Harbour by-election attracts record 16 candidates
Major party candidates locked-in for looming Secret Harbour by-election
Comet Bay Primary to offer full-time kindy from 2027
North Dandalup crash claims life of driver
Date set for Mandurah's Town Ward Extraordinary Election