The 212 country code belongs to Morocco. Whether you're calling Casablanca, Marrakech, or anywhere else in Morocco, the +212 prefix connects you to the country's 37 million residents.

Quick Answer: The country code +212 is for Morocco. Moroccan phone numbers have 9 digits after the +212 prefix. Drop the leading 0 when dialing internationally. For example, a Casablanca number 0522-123456 becomes +212 522 123456.

How to Call Morocco: Quick Reference

The dialing format for Morocco varies depending on where you're calling from and what type of phone you're using. Here's a quick-reference table for the most common countries.

Calling From Dialing Format
US/Canada Mobile +212 [number without leading 0]
US/Canada Landline 011-212-[number without leading 0]
France 00-212-[number without leading 0]
Spain 00-212-[number without leading 0]
United Kingdom (UK) 00-212-[number without leading 0]
Belgium 00-212-[number without leading 0]

Morocco has a large diaspora in Europe, particularly in France, Spain, Italy, Belgium, and the Netherlands. Many Moroccans also live in the US and Canada.

Understanding Moroccan Phone Numbers

Moroccan phone numbers use a trunk prefix system. Within Morocco, all numbers start with 0. When calling from abroad, you drop this 0 and dial +212 followed by the rest of the number.

Mobile Numbers

Moroccan mobile numbers follow a consistent format:

  • Domestic Format: 06XX-XXXXXX or 07XX-XXXXXX (starts with 06 or 07).
  • International Format: Drop the 0, dial +212 6XX XXXXXX or +212 7XX XXXXXX.
  • Common Prefixes: 06 (older numbers), 07 (newer numbers).
  • Example: 0661-234567 becomes +212 661 234567.

Landline Numbers (Fixed Line)

Moroccan landline numbers have 3-digit area codes:

  • Structure: 0 + 3-digit area code + 6-digit local number.
  • All Start With 5: Landlines begin with 05XX domestically.
  • Trunk Prefix: The leading 0 is always dropped for international calls.
  • Example: Casablanca 0522-123456 becomes +212 522 123456.

Morocco Area Codes Reference Table

When calling a landline in Morocco, the area code follows the trunk prefix 0. Here are the area codes for major Moroccan cities:

City Domestic Code International Format
Casablanca 0522 +212 522 XXXXXX
Rabat 0537 +212 537 XXXXXX
Marrakech 0524 +212 524 XXXXXX
Fes 0535 +212 535 XXXXXX
Tangier 0539 +212 539 XXXXXX
Agadir 0528 +212 528 XXXXXX
Meknes 0535 +212 535 XXXXXX
Oujda 0536 +212 536 XXXXXX
Kenitra 0537 +212 537 XXXXXX
Tetouan 0539 +212 539 XXXXXX

Note: All Moroccan landline area codes start with 5. Some cities share area codes (e.g., Fes and Meknes both use 535).

Mobile vs. Landline: How to Tell the Difference

You can tell whether a +212 number is mobile or landline by the first digit after the country code:

  • Starts with 6 or 7: Always a mobile number.
  • Starts with 5: Always a landline number.

This distinction matters because calling rates to mobile and landline numbers often differ.

Dialing Examples

Here are practical examples for calling different types of Moroccan numbers from various locations:

Example 1: Calling a Casablanca Landline from the US

  • Moroccan Number: 0522-123456 (Casablanca area code 0522)
  • From a US Mobile: +212 522 123456
  • From a US Landline: 011 212 522 123456

Example 2: Calling a Moroccan Mobile from the US

  • Moroccan Number: 0661-234567
  • From a US Mobile: +212 661 234567
  • From a US Landline: 011 212 661 234567

Example 3: Calling a Marrakech Landline from France

  • Moroccan Number: 0524-456789 (Marrakech area code 0524)
  • From France: 00 212 524 456789

Example 4: Calling from Spain

  • Moroccan Number: Any number (e.g., 0712-345678)
  • From Spain: 00 212 712 345678

Best Times to Call Morocco

Morocco operates on Western European Time (WET), which is UTC+0 in winter and UTC+1 (WEST) during summer. Morocco also observes Ramadan, during which business hours may shift.

Here's how Morocco's time relates to other major time zones:

Your Location Time Difference Call Morocco 9 AM - 6 PM
US East Coast (EST) Morocco is 5 hours ahead 4 AM - 1 PM EST
US West Coast (PST) Morocco is 8 hours ahead 1 AM - 10 AM PST
UK (GMT/BST) Same time zone 9 AM - 6 PM GMT
France (CET) Morocco is 1 hour behind 10 AM - 7 PM CET
Spain (CET) Morocco is 1 hour behind 10 AM - 7 PM CET

Tip: Morocco is on the same time zone as the UK and Portugal. For European callers, this makes timing calls straightforward.

Common Mistakes to Avoid

A simple error can prevent your call from connecting. Here are the most common mistakes when dialing the 212 country code:

  • Keeping the leading 0: The trunk prefix 0 must be dropped when calling from abroad. Don't dial +212 0522, dial +212 522.
  • Confusing country codes: Don't mix up +212 (Morocco) with +213 (Algeria), +216 (Tunisia), or +1-212 (New York City area code).
  • Wrong digit count: Moroccan numbers have exactly 9 digits after +212 (not counting the dropped 0).
  • Forgetting Ramadan hours: During Ramadan, business hours often shift. Many offices close earlier and reopen after sunset.

Cheapest Ways to Call +212 Numbers

International calls to Morocco don't have to be expensive. While traditional carriers can charge $1-$3 per minute, better options exist:

  • VoIP Services: Services like CallSky.io offer competitive per-minute rates to Morocco. Check our international calling rates.
  • Messaging Apps: WhatsApp is extremely popular in Morocco and allows free calls over WiFi or data.
  • International Calling Plans: Some carriers offer Morocco in their international calling bundles. Check our guide to the best apps for WiFi calling.

Given the large Moroccan diaspora in Europe, many calling services offer competitive rates to Morocco.

Frequently Asked Questions (FAQ)

What country has the +212 country code?

The +212 country code is for Morocco. Any call from a number starting with +212 originates from Morocco.

How many digits is a Moroccan phone number?

Moroccan phone numbers have 9 digits after the +212 country code (not including the trunk prefix 0 which is dropped).

What is the area code for Casablanca?

The area code for Casablanca is 0522 domestically. For international calls, drop the 0 and dial +212 522 followed by the 6-digit local number.

What is the area code for Marrakech?

The area code for Marrakech is 0524 domestically. Internationally, dial +212 524 followed by the 6-digit local number.

How do I call Morocco from the USA?

From a mobile phone, dial +212 followed by the Moroccan number without the leading 0. From a landline, dial the US exit code 011, then 212, then the number without the leading 0.

What time should I call Morocco from the US?

Morocco is 5 hours ahead of US Eastern Time and 8 hours ahead of Pacific Time. To reach someone during Moroccan business hours (9 AM - 6 PM), call between 4 AM - 1 PM EST or 1 AM - 10 AM PST.

Is +212 Morocco or Algeria?

+212 is the country code for Morocco. The country code for Algeria is +213.


Ready to make clear, affordable international calls without the hassle? With CallSky.io, you can connect to over 180 countries, including Morocco, with crystal-clear quality and transparent per-minute rates. Start calling with CallSky.io today.