The morning commuter slipped and got his leg trapped in the gap during the tail end of rush hour.
The man's fellow train passengers banded together to help tilt the car so he could he could free his leg.
"Our staff who were there at the time got the passengers, and there were lots of them, off the train, and organized them to sort of rock, tilt the train backwards away from the platform so they were able to get him out and rescue him," Transperth spokesman David Hynes told Australia's ABC.
The man did not suffer any serious injuries and didn't even require a hospital trip.
"Everyone sort of pitched in," Hynes said. "It was people power that saved someone from possibly quite serious injury."