Almost a thousand motel rooms have been made available for homeless people to live in during the COVID-19 lockdown.
Across New Zealand, 962 motel units have been secured and 496 already have vulnerable people living in them.
Housing Minister Dr Megan Woods says it's been an immense effort across the board.
"Officials across Government are working with housing providers, iwi and Māori organisations, local government and social services to ensure our most vulnerable people have somewhere to live," she said in a statement on Sunday.
"Ensuring all New Zealanders are as safe as possible from the impacts of COVID-19 is a top priority for this government."
Paora Stanley, the chief executive officer for Ngai Te Rangi iwi social services, says without housing homeless people could be at risk for contracting and spreading the virus.
"It's all about infection control so if you've got people wandering around - homeless people with no masks and limited sanitation - if they pick up the virus they'll be spreading it in all manner of places," he said.
He says hoteliers have been "very open" to having vulnerable people in their rooms - and those that are worried about poor behaviour shouldn't be.
"I get it that people are worried about what happens if they start drinking or causing trouble," he told Newshub.
"We have doctors and social workers on-site to help people who may have addiction or psychological issues."
He says helping the vulnerable is the compassionate and humane thing to do.
"We're not going to have people on the streets with a potentially deadly virus about," he says.
"We can't be compassionate by proxy - compassionate means you commit to an action. Someone has to do it."
The organisations involved in housing the homeless are doing more than just providing a roof over peoples' heads.
"The various groups involved in this effort are assisting these people with food parcels, hygiene packs and sometimes providing them with phones so they can easily communicate with them during the lockdown," says Dr Woods.
Motel units have been made available in Northland, Auckland, Bay of Plenty, Waikato, East Coast, Central, Nelson/Tasman, Canterbury.
New Zealand is currently at alert level four - near-complete lockdown - to curb the spread of COVID-19.
All non-essential businesses have closed and people have all been urged to remain in their homes unless they have to leave for food or medicine.