Skip to content
AI Dialer

Africa · MA

Morocco country code: +212

  • Exit code from Morocco: 00
  • Time zone: UTC+1 (shifts during Ramadan)

Reviewed by Sujan ThapaliyaLast updated

What is the country code for Morocco?

The country code for Morocco is +212. To call Morocco from the United States, dial 011 212 followed by the local number with its leading 0 removed. From a mobile, dial +212 directly. A Morocco number in full international format looks like +212 612 34 56 78.
How an international call to Morocco is composed: your own exit code, then Morocco's country calling code 212, then the national number with its leading 0 removed. Written in full E.164 form a Morocco number looks like +212 612 34 56 78. From a mobile, typing + replaces the exit code and works from any country.
The middle block is the only part fixed by Morocco. The exit code changes with wherever you happen to be calling from.

Morocco at a glance

Country calling code
+212
ISO country code
MA
Exit code (dialling out of Morocco)
00
The prefix people in this country dial to reach another country.
National trunk prefix
0
Drop the 0 when dialling from abroad.
Number length
9 digits after the trunk 0
Time zone
UTC+1 (shifts during Ramadan)

Dialing

How to call Morocco: step by step

The full sequence is: exit code + 212 + local number (minus the leading 0).

  1. 1

    Dial your exit code

    From the United States and Canada that is 011. From most of Europe, Asia, and Africa it is 00. On any mobile you can simply press and hold 0 to get a + instead, which works from anywhere.
  2. 2

    Dial 212

    212 is the country calling code for Morocco. It never changes and it is the same from every country in the world.
  3. 3

    Drop the leading 0

    Numbers written for domestic use in Morocco start with a 0. That is a national trunk prefix, not part of the number; remove it when dialling from abroad. 522 12 34 56 is what you dial after +212.
  4. 4

    Check the time first

    Morocco is on UTC+1 (shifts during Ramadan). Business calls placed outside local working hours are the most common reason an international call goes unanswered.

Worth knowing

Morocco moves its clock back an hour for Ramadan each year, the only country on this list that does.

Number format

What a Morocco phone number looks like

The examples below are format patterns showing digit grouping. They are not working numbers.

TypeFormatExample
Landline+212 5XX XX XX XX+212 522 12 34 56
Mobile+212 6XX XX XX XX+212 612 34 56 78

Frequently asked questions

What is the country code for Morocco?
The country code for Morocco is +212. Written in full international (E.164) format, a Morocco number looks like +212 612 34 56 78.
How do I call Morocco from the United States?
Dial 011, then 212, then the local number with its leading 0 removed. From a mobile you can dial +212 directly instead of 011.
How many digits is a Morocco phone number?
9 digits after the trunk 0. Written internationally it becomes +212 followed by that national number.
Do I keep the 0 when calling Morocco from abroad?
No. The leading 0 is a domestic trunk prefix. Dial +212 followed by the number with the 0 removed. Including it is the single most common reason calls to Morocco fail.
What time is it in Morocco?
Morocco is on UTC+1 (shifts during Ramadan). Check the local time before calling; the safe business window is roughly 9am to 5pm local.

Sources

  1. ITU-T Recommendation E.164 — The international public telecommunication numbering planInternational Telecommunication UnionThe international number format, the 15-digit maximum, and how country codes and national numbers compose.
  2. ITU-T International Numbering ResourcesInternational Telecommunication UnionThe assignment of country calling codes and the published national numbering plans they belong to.

Call anywhere from numbers you actually own

Owned numbers in over 100 countries, branded caller ID, and transparent per-minute rates from a prepaid wallet. No seat licences.

  • No subscription
  • Instant activation
  • Cancel anytime