New Zealand has successfully wiped out coronavirus after the final person known to have been infected recovered.

Prime Minister Jacinda Ardern said she was confident the country had halted the spread of COVID-19, but said it would “almost certainly” see more cases in the future.

“We are confident we have eliminated transmission of the virus in New Zealand for now, but elimination is not a point in time, it is a sustained effort,” she told a news conference.

“I do want to say again, we will almost certainly see cases here again, and that is not a sign that we have failed, it is a reality of this virus. But if and when that occurs we have to make sure, and we are, that we are prepared.”

It has been 17 days since the last new case was reported, with 40,000 tested in that time.

New Zealand has had 1,154 confirmed COVID-19 cases and 22 deaths.

There have been no new infections for 17 days and, until Monday, just one active case for more than a week.

A number of factors have helped the nation of five million eradicate the disease swiftly, according to experts.

Its isolated location in the South Pacific provided it time to observe how outbreaks spread in other countries, and Ms Arden acted decisively by imposing a strict lockdown early in the outbreak.