Skip to content

+218

Libya phone numbers

091-2345678

International +218 91-2345678, E.164 +218912345678

The numbering plan of Libya: 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
+218
Exit code
00
Trunk prefix
0
Mobile digits
9
Fixed-line digits
9
Number portability
not listed
Carriers on record
3

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

Line types in the plan:MobileFixed line
Mobile numbers start with:091092093094095096
Mobile prefix blocks by operator
Al-Madar
2
Libya Telecom & Technology
2
Libyana
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 Libya.

+218
country code
91
network code
2345678
subscriber number
CountryLibya numbering plan
Line typeMobile
Carrier the block was allocated toAl-Madar
E.164+218912345678
International+218 91-2345678
National091-2345678
RFC 3966tel:+218-91-2345678

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

Line types to accept
^(?:9[1-6]\d{7}|(?:2(?:0[56]|[1-6]\d|7[124579]|8[124])|3(?:1\d|2[2356])|4(?:[17]\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\d|5[2-57]|8[1-5])|7(?:[13]\d|2[13-79])|8(?:[124]\d|5[124]|84))\d{6})$
NumberNational digitsMatches
091-2345678912345678Mobile
021-2345678212345678Fixed line

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. 6 blocks held by 3 operators are on record.

Type the first digits of a number in national form.

In full

Cheat sheet

Country code+218
International exit code (dialling out)00
Trunk prefix (national dialling)0
Mobile number length (national digits)9
Fixed-line number length (national digits)9 (7 dialled locally)
E.164 example+218912345678
RFC 3966 (tel: URI)tel:+218-91-2345678
Mobile number portabilityNot listed

Line types and their regular expressions

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

Line typeNational digitsExample, nationalExample, E.164
Mobile9091-2345678+218912345678
Fixed line9021-2345678+218212345678

Mobile, 9 digits

^(?:9[1-6]\d{7})$

Fixed line, 9 digits

^(?:(?:2(?:0[56]|[1-6]\d|7[124579]|8[124])|3(?:1\d|2[2356])|4(?:[17]\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\d|5[2-57]|8[1-5])|7(?:[13]\d|2[13-79])|8(?:[124]\d|5[124]|84))\d{6})$

Carrier prefix blocks

The operator each prefix block was allocated to, in national form, from the published allocation records for +218.

OperatorLine typePrefix blocksRanges
Al-MadarMobile2091, 093
Libya Telecom & TechnologyMobile2095–096
LibyanaMobile2092, 094

Questions developers ask

How many digits does a phone number in Libya have?
Mobile numbers have 9 national digits. Fixed line numbers have 9 national digits (7 when dialled locally). That is the national number, without the country code +218 and without the trunk prefix 0.
What is the country code for Libya?
+218. From abroad, dial your own exit code, then 218, then the national number without its trunk prefix 0. From inside Libya, the exit code for international calls is 00.
Which prefixes are mobile numbers in Libya?
Mobile numbers start with 091, 092, 093, 094, 095 or 096 in national form; the mobile regular expression on this page gives the exact ranges (example: 091-2345678). The carrier table shows which prefix blocks were allocated to which operator.
Can a mobile number in Libya be ported to another carrier?
Not on record. The plan data this page is built from does not list mobile number portability for Libya, so the carrier a prefix was allocated to is likely, not certainly, the carrier serving the number. Only a live carrier lookup (an HLR or MNP query) confirms it.