The second of two prisoners holed up since Friday morning in a disused watchtower at Auckland Prison at Paremoremo has come down of his own accord.
The prisoner is reported to be serial escaper Aaron Forden, nicknamed "Houdini". He came down from the tower around 7pm (local time) on Sunday.
Prison Services acting general manager Jeanette Burns said he was secured without incident.
"The last prisoner has come down from the tower and has been secured by prison staff. Everyone involved is safe," Burns said in a statement.
The next step will be an internal disciplinary process, she added.
TVNZ said the first prisoner was former Black Power member Damian Wereta, jailed for aggravated robbery.
He came down peacefully on Sunday before 2pm, a Corrections Department spokesman told NZ Newswire.
Corrections did not supply food or water to the tower, or access to a lawyer the men wanted to speak to.
The pair scaled the disused watchtower at the maximum security prison on Friday morning.
On Saturday, they put up a large sign with a message written in toothpaste that read, "Peaceful protest against departments", and "Contact Peter Williams QC".
Mr Williams is a long-time advocate of prison reform.
Corrections had ruled out storming the watchtower to avoid the risk of someone falling in a scuffle.