A car was left in a precarious position after crashing off Portobello Rd, on Otago Peninsula, on Saturday night.
The accident happened about 10.40pm, when the car carrying two people left the road in Broad Bay, near Camp St, and slid down the rock seawall.
Deputy Chief Fire Officer Jamie Ramsay, of Fire and Emergency New Zealand's Portobello brigade, said the car came to rest with its front wheels on a walkway to a boat shed and its rear wheels down on the foreshore.
The driver managed to extract himself but a female passenger was stuck inside the vehicle until firefighters from Portobello and Lookout Point stations arrived.
Mr Ramsay said firefighters used a winch from the Lookout Point truck to secure the vehicle to the rock wall and then free the passenger.
"We didn't want anything to move in case it rolled over," he said.
Both occupants were "shaken but unhurt" and damage to the vehicle was "not too bad, considering where it was", he said.
The cause of the crash was not known.