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.
Elderly traffic warden seriously injured after being hit by truck in South West
Baldivis, Secret Harbour, Bunbury daycare centres to close
Community invited to free picnic event to celebrate completion of Mandurah Estuary Bridge
Free flu vaccines now on offer to Western Australians
Albanese announces $1.1 billion in road upgrades for Kwinana's Westport development
Drivers escape injury after head-on crash south of Perth
Whale carcass attracts sharks close to shore off Dawesville
Digital drivers' licences to be introduced in WA
Mandurah FIFO worker wins $250k