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.
Perth to Bunbury train service returns
Missing woman found safe and well
Community fed up with teenage hoons terrorising Halls Head oval
Southern suburbs electrician claims $1.8 million Lotto win
Works continue on Pinjarra's Munday Avenue extension
Halls Head support worker charged with historic child sex offences
Severe thunderstorm warning cancelled for Mandurah, Bunbury
Fortnightly red bin collections to remain in the City of Rockingham after council rejects motion
Rate rises on the way for Rockingham, Mandurah ratepayers