Skip to content

Glossary

Trunk prefix: the 0 you drop in international format

A trunk prefix is the digit dialed before a national number, such as the leading 0 in the UK or France. Why it is dropped in E.164 and how it trips forms.

Updated 2026-11-23

A trunk prefix is the digit or digits dialed in front of a national number when calling inside the same country but outside the local area or network. In the United Kingdom, France and Germany it is 0. In the North American plan it is 1. It is dialing behavior, not part of the number, so it is left out of the international form.

How it works

Think of three layers in what a person types:

Layer Example (UK) Purpose
International prefix 00 or + Leaves the country
Country calling code 44 Selects the country
Trunk prefix 0 Selects national routing
National number 7400 123456 The line

Dialing from abroad, you use the first, second and fourth layers. Dialing from inside the country, you use the third and fourth. The trunk prefix is therefore never combined with the country code.

Written nationally E.164
07400 123456 (UK) +447400123456
06 12 34 56 78 (France) +33612345678
0151 1234567 (Germany) +491511234567
1 (415) 555-0123 (US) +14155550123

Exceptions exist. Some countries have no trunk prefix at all. In some plans, such as Italian landlines, the leading 0 is part of the number and stays after the country code. Any rule that says "always drop the first 0" is wrong for those. The national plan decides.

You may also see the written form +44 (0) 7400 123456, which tells domestic callers to dial the 0 and international callers to skip it. A parser must remove the bracketed zero.

Why it matters for validation

The trunk prefix is the number one source of malformed E.164 values. A form that glues +44 and 07400123456 produces +4407400123456, which has one digit too many and fails the numbering plan.

Qelka reads the number the way the destination country's plan does. Given 07400 123456 with country set to GB, it strips the trunk prefix and returns e164 as +447400123456. Given the same digits with no country, the status is unknown: without the country, the digits cannot be read. Send the country whenever the user types a national number. The phone API documents both cases.

Guidance for forms:

  • Let the user pick a country, then accept the national format with the trunk prefix.
  • Strip non-digits, then let the validator remove the prefix.
  • Never concatenate the country code and the raw input yourself.

The E.164 format explained article has more country examples.

Frequently asked questions

What is a trunk prefix?
A trunk prefix is a digit or digits dialed before a number to reach another area or network inside the same country, such as 0 in the United Kingdom, France and Germany or 1 in the NANP. It is not part of the number itself, which is why it disappears when you write the number in international format.
Do I drop the leading 0 in international format?
In most countries, yes. The 0 is a trunk prefix used only when dialing domestically. The UK number 07400 123456 is +447400123456 internationally. A few countries keep a digit that looks like a trunk prefix, such as Italy where leading 0 of landlines stays, so check the national plan.
What is the difference between a trunk prefix and an international prefix?
The trunk prefix is for calls inside a country, such as 0. The international prefix is for calls leaving the country, such as 00 in most of Europe or 011 in the NANP. The plus sign in E.164 replaces the international prefix, and the trunk prefix is dropped.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time