Skip to content

+36

Hungary phone numbers

06 20 123 4567

International +36 20 123 4567, E.164 +36201234567

The numbering plan of Hungary: formats, lengths, the regular expression for each line type and the prefix blocks allocated to each carrier, as ITU 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
+36
Exit code
00
Trunk prefix
06
Mobile digits
9
Fixed-line digits
8
Number portability
yes
Carriers on record
7

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

Mobile numbers start with:06200630063106500670
Mobile prefix blocks by operator
One
43
MVM Net
2
Netfone Telecom
2
Vidanet
2
Magyar Telekom
1
2 other operators
2

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 Hungary.

+36
country code
20
network code
1234567
subscriber number
CountryHungary numbering plan
Line typeMobile
Carrier the block was allocated toYettel Hungary
E.164+36201234567
International+36 20 123 4567
National06 20 123 4567
RFC 3966tel:+36-20-123-4567

Source: National numbering plan: Hungary (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 +36, no trunk prefix 06); nothing leaves your browser.

Line types to accept
^(?:(?:[257]0|3[01])\d{7}|(?:1\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\d{6})$
NumberNational digitsMatches
06 20 123 4567201234567Mobile
(06 1) 234 567812345678Fixed line
06 80 123 45680123456not in the ticked types
06 21 123 4567211234567not 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. 52 blocks held by 7 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+36
International exit code (dialling out)00
Trunk prefix (national dialling)06
Mobile number length (national digits)9
Fixed-line number length (national digits)8 (6 or 7 dialled locally)
E.164 example+36201234567
RFC 3966 (tel: URI)tel:+36-20-123-4567
Mobile number portabilityYes

Line types and their regular expressions

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

Line typeNational digitsExample, nationalExample, E.164
Mobile906 20 123 4567+36201234567
Fixed line8(06 1) 234 5678+3612345678
Toll-free8 or 906 80 123 456+3680123456
VoIP906 21 123 4567+36211234567
Premium-rate806 90 123 456+3690123456
UAN906 38 123 4567+36381234567

Mobile, 9 digits

^(?:(?:[257]0|3[01])\d{7})$

Fixed line, 8 digits

^(?:(?:1\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\d{6})$

Toll-free, 8 or 9 digits

^(?:(?:[48]0\d|680[29])\d{5})$

VoIP, 9 digits

^(?:21\d{7})$

Premium-rate, 8 digits

^(?:9[01]\d{6})$

UAN, 9 digits

^(?:38\d{7})$

Carrier prefix blocks

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

OperatorLine typePrefix blocksRanges
OneMobile430670, 06501–06502, 063121, 063178, 0631310–0631318, 0631320–0631328, 0631330–0631332, 0631700, 0631770–0631771, 0631790, 06313190–06313197, 06313199, 06313290–06313292, 06313666
MVM NetMobile206508–06509
Netfone TelecomMobile206312000–06312001
VidanetMobile206313330–06313331
Magyar TelekomMobile10630
TarrMobile10631701
Yettel HungaryMobile10620

Questions developers ask

How many digits does a phone number in Hungary have?
Mobile numbers have 9 national digits. Fixed line numbers have 8 national digits (6 or 7 when dialled locally). That is the national number, without the country code +36 and without the trunk prefix 06.
What is the country code for Hungary?
+36. From abroad, dial your own exit code, then 36, then the national number without its trunk prefix 06. From inside Hungary, the exit code for international calls is 00.
Which prefixes are mobile numbers in Hungary?
Mobile numbers start with 0620, 0630, 0631, 0650 or 0670 in national form; the mobile regular expression on this page gives the exact ranges (example: 06 20 123 4567). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Hungary be ported to another carrier?
Yes. Hungary 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.