Skip to content

+98

Iran phone numbers

0912 345 6789

International +98 912 345 6789, E.164 +989123456789

The numbering plan of Iran: 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
+98
Exit code
00
Trunk prefix
0
Mobile digits
10
Fixed-line digits
6 or 7 or 10
Number portability
yes
Carriers on record
6

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

Line types in the plan:MobileFixed lineUAN
Mobile numbers start with:090091092093099
Mobile prefix blocks by operator
IR-MCI
11
Rightel
5
Irancell
4
Aptel
1
MTCE
1
1 other operators
1

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

+98
country code
912
network code
3456789
subscriber number
CountryIran numbering plan
Line typeMobile
Carrier the block was allocated toIR-MCI
E.164+989123456789
International+98 912 345 6789
National0912 345 6789
RFC 3966tel:+98-912-345-6789

Source: National numbering plan: Iran (Islamic Republic of) (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 +98, no trunk prefix 0); nothing leaves your browser.

Line types to accept
^(?:9(?:(?:0[0-5]|[13]\d|2[0-3])\d\d|9(?:[0-46]\d\d|5(?:10|5\d)|8(?:[12]\d|3[0-2]|88)|9(?:[0-359]\d|69|77|8[7-9])))\d{5}|(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\d{7}|[16]\d{3}(?:\d{4})?|[289]\d{3}(?:\d(?:\d{3})?)?)|94(?:000[09]|(?:12\d|30[0-2])\d|2(?:[02689]0\d|121)|4(?:111|40\d))\d{4})$
NumberNational digitsMatches
0912 345 67899123456789Mobile
021 2345 67892123456789Fixed line
096019601not 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. 23 blocks held by 6 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+98
International exit code (dialling out)00
Trunk prefix (national dialling)0
Mobile number length (national digits)10
Fixed-line number length (national digits)6 or 7 or 10 (4 or 5 or 8 dialled locally)
E.164 example+989123456789
RFC 3966 (tel: URI)tel:+98-912-345-6789
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 +98. The patterns follow the national numbering plan and are anchored here.

Line typeNational digitsExample, nationalExample, E.164
Mobile100912 345 6789+989123456789
Fixed line6 or 7 or 10021 2345 6789+982123456789
UAN4 or 509601+989601

Mobile, 10 digits

^(?:9(?:(?:0[0-5]|[13]\d|2[0-3])\d\d|9(?:[0-46]\d\d|5(?:10|5\d)|8(?:[12]\d|3[0-2]|88)|9(?:[0-359]\d|69|77|8[7-9])))\d{5})$

Fixed line, 6 or 7 or 10 digits

^(?:(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\d{7}|[16]\d{3}(?:\d{4})?|[289]\d{3}(?:\d(?:\d{3})?)?)|94(?:000[09]|(?:12\d|30[0-2])\d|2(?:[02689]0\d|121)|4(?:111|40\d))\d{4})$

UAN, 4 or 5 digits

^(?:96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))$

Carrier prefix blocks

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

OperatorLine typePrefix blocksRanges
IR-MCIMobile11091, 0932, 0990–0994, 0996, 09990, 09995–09996
RightelMobile5092, 0998, 09992, 09998–09999
IrancellMobile4090, 093, 09955, 09991
AptelMobile109993
MTCEMobile10931
TeleKishMobile10934

Questions developers ask

How many digits does a phone number in Iran have?
Mobile numbers have 10 national digits. Fixed line numbers have 6 or 7 or 10 national digits (4 or 5 or 8 when dialled locally). That is the national number, without the country code +98 and without the trunk prefix 0.
What is the country code for Iran?
+98. From abroad, dial your own exit code, then 98, then the national number without its trunk prefix 0. From inside Iran, the exit code for international calls is 00.
Which prefixes are mobile numbers in Iran?
Mobile numbers start with 090, 091, 092, 093 or 099 in national form; the mobile regular expression on this page gives the exact ranges (example: 0912 345 6789). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Iran be ported to another carrier?
Yes. Iran 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.