There were no immediate reports of deaths or damage.
GeoNet, which provides geological hazard information for New Zealand, reported nearly 2,000 people had felt the quake.
The monitoring organisation said they registered the tremor at 6.4.
There is no tsunami threat from the quake, New Zealand's Civil Defence said.
More about: #NewZealand