+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.
| 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.
| Country | Germany numbering plan |
|---|---|
| Line type | Mobile |
| Carrier the block was allocated to | Telekom |
| E.164 | +4915123456789 |
| International | +49 1512 3456789 |
| National | 01512 3456789 |
| RFC 3966 | tel:+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.
^(?: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})$| Number | National digits | Matches |
|---|---|---|
| 01512 3456789 | 15123456789 | Mobile |
| 030 123456 | 30123456 | Fixed line |
| 0800 1234567890 | 8001234567890 | not in the ticked types |
| 0180 1 2345 | 18012345 | not 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 portability | Yes |
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 type | National digits | Example, national | Example, E.164 |
|---|---|---|---|
| Mobile | 10 or 11 | 01512 3456789 | +4915123456789 |
| Fixed line | 5 to 15 | 030 123456 | +4930123456 |
| Toll-free | 10 to 15 | 0800 1234567890 | +498001234567890 |
| Shared cost | 7 to 14 | 0180 1 2345 | +4918012345 |
| Premium-rate | 10 or 11 | 0900 1 234567 | +499001234567 |
| Personal number | 11 | 0700 1234 5678 | +4970012345678 |
| Pager | 4 to 14 | 16412345 | +4916412345 |
| UAN | 8 to 14 | 018500 123456 | +4918500123456 |
| Voicemail | 12 or 13 | 0177 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})$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.
| Operator | Line type | Prefix blocks | Ranges |
|---|---|---|---|
| O2 | Mobile | 10 | 0163, 0176–0179, 01573, 01575, 01577–01578, 01590 |
| Vodafone | Mobile | 9 | 0162, 0172–0174, 01520, 01522–01523, 01525–01526 |
| Telekom | Mobile | 5 | 0151, 0160, 0170–0171, 0175 |
| 1&1 | Mobile | 2 | 01555–01556 |
| LEBARA | Mobile | 2 | 015510–015511 |
| Argon Networks | Mobile | 1 | 015678 |
| Easy World | Mobile | 1 | 015080 |
| Eplus/Sipgate | Mobile | 1 | 01579 |
| Eplus/Telogic | Mobile | 1 | 01570 |
| Interactive digital media | Mobile | 1 | 015020 |
| Mtel | Mobile | 1 | 01531 |
| Multiconnect | Mobile | 1 | 015630 |
5 more operators
| NAKA AG | Mobile | 1 | 015050 |
| TelcoVillage | Mobile | 1 | 015888 |
| Tismi BV | Mobile | 1 | 015019 |
| Vodafone/Lycamobile | Mobile | 1 | 01521 |
| Vodafone/Truphone | Mobile | 1 | 01529 |
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.