Switzerland phone number format

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

Example mobile number

Country calling code+41
National format078 123 45 67
International format+41 78 123 45 67
E.164 (use this in APIs)+41781234567
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 Switzerland 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=%2B41781234567" \
  -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 Switzerland?

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

How many digits is a Switzerland phone number?

9 digits after the +41 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 Switzerland from abroad?

No. The 0 is a national trunk prefix used only inside Switzerland. Dialling internationally you drop it and use +41 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 →