Telephone numbers in Morocco


All phone numbers in Morocco are 9 digits in length.
Morocco uses a closed numbering plan, i.e. the prefix is not omitted for local calls. This is necessary because the same geographic area can be served by several prefixes. Casablanca, for instance, has 10 prefixes.
Fixed and mobile prefixes belong exclusively to one phone company. On the following list, fixed networks are indicated by the following letters:
I = Itissalat Al-Maghrib, M = Médi Telecom, W = WANA , X = WANA
From other countriesFrom MoroccoIn operation since
0trunk prefix
00international prefix
not possible1x and 1xxSpecial services
not possible15fire brigade, ambulance
not possible19police
not possible177gendarmerie royale
+212-5xxxxxxxx05xxxxxxxxFixed numbers
+212-520-xxxxxx0520-xxxxxxCasablanca 2006-05-29
+212-521-xxxxxx0521-xxxxxxCasablanca, Beni Mellal, Berrechid,
El Jadida, Khouribga, Settat and Mohammedia
2006-05-29
+212-5222-xxxxx05222-xxxxxCasablanca
+212-5223-xxxxx05223-xxxxxCasablanca
+212-5224-xxxxx05224-xxxxxCasablanca
+212-5225-xxxxx05225-xxxxxCasablanca
+212-5226-xxxxx05226-xxxxxCasablanca
+212-5227-xxxxx05227-xxxxxCasablanca
+212-5228-xxxxx05228-xxxxxCasablanca
+212-5229-xxxxx05229-xxxxxCasablanca
+212-5232-xxxxx05232-xxxxxMohammedia
+212-5233-xxxxx05233-xxxxxEl Jedida and Mohammedia
+212-5234-xxxxx05234-xxxxxSettat
+212-5235-xxxxx05235-xxxxxOued Zem
+212-5237-xxxxx05237-xxxxxSettat
+212-5242-xxxxx05242-xxxxxEl Kelaa des Sraghna
+212-5243-xxxxx05243-xxxxxMarrakech
+212-5244-xxxxx05244-xxxxxMarrakech
+212-5246-xxxxx05246-xxxxxEl Youssoufia and Safi
+212-5247-xxxxx05247-xxxxxEssaouira
+212-5248-xxxxx05248-xxxxxOuarzazate
+212-525-xxxxxx0525-xxxxxxMarrakech, Agadir, Dakhla, Essaouira,
Laayoune, Ouarzazate and Safi
2006-05-29
+212-526-xxxxxx0526-xxxxxxServices with restricted mobility
+212-527-xxxxxx0527-xxxxxxServices with restricted mobility
+212-5282-xxxxx05282-xxxxxAgadir, Ait Meloul and Inezgane
+212-5283-xxxxx05283-xxxxxInezgane and Taroudannt
+212-5285-xxxxx05285-xxxxxOulad Teima, Taroudannt
+212-5286-xxxxx05286-xxxxxTiznit
+212-52867-xxxxx052867-xxxxxLakhssas
+212-5287-xxxxx05287-xxxxxGuelmim, Tan Tan
+212-5288-xxxxx05288-xxxxxAgadir, Es-Semara, Tarfaya
+212-5289-xxxxx05289-xxxxxDakhla, Laayoune
+212-5290-xxxxx05290-xxxxxCasablanca
+212-52980-xxxx052980-xxxxMarrakech and surrounding area
+212-52990-xxxx052990-xxxxAgadir and surrounding area
+212-530-xxxxxx0530-xxxxxxRabat, Kenitra 2006-05-29
+212-531-xxxxxx0531-xxxxxxTangier, Al Hoceima, Larache, Tetouan 2006-05-29
+212-532-xxxxxx0532-xxxxxxFes, Errachidia, Meknes, Nador, Oujda, Taza 2006-05-29
+212-533-xxxxxx0533-xxxxxxServices with restricted mobility
+212-534-xxxxxx0534-xxxxxxServices with restricted mobility
+212-5352-xxxxx05352-xxxxxTaza
+212-5353-xxxxx05353-xxxxxMidelt
+212-5354-xxxxx05354-xxxxxMeknès
+212-5355-xxxxx05355-xxxxxMeknès
+212-5356-xxxxx05356-xxxxxFès
+212-5357-xxxxx05357-xxxxxGoulmima
+212-5358-xxxxx05358-xxxxxIfrane
+212-5359-xxxxx05359-xxxxxFès
+212-5362-xxxxx05362-xxxxxBerkane
+212-5363-xxxxx05363-xxxxxNador
+212-5365-xxxxx05365-xxxxxOujda
+212-5366-xxxxx05366-xxxxxFiguig, Oujda
+212-5367-xxxxx05367-xxxxxBouarfa, Oujda
+212-5368-xxxxx05368-xxxxxFiguig
+212-5372-xxxxx05372-xxxxxRabat
+212-5373-xxxxx05373-xxxxxKénitra
+212-5374-xxxxx05374-xxxxxOuazzane
+212-5375-xxxxx05375-xxxxxSidi Slimane, Khémisset
+212-5376-xxxxx05376-xxxxxRabat, Témara
+212-5377-xxxxx05377-xxxxxRabat
+212-5378-xxxxx05378-xxxxxSalé
+212-5379-xxxxx05379-xxxxxSouk Larbaa
+212-5380-xxxxx05380-xxxxxRabat and surrounding area
+212-53880-xxxx053880-xxxxTangier and surrounding area
+212-53890-xxxx053890-xxxxFès, Meknès and surrounding area
+212-5393-xxxxx05393-xxxxxTangier
+212-5394-xxxxx05394-xxxxxAsilah
+212-5395-xxxxx05395-xxxxxLarache
+212-5396-xxxxx05396-xxxxxFnideq, Martil, Mdiq
+212-5397-xxxxx05397-xxxxxTétouan
+212-5398-xxxxx05398-xxxxxAl Hoceima, Chefchaouen
+212-5399-xxxxx05399-xxxxxAl Hoceima, Larache, Tangier
+212-6xxxxxxxx06xxxxxxxxMobile networks
+212-610-xxxxxx0610-xxxxxxItissalat Al-Maghrib
+212-611-xxxxxx0611-xxxxxxItissalat Al-Maghrib
+212-612-xxxxxx0612-xxxxxxMédi Telecom2006-04-10
+212-613-xxxxxx0613-xxxxxxItissalat Al-Maghrib
+212-614-xxxxxx0614-xxxxxxMédi Telecom2006-07-17
+212-615-xxxxxx0615-xxxxxxItissalat Al-Maghrib
+212-616-xxxxxx0616-xxxxxxItissalat Al-Maghrib
+212-617-xxxxxx0617-xxxxxxMédi Telecom
+212-618-xxxxxx0618-xxxxxxItissalat Al-Maghrib
+212-619-xxxxxx0619-xxxxxxMédi Telecom
+212-636-xxxxxx0636-xxxxxx-
+212-637-xxxxxx0637-xxxxxx-
+212-640-xxxxxx0640-xxxxxxWANA Corporate / 3G
+212-641-xxxxxx0641-xxxxxxItissalat Al-Maghrib
+212-642-xxxxxx0642-xxxxxxItissalat Al-Maghrib
+212-644-xxxxxx0644-xxxxxxMédi Telecom
+212-645-xxxxxx0645-xxxxxxMédi Telecom
+212-646-xxxxxx0646-xxxxxxWANA Corporate / 3G
+212-647-xxxxxx0647-xxxxxxWANA Corporate / 3G
+212-649-xxxxxx0649-xxxxxxMédi Telecom
+212-648-xxxxxx0648-xxxxxxItissalat Al-Maghrib
+212-650-xxxxxx0650-xxxxxxItissalat Al-Maghrib
+212-651-xxxxxx0651-xxxxxxItissalat Al-Maghrib
+212-652-xxxxxx0652-xxxxxxItissalat Al-Maghrib
+212-653-xxxxxx0653-xxxxxxItissalat Al-Maghrib
+212-654-xxxxxx0654-xxxxxxItissalat Al-Maghrib
+212-655-xxxxxx0655-xxxxxxItissalat Al-Maghrib
+212-656-xxxxxx0656-xxxxxxMédi Telecom
+212-657-xxxxxx0657-xxxxxxMédi Telecom
+212-658-xxxxxx0658-xxxxxxItissalat Al-Maghrib
+212-659-xxxxxx0659-xxxxxxItissalat Al-Maghrib
+212-660-xxxxxx0660-xxxxxxMédi Telecom
+212-661-xxxxxx0661-xxxxxxItissalat Al-Maghrib
+212-662-xxxxxx0662-xxxxxxItissalat Al-Maghrib
+212-663-xxxxxx0663-xxxxxxMédi Telecom
+212-664-xxxxxx0664-xxxxxxMédi Telecom
+212-665-xxxxxx0665-xxxxxxMédi Telecom
+212-666-xxxxxx0666-xxxxxxItissalat Al-Maghrib
+212-667-xxxxxx0667-xxxxxxItissalat Al-Maghrib
+212-668-xxxxxx0668-xxxxxxItissalat Al-Maghrib
+212-669-xxxxxx0669-xxxxxxMédi Telecom
+212-670-xxxxxx0670-xxxxxxItissalat Al-Maghrib
+212-671-xxxxxx0671-xxxxxxItissalat Al-Maghrib
+212-672-xxxxxx0672-xxxxxxItissalat Al-Maghrib
+212-673-xxxxxx0673-xxxxxxItissalat Al-Maghrib
+212-674-xxxxxx0674-xxxxxxMédi Telecom
+212-675-xxxxxx0675-xxxxxxMédi Telecom2005-03-15
+212-676-xxxxxx0676-xxxxxxItissalat Al-Maghrib2005-01-31
+212-677-xxxxxx0677-xxxxxxItissalat Al-Maghrib2005-06-13
+212-678-xxxxxx0678-xxxxxxItissalat Al-Maghrib2005-08-24
+212-679-xxxxxx0679-xxxxxxMédi Telecom2005-12-01
+212-7xxxxxxxx07xxxxxxxxMobile networks
+212-8xxxxxxxx08xxxxxxxxSpecial services
+212-80-xxxxxxx080-xxxxxxxtoll-free and shared-cost services
+212-89-xxxxxxx089-xxxxxxxpremium rate services
+212-8920-xxxxx08920-xxxxxGlobalStar North Africa GMPCS 2005-01-27
+212-8921-xxxxx08921-xxxxxGlobalStar North Africa GMPCS 2005-01-27
+212-8922-xxxxx08922-xxxxxGlobalStar North Africa GMPCS 2005-01-27

