Police have found a prisoner who was on the run for three weeks hiding in a cupboard.

Ihaka Kawana, 22, escaped from police custody in Nelson on February 26 and was last night found in Hamilton - 756km from where he escaped.

"Acting on information received, Kawana was located overnight hiding in a cupboard at an address in Hamilton," police said in a statement.

Ihaka appeared in the Hamilton District Court this morning and has been remanded in custody until next Thursday.

Advertisement

Police said they would like to thank the public for their assistance.