A surfer spent three hours drifting out to sea off Whanganui on Saturday, and was in a distressed state when finally rescued.
He was cold and tired when Coastguard Wanganui executed a "textbook" rescue off Kai Iwi Beach.
The man was lucky to be alive, his rescuers said.
"Who knows what would have happened if he had been there another hour — he had a wetsuit on, but he was quite cold and starting to cramp up," Coastguard president Garry Hawkins told the Chronicle.
The man went into the water from Kai Iwi to surf about 11.30am on Saturday. As time passed, friends or family on the beach became worried and phoned police at 1pm.