History

1990 - Transition to 6-digit numbers

In 1990, 6-digit phone numbers were introduced.

199x - Transition from 6-digit to 7-digit numbers

2000 - Transition from 7-digit to 8-digit numbers

On 2000-10-13 at 23:00 UTC, the numbering area in Morocco was split into 5 parts by adding another digit to all area codes in Morocco.

2006 - Merger of 04 into 02 and 05 into 03

Six years later, part of this split was reverted in order to make room for cellular networks. The 04 numbering area was merged into 02 and 05 was merged into 03, which caused 02 to cover the South while 03 covered the North. This could be done easily because there were no conflicts.

2009 - Transition from 8-digit to 9-digit numbers

On 2009-03-07 at 02:00 UTC, phone numbers in Morocco got another additional digit. A 5 was prepended to all fixed numbers while a 6 was prepended to mobile numbers. The 08 numbers became 080 and 09 became 089.
Geographic AreaBefore 2000-10-132000-10-13/2006-03-242006-03-24/2009-03-07After 2009-03-07
Casablanca, Settat0xxxxxxx02xxxxxxx02xxxxxxx052xxxxxxx
Rabat, Tangier, Tetouan0xxxxxxx03xxxxxxx03xxxxxxx053xxxxxxx
Agadir, Marrakech0xxxxxxx04xxxxxxx02xxxxxxx052xxxxxxx
Fès, Meknès, Oujda0xxxxxxx05xxxxxxx03xxxxxxx053xxxxxxx
mobile networks0xxxxxxx06xxxxxxx06xxxxxxx066xxxxxxx
mobile networks01xxxxxxx
07xxxxxxx
01xxxxxxx
07xxxxxxx
061xxxxxxx
067xxxxxxx
mobile networks04xxxxxxx
05xxxxxxx
064xxxxxxx
065xxxxxxx
toll-free and shared cost services08ab-cdef08ab-0-cdef08xxxxxxx080xxxxxxx
premium rate services92xxxx09-292xxxx09xxxxxxx089xxxxxxx