New Zealand phone number format

Country code +64, 9 digits after it. Below is the same example written every way you are likely to need it.

Example mobile number

Country calling code+64
National format021 123 4567
International format+64 21 123 4567
E.164 (use this in APIs)+64211234567
Digits after country code9
National trunk prefix0

This is a numbering-plan example, not a real subscriber’s line. It is generated from the same data the validator uses, so it always matches what the API accepts.

Check a real New Zealand number

Formatting is the easy half. The validator reports whether the number is actually allocated, its line type, and a risk score — free, no signup.

Open the free phone validator →

From your code

curl "https://www.layercall.com/v1/lookup/phone?phone=%2B64211234567" \
  -H "X-Api-Key: YOUR_KEY"

1,000 lookups a month free, no card. Get an API key.

Questions

What is the country code for New Zealand?

New Zealand's country calling code is +64. In E.164 — the format almost every API, SMS gateway and CRM expects — it is written with no spaces, brackets or dashes, like +64211234567.

How many digits is a New Zealand phone number?

9 digits after the +64 country code. Written nationally it may show a leading 0 trunk prefix, which is dropped in international form.

Does the leading 0 get included when dialling New Zealand from abroad?

No. The 0 is a national trunk prefix used only inside New Zealand. Dialling internationally you drop it and use +64 instead — this is the single most common cause of "invalid number" errors in signup forms.

Is a correctly formatted number the same as a real one?

No, and conflating the two is the usual mistake. Formatting only says a number could exist. It does not say whether the range was ever allocated, whether it is mobile, fixed line or VoIP, or whether it is worth trusting on a signup — those need a lookup against numbering-plan data.

Other countries

All 49 countries →