Skip to content

+49

Germany phone numbers

01512 3456789

International +49 1512 3456789, E.164 +4915123456789

The numbering plan of Germany: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as Bundesnetzagentur publishes it. A pattern says what a number looks like and where it was allocated; whether it is in service, and who serves it today, is a different question (below).

At a glance

Country code
+49
Exit code
00
Trunk prefix
0
Mobile digits
10 or 11
Fixed-line digits
5 to 15
Number portability
yes
Carriers on record
17

How to dial a number in Germany from anywhere: the dialling helper.

Mobile numbers start with:015016017
Mobile prefix blocks by operator
O2
10
Vodafone
9
Telekom
5
1&1
2
LEBARA
2
12 other operators
12

prefix blocks allocated, from the published records; a block is a prefix at the plan's allocation length

Check a number

Valid mobile number in Germany.

+49
country code
1512
network code
3456789
subscriber number
CountryGermany numbering plan
Line typeMobile
Carrier the block was allocated toTelekom
E.164+4915123456789
International+49 1512 3456789
National01512 3456789
RFC 3966tel:+49-1512-3456789

Source: Nummerierung (numbering) (Bundesnetzagentur); National numbering plans, ITU-T E.164 (ITU)

Test a pattern

Tick the line types you accept, copy the combined pattern, and paste numbers to see which range each one falls in. Numbers are reduced to their national digits first (no spaces, no +49, no trunk prefix 0); nothing leaves your browser.

Line types to accept
^(?:1(?:6[023]|7\d)\d{7,8}|15(?:[0-25-9]\d\d|3(?:10|33))\d{6}|32\d{9,11}|49[1-6]\d{10}|322\d{6}|49[0-7]\d{3,9}|(?:[34]0|[68]9)\d{3,13}|(?:2(?:0[1-689]|[1-3569]\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\d|[589][0-7]|6[0-8]|7[0-467]))\d{3,12})$
NumberNational digitsMatches
01512 345678915123456789Mobile
030 12345630123456Fixed line
0800 12345678908001234567890not in the ticked types
0180 1 234518012345not in the ticked types

Need another country, or the pattern as code in your language? Open the regex builder.

Walk the prefixes

Type the first digits of a number in national form, or tap them: the operators holding blocks under those digits, then the block a full prefix falls in. 40 blocks held by 17 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+49
International exit code (dialling out)00
Trunk prefix (national dialling)0
Mobile number length (national digits)10 or 11
Fixed-line number length (national digits)5 to 15 (2 to 4 dialled locally)
E.164 example+4915123456789
RFC 3966 (tel: URI)tel:+49-1512-3456789
Mobile number portabilityYes

Line types and their regular expressions

Match each pattern against the national significant number: digits only, without the trunk prefix 0 and without +49. The patterns follow the national numbering plan and are anchored here.

Line typeNational digitsExample, nationalExample, E.164
Mobile10 or 1101512 3456789+4915123456789
Fixed line5 to 15030 123456+4930123456
Toll-free10 to 150800 1234567890+498001234567890
Shared cost7 to 140180 1 2345+4918012345
Premium-rate10 or 110900 1 234567+499001234567
Personal number110700 1234 5678+4970012345678
Pager4 to 1416412345+4916412345
UAN8 to 14018500 123456+4918500123456
Voicemail12 or 130177 99 1234567+49177991234567

Mobile, 10 or 11 digits

^(?:1(?:6[023]|7\d)\d{7,8}|15(?:[0-25-9]\d\d|3(?:10|33))\d{6})$

Fixed line, 5 to 15 digits

^(?:32\d{9,11}|49[1-6]\d{10}|322\d{6}|49[0-7]\d{3,9}|(?:[34]0|[68]9)\d{3,13}|(?:2(?:0[1-689]|[1-3569]\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\d|[589][0-7]|6[0-8]|7[0-467]))\d{3,12})$

Toll-free, 10 to 15 digits

^(?:800\d{7,12})$

Shared cost, 7 to 14 digits

^(?:180\d{5,11}|13(?:7[1-6]\d\d|8)\d{4})$

Premium-rate, 10 or 11 digits

^(?:(?:137[7-9]|900(?:[135]|9\d))\d{6})$

Personal number, 11 digits

^(?:700\d{8})$

Pager, 4 to 14 digits

^(?:16(?:4\d{1,10}|[89]\d{1,11}))$

UAN, 8 to 14 digits

^(?:18(?:1\d{5,11}|[2-9]\d{8}))$

Voicemail, 12 or 13 digits

^(?:1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\d{7,8}|15(?:(?:[03-68]00|113)\d|2\d55|7\d99|9\d33)\d{7})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +49. Numbers are portable, so this is the original allocation, not necessarily the carrier serving a number today.

OperatorLine typePrefix blocksRanges
O2Mobile100163, 0176–0179, 01573, 01575, 01577–01578, 01590
VodafoneMobile90162, 0172–0174, 01520, 01522–01523, 01525–01526
TelekomMobile50151, 0160, 0170–0171, 0175
1&1Mobile201555–01556
LEBARAMobile2015510–015511
Argon NetworksMobile1015678
Easy WorldMobile1015080
Eplus/SipgateMobile101579
Eplus/TelogicMobile101570
Interactive digital mediaMobile1015020
MtelMobile101531
MulticonnectMobile1015630
5 more operators
NAKA AGMobile1015050
TelcoVillageMobile1015888
Tismi BVMobile1015019
Vodafone/LycamobileMobile101521
Vodafone/TruphoneMobile101529

Questions developers ask

How many digits does a phone number in Germany have?
Mobile numbers have 10 or 11 national digits. Fixed line numbers have 5 to 15 national digits (2 to 4 when dialled locally). That is the national number, without the country code +49 and without the trunk prefix 0.
What is the country code for Germany?
+49. From abroad, dial your own exit code, then 49, then the national number without its trunk prefix 0. From inside Germany, the exit code for international calls is 00.
Which prefixes are mobile numbers in Germany?
Mobile numbers start with 015, 016 or 017 in national form; the mobile regular expression on this page gives the exact ranges (example: 01512 3456789). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Germany be ported to another carrier?
Yes. Germany has mobile number portability, so a prefix tells you the carrier a number was originally allocated to, not necessarily the one serving it today. Only a live carrier lookup (an HLR or MNP query) answers that.