+212 explained
The Morocco country code, 212, is what you dial before a Morocco number when you call from abroad. It is also known as the Morocco dialing code, Morocco calling code, or Morocco phone code. In the Morocco phone number format, +212 comes first, then the area code, such as 520 for Casablanca, then the local number.
- Country code
- +212
- The 00212 country code is the same number
- ISO country codes
- MA, MAR
- Use the MA country code or the MAR country code on forms and passports. To call Morocco, dial +212
- Used in
- Morocco
- Also on +212: Western Sahara
- Exit code
- 00
- From most countries. Also 011 from United States and Canada, 0011 from Australia, and + from any mobile
- Trunk prefix
- 0
- Drop it after +212
- Number length
- 9 digits
- After +212
- Time now in Morocco
- Morocco mobile number format
- 06 50 12 34 56
- From abroad: +212 6 50 12 34 56
- Morocco landline number format
- 05 20 12 34 56
- From abroad: +212 5 20 12 34 56
+212 area codes of main cities
Each +212 area code below is in the form you dial from abroad: +212, then the city code, then the local number. Inside Morocco, callers leave out +212 and put 0 in front of the city code. So Casablanca is +212 520 from abroad and 0520 at home.
- Casablanca
- +212520
- Fรจs
- +2125356
- Marrakech
- +2125243
- Agadir
- +2125297
- Meknรจs
- +2125354
- Mohammedia
- +2125232
- Settat
- +2125237
- Taza
- +2125352
- Essaouira
- +2125247
Morocco phone number types
The first digits of a Morocco number tell you what kind of number it is: a landline, a mobile, a free number, or one that costs more to call. Here is a sample of each type of Morocco phone number, as dialed inside Morocco and from abroad.
Good to know before you call Morocco
โAllรดโ
Hello, the French word people in Morocco use to answer the phone
Reply
โAllรดโ
Morocco added a digit to every phone number on 7 March 2009. A 5 went in front of fixed lines and a 6 in front of mobiles, the digits that still lead every number today.
Wikipedia: Telephone numbers in MoroccoMorocco's satellite phones use numbers starting 0892. GlobalStar North Africa has run that network since 27 January 2005.
Wikipedia: Telephone numbers in MoroccoMorocco merged its numbering regions in 2006. Area code 04 joined 02 to cover the south, and 05 joined 03 to cover the north.
Wikipedia: Telephone numbers in Morocco
What it costs to call Morocco (using Suparelay)
Landline from $0.50/minMobile from $1.43/min
Only 27 of 220 countries cost more to call than Morocco.
Enter a numberEach bar counts the countries at that price
Want to call Morocco?
Call any phone from this tab. Nothing to install on either side, and you pay cents a minute.
Why a call to Morocco fails
You call from: ๐บ๐ธ United States
The 0 is still in the number
The 0 at the start of a Moroccan number is for calls inside Morocco. From abroad, leave it out: +212 takes its place.
- Connects
- 011 212 5 20 12 34 56
- Does not connect
- 011 212 05 20 12 34 56
The exit code is wrong for your country
00 works from Morocco, Europe, and most of the world. From the US and Canada the exit code is 011.
- Connects
- 011 212 5 20 12 34 56
- Does not connect
- 00 212 5 20 12 34 56
The number does not take calls from abroad
Numbers that start with 080, Morocco's toll-free and shared-cost range, often cannot be reached from outside the country.
- Connects
- 011 212 5 20 12 34 56
- Does not connect
- 011 212 80 1234567
Questions about +212
Which country is +212?
+212, or country code 212, belongs to Morocco.
What is +212?
+212 is the part you dial before a Moroccan number when you call from another country. It replaces the 0, Morocco's trunk prefix.
What is the difference between +212 and 00212?
The + stands for your exit code. 00 is the exit code in Morocco, Europe, and most of the world, so the 00212 country code and +212 reach the same number there. From the US and Canada, dial 011 212 instead.
Do I drop the 0 after +212?
Yes. The 0 is Morocco's trunk prefix and works only inside the country. Dial +212 520 12 34 56, not +212 0520 12 34 56.
Can I text a +212 number?
Yes. Write the number as +212 without its first 0, like +212520123456 for a Casablanca line. Your phone sends the text abroad at your carrier's international rate.
How much does it cost to call Morocco?
The dialer on this page shows the exact price of the number you enter before you call.
Is the MA country code the same as +212?
No. MA is the ISO code of Morocco, used in forms and address lists. The number you dial is +212.
Why do Moroccan phone numbers start with 5 or 6?
A digit was added to every number on 7 March 2009. A 5 went in front of fixed lines and a 6 in front of mobiles.
The information on this page is accurate as of September 26, 2026.
Wikipedia: Telephone numbers in Morocco