GeoNet said the offshore quake hit at 12:49 a.m. local time. The quake was 33 km deep, and about 700 km northeast of Gisborne, a city in the east coast of the North Island.
A police spokesperson said no damage had been reported as a result of the quake.
The National Emergency Management Agency announced there is no tsunami threat to New Zealand following the earthquake.
More about: #NewZealand