Telephone numbers in Morocco

All phone numbers in Morocco are 9 digits in length (excluding the leading 0).

Morocco telephone numbers
Location
CountryMorocco
ContinentAfrica
NSN length9
Typical format0652238256
Access codes
International call prefix00
Trunk prefix0

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 (fixed), M = Médi Telecom (NGN), W = WANA (Maroc Connect) (fixed NGN), X = WANA (Maroc Connect) (fixed GSM(?))

From other countries From Morocco In 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 (M)2006-05-29
+212-521-xxxxxx0521-xxxxxxCasablanca, Beni Mellal, Berrechid,
El Jadida, Khouribga, Settat and Mohammedia (M)
2006-05-29
+212-5222-xxxxx05222-xxxxxCasablanca (I)
+212-5223-xxxxx05223-xxxxxCasablanca (I)
+212-5224-xxxxx05224-xxxxxCasablanca (I)
+212-5225-xxxxx05225-xxxxxCasablanca (I)
+212-5226-xxxxx05226-xxxxxCasablanca (I)
+212-5227-xxxxx05227-xxxxxCasablanca (I)
+212-5228-xxxxx05228-xxxxxCasablanca (I)
+212-5229-xxxxx05229-xxxxxCasablanca (I)
+212-5232-xxxxx05232-xxxxxMohammedia (I)
+212-5233-xxxxx05233-xxxxxEl Jedida and Mohammedia (I)
+212-5234-xxxxx05234-xxxxxSettat (I)
+212-5235-xxxxx05235-xxxxxOued Zem (I)
+212-5237-xxxxx05237-xxxxxSettat (I)
+212-5242-xxxxx05242-xxxxxEl Kelaa des Sraghna (I)
+212-5243-xxxxx05243-xxxxxMarrakech (I)
+212-5244-xxxxx05244-xxxxxMarrakech (I)
+212-5246-xxxxx05246-xxxxxEl Youssoufia and Safi (I)
+212-5247-xxxxx05247-xxxxxEssaouira (I)
+212-5248-xxxxx05248-xxxxxOuarzazate (I)
+212-525-xxxxxx0525-xxxxxxMarrakech, Agadir, Dakhla, Essaouira,
Laayoune, Ouarzazate and Safi (M)
2006-05-29
+212-526-xxxxxx0526-xxxxxxServices with restricted mobility (X)
+212-527-xxxxxx0527-xxxxxxServices with restricted mobility (X)
+212-5282-xxxxx05282-xxxxxAgadir, Ait Meloul and Inezgane (I)
+212-5283-xxxxx05283-xxxxxInezgane and Taroudannt (I)
+212-5285-xxxxx05285-xxxxxOulad Teima, Taroudannt (I)
+212-5286-xxxxx05286-xxxxxTiznit (I)
+212-52867-xxxxx052867-xxxxxLakhssas (I)
+212-5287-xxxxx05287-xxxxxGuelmim, Tan Tan (I)
+212-5288-xxxxx05288-xxxxxAgadir, Es-Semara, Tarfaya (I)
+212-5289-xxxxx05289-xxxxxDakhla, Laayoune (I)
+212-5290-xxxxx05290-xxxxxCasablanca (W)
+212-52980-xxxx052980-xxxxMarrakech and surrounding area (W)
+212-52990-xxxx052990-xxxxAgadir and surrounding area (W)
+212-530-xxxxxx0530-xxxxxxRabat, Kenitra (M)2006-05-29
+212-531-xxxxxx0531-xxxxxxTangier, Al Hoceima, Larache, Tetouan (M)2006-05-29
+212-532-xxxxxx0532-xxxxxxFes, Errachidia, Meknes, Nador, Oujda, Taza (M)2006-05-29
+212-533-xxxxxx0533-xxxxxxServices with restricted mobility (X)
+212-534-xxxxxx0534-xxxxxxServices with restricted mobility (X)
+212-5352-xxxxx05352-xxxxxTaza (I)
+212-5353-xxxxx05353-xxxxxMidelt (I)
+212-5354-xxxxx05354-xxxxxMeknès (I)
+212-5355-xxxxx05355-xxxxxMeknès (I)
+212-5356-xxxxx05356-xxxxxFès (I)
+212-5357-xxxxx05357-xxxxxGoulmima (I)
+212-5358-xxxxx05358-xxxxxIfrane (I)
+212-5359-xxxxx05359-xxxxxFès (I)
+212-5362-xxxxx05362-xxxxxBerkane (I)
+212-5363-xxxxx05363-xxxxxNador (I)
+212-5365-xxxxx05365-xxxxxOujda (I)
+212-5366-xxxxx05366-xxxxxFiguig, Oujda (I)
+212-5367-xxxxx05367-xxxxxBouarfa, Oujda (I)
+212-5368-xxxxx05368-xxxxxFiguig (I)
+212-5372-xxxxx05372-xxxxxRabat (I)
+212-5373-xxxxx05373-xxxxxKénitra (I)
+212-5374-xxxxx05374-xxxxxOuazzane (I)
+212-5375-xxxxx05375-xxxxxSidi Slimane, Khémisset (I)
+212-5376-xxxxx05376-xxxxxRabat, Témara (I)
+212-5377-xxxxx05377-xxxxxRabat (I)
+212-5378-xxxxx05378-xxxxxSalé (I)
+212-5379-xxxxx05379-xxxxxSouk Larbaa (I)
+212-5380-xxxxx05380-xxxxxRabat and surrounding area (W)
+212-53880-xxxx053880-xxxxTangier and surrounding area (W)
+212-53890-xxxx053890-xxxxFès, Meknès and surrounding area (W)
+212-5393-xxxxx05393-xxxxxTangier (I)
+212-5394-xxxxx05394-xxxxxAsilah (I)
+212-5395-xxxxx05395-xxxxxLarache (I)
+212-5396-xxxxx05396-xxxxxFnideq, Martil, Mdiq (I)
+212-5397-xxxxx05397-xxxxxTétouan (I)
+212-5398-xxxxx05398-xxxxxAl Hoceima, Chefchaouen (I)
+212-5399-xxxxx05399-xxxxxAl Hoceima, Larache, Tangier (I)
+212-6xxxxxxxx06xxxxxxxxMobile networks (GSM)
+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- (X)
+212-637-xxxxxx0637-xxxxxx- (X)
+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 (GSM)
+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 (satellite network)2005-01-27
+212-8921-xxxxx08921-xxxxxGlobalStar North Africa GMPCS (satellite network)2005-01-27
+212-8922-xxxxx08922-xxxxxGlobalStar North Africa GMPCS (satellite network)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 (2006-03-24 23:00 UTC), 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 Area Before 2000-10-13 2000-10-13/2006-03-24 2006-03-24/2009-03-07 After 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
gollark: It's U N D E F I N E D, it doesn't have to behave consistently or like actual values.
gollark: Technically uninitialized memory isn't 0 and undefined behavior bees.
gollark: Fun things?
gollark: ```c#define let int#define var char#include <stdlib.h>#include <string.h>#include <stdio.h>let main() { var *j = 0; for (let i = 0; i < 10000; i++) { j = malloc(i); strcpy(j, "bees"); free(j); } var* lyricLy_bad = malloc(3); printf("%s", j);}```
gollark: tio!debug
    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.