MA
Morocco Phone Number Format
Country code +212 — Complete guide to Morocco phone number formats, mobile and landline structures, and area codes.
How Morocco Phone Numbers Are Written
Phone numbers in Morocco have 9 digits after the country code +212.
Inside Morocco a number is written with a leading 0, which makes 10 digits:
06 XX XX XX XX.
Drop that 0 when you call from abroad or save the number in international format:
+212 6 XX XX XX XX.
| Country code | +212 |
|---|---|
| Digits after +212 | 9 digits |
| Trunk prefix (domestic calls) | 0, dropped after +212 |
| Mobile numbers start with | 06, 070–073 or 075–078 |
| Exit code (to call abroad from Morocco) | 00 |
| Dial from the US | 011 212 6 XX XX XX XX |
Mobile vs. Landline Numbers
9 digits after +212, starting with 06, 070–073 or 075–078.
06 XX XX XX XX at home+212 6 XX XX XX XX international9 digits after +212. Landlines begin with an area code, for example Casablanca:
05 XX XX XX XX at home+212 5 XX XX XX XX internationalMorocco Number Types
| Type | Starts with | Written at home | International | From the US |
|---|---|---|---|---|
| Mobile | 06, 070–073 or 075–078 | 06 XX XX XX XX |
+212 6 XX XX XX XX |
011 212 6 XX XX XX XX |
| Landline | 051–055 | 05 XX XX XX XX |
+212 5 XX XX XX XX |
011 212 5 XX XX XX XX |
| Toll-free | 080 | 080-XXXXXXX |
+212 80-XXXXXXX |
011 212 80-XXXXXXX |
| Premium rate | 089 | 089-XXXXXXX |
+212 89-XXXXXXX |
011 212 89-XXXXXXX |
| VoIP | — | 05 XX XX XX XX |
+212 5 XX XX XX XX |
011 212 5 XX XX XX XX |
X stands for any digit. Source: libphonenumber metadata (phonenumbers 9.0.40), Google's open numbering data.
Checking a number from Morocco? The phone number checker tells you if it is valid, mobile or landline, and gives its international format.
Morocco Area Codes
Major area codes in Morocco:
| Area Code | City / Region |
|---|---|
528 |
Agadir |
5299 |
Agadir et alentours |
5282 |
Agadir, Inezgane et Ait Meloul |
5229 |
Casablanca |
5290 |
Casablanca |
5228 |
Casablanca |
5227 |
Casablanca |
5226 |
Casablanca |
5225 |
Casablanca |
5224 |
Casablanca |
5223 |
Casablanca |
520 |
Casablanca |
5222 |
Casablanca |
5242 |
El Kelaa des Sraghna |
5288 |
Es-Semara, Agadir et Tarfaya |
5247 |
Essaouira |
55 |
Fes |
5287 |
Guelmim et Tan Tan |
5283 |
Inezgane et Taroudannt |
48 |
Läayoune |
5289 |
Laayoune et Dakhla |
44 |
Marrakech |
5243 |
Marrakech |
5244 |
Marrakech |
5298 |
Marrakech et alentours |
525 |
Marrakech, Agadir, Dakhla, Essaouira, La |
55 |
Meknes |
5232 |
Mohammedia |
5233 |
Mohammedia et El Jadida |
56 |
Nador |
524 |
Ouarzazate |
5248 |
Ouarzazate |
5235 |
Oued Zem |
56 |
Oujda |
37 |
Rabat |
5246 |
Safi et El Youssoufia |
23 |
Settat |
5237 |
Settat |
5234 |
Settat |
39 |
Tanger (Tangiers) |
5285 |
Taroudannt et Oulad Teima |
39 |
Tétouan |
5286 |
Tiznit |
Dialing Tips
- Remove the leading 0: When dialing internationally, drop the trunk prefix (0) that is used for domestic calls in Morocco.
-
Use the + notation: From a US mobile phone, use
+212instead of011 212. - Verify the number length: Numbers in Morocco have 9 digits after +212. If your call does not connect, check that no digit is missing or doubled.
-
Save contacts in international format: Always store phone numbers with the full
+212prefix so they work from any country.
Morocco Phone Number FAQ
How many digits does a phone number in Morocco have?
Phone numbers in Morocco have 9 digits after the country code +212. Written for domestic calls with the leading 0, a mobile number has 10 digits.
What do mobile numbers in Morocco start with?
Mobile numbers in Morocco start with 06, 070–073 or 075–078 when written for domestic calls. In international format the leading 0 is dropped: +212 6 XX XX XX XX.
How do I write a phone number from Morocco in international format?
Start with +212, then the national number without the leading 0. For example, a mobile number written 06 XX XX XX XX at home becomes +212 6 XX XX XX XX. From a US landline, dial 011 212 6 XX XX XX XX.
What is the toll-free prefix in Morocco?
Toll-free numbers in Morocco start with 080, for example 080-XXXXXXX. Many toll-free numbers can't be reached from abroad.
How do I call the US from Morocco?
Dial the exit code 00, then 1 and the 10-digit US number: 00 1 XXX XXX XXXX. From a mobile phone you can use + instead of 00: +1 XXX XXX XXXX.