The final group of inmates have been transferred from Wellington Correctional Centre after a decision to evacuate the prison due to Western NSW's mice plague.
Corrective Services NSW Commissioner Peter Severin praised staff for their management in transporting more than 420 inmates to nine different prisons across the state.
"This two-week operation was unprecedented and I want to thank the staff involved for ensuring it was a success," he said.
READ MORE COURT AND CRIME:
"The safe and secure transport of these inmates - 270 of them maximum-security - involved the collaboration of officers working in custodial, transport, intelligence, sentence administration and finance.
As part of the operation, 31 transport trucks moved 50 women to Dillwynia and Broken Hill correctional centres.
The men were transported to the Metropolitan Remand and Reception Centre, Bathurst, Lithgow, Junee, Macquarie, Tamworth and South Coast correctional centres.
Assistant Commissioner Custodial Corrections Kevin Corcoran said phase two of the operation would involve redeploying about 200 staff to other workplaces and training opportunities while remediation work is undertaken at the prison.
"The health, safety and wellbeing of staff and inmates are our priorities," he said.
"Removing all staff and inmates from the centre also allows us to review site infrastructure and complete remediation works and deep-cleaning as efficiently as possible.
"The remediation work is expected to be complete by the end of the year and will look at ways to protect the centre's infrastructure from future mice plagues."
An investigation continues into the full extent of damage caused by the mice, which have nibbled through internal wiring and destroyed ceiling and wall panels.
Mice carry infections that can spread to humans, either through direct contact or contact with soil, food and water contaminated by infected mice.