The agency's representative in Pakistan, Guenet Guebre Christos, said "refugee camps must retain their civilian nature."
The agency said the 230,000 Afghans now living in those camps would have a choice of voluntary repatriation, or relocation to other camps in Pakistan.
Islamabad has said militants use the camps while moving to and from Afghanistan.
(AFP, unhcr.org)