+212 Indicativo: Morocco's Country Code and How to Dial It

Morocco's country code is +212. Learn how to dial Morocco from abroad, how Moroccan numbers work, and how to get online the moment you land.

4 min readFacts checked 8 October 2026

A smartphone showing the +212 country code for Morocco, with a map of Morocco and a travel eSIM QR code beside it

Short answer

Morocco's country code is +212. To call a Moroccan number from abroad, dial your international access code (00 from most of Europe, 011 from the US and Canada), then 212, then the Moroccan number without its leading zero. Mobile numbers begin 06 or 07, landlines begin 05, and the leading zero is dropped only when you dial from outside Morocco.

Morocco

Ready for your trip?

  1. 01Choose a plan
  2. 02Scan the QR code
  3. 03Switch on when you land

Get your eSIMeSIM compatible devices

In this guide
  1. What Morocco's country code is, and how to write it
  2. How to dial Morocco from your country
  3. What the first digits of a Moroccan number tell you
  4. Calling Morocco from a Moroccan eSIM
  5. Dialling out of Morocco to another country
  6. Emergency numbers in Morocco
  7. Common mistakes when dialling Morocco
  8. Do you need a Moroccan number at all?

What Morocco's country code is, and how to write it

Morocco's country code is +212. It replaced the older +212 7 and +212 8 splits years ago, and every Moroccan number now sits under the same +212 prefix.

In writing, you will see it as:

  • +212 6 12 34 56 78 — international format, the one to save in your phone
  • 00212 6 12 34 56 78 — the same number using the 00 international access code
  • 06 12 34 56 78 — how the number is written and dialled inside Morocco

The difference between the last two is the leading zero. Moroccan numbers are written locally with a zero in front; that zero is dropped when you dial from abroad. So 06 12 34 56 78 becomes +212 6 12 34 56 78.

How to dial Morocco from your country

The pattern is the same everywhere: exit code + 212 + number without the leading zero.

Calling from Dial
UK, Ireland, most of Europe 00 212 6 12 34 56 78
US and Canada 011 212 6 12 34 56 78
Australia 0011 212 6 12 34 56 78
Japan 010 212 6 12 34 56 78
Another Moroccan number 06 12 34 56 78 (no +212 needed)

If you are calling from a mobile, the simplest method is to save the number in international format with the plus sign. Your phone then inserts the right exit code automatically, wherever you are.

What the first digits of a Moroccan number tell you

Moroccan numbers are ten digits long including the leading zero. The first two digits say what kind of line it is:

  • 06 and 07 — mobile numbers, shared by Maroc Telecom, Orange and inwi
  • 05 — landlines and fixed lines, split by region
  • 08 — some business and service numbers

Mobile numbers are portable, so the prefix no longer reliably tells you which network a person uses. That matters less than it used to: calls between Moroccan networks are generally included in local plans, and visitors rarely need to know.

Calling Morocco from a Moroccan eSIM

If you are travelling in Morocco with a travel eSIM, you usually do not need to dial +212 at all. Once your eSIM is active and connected to a Moroccan network, you dial Moroccan numbers exactly as a local would: 06 12 34 56 78.

What you do need is data, because most travellers now call over WhatsApp, FaceTime or similar apps rather than the voice network. A data eSIM covers that. Our guide to eSIM for Morocco explains how the plans work, and Morocco network coverage shows which network reaches which region — useful if you are heading beyond the cities.

If you are still deciding between a travel eSIM and a SIM bought on arrival, Marrakech Airport SIM Card covers what is actually available at the airport and what it costs.

Dialling out of Morocco to another country

From a Moroccan line, dial 00, then the destination's country code, then the number. For example, to call the UK: 00 44 followed by the number without its leading zero. To call Egypt: 00 20. To call South Africa: 00 27.

If you are travelling across more than one of these countries, our guide to one eSIM across Morocco, Egypt and South Africa explains when a single regional plan makes sense and when separate country plans are simpler.

Emergency numbers in Morocco

Morocco uses short emergency numbers, dialled without any prefix:

  • 15 — medical assistance (SAMU)
  • 19 — police
  • 17 — gendarmerie, for incidents outside city limits
  • 15 also reaches the fire service in many areas

These work from any phone with a signal, including a travel eSIM, and do not need credit.

Common mistakes when dialling Morocco

  • Keeping the leading zero. +212 06 12 34 56 78 will not connect. Drop the zero: +212 6 12 34 56 78.
  • Using the wrong exit code. 00 works from most of Europe; the US and Canada use 011.
  • Confusing +212 with +20. Morocco is +212; Egypt is +20. They look similar and are easy to mix up.
  • Assuming a Moroccan number works abroad. A local Moroccan SIM will usually roam, but charges apply. A travel eSIM avoids that entirely.

Do you need a Moroccan number at all?

For most trips, no. If your reason for calling Morocco is to reach a riad, a tour operator or a taxi, WhatsApp is the default channel in Morocco and almost everyone uses it. A data eSIM gives you that, plus maps, translation and bookings, without a contract or ID registration.

If you do need a local voice number — for a longer stay, a rental agreement or a local bank — you will need a physical Moroccan SIM, which requires ID registration. Our guide to eSIM or physical SIM compares the two honestly.

For a short trip, the practical answer is a Morocco eSIM installed before you fly, active when you land. You keep your home number for calls and messages, and you get Moroccan data from the moment you switch the eSIM on.

Questions travellers ask

What is Morocco's country code?
Morocco's country code is +212. Dial your country's exit code, then 212, then the Moroccan number without its leading zero.
Do I drop the zero when calling Morocco?
Yes. Moroccan numbers are written locally with a leading zero, such as 06 12 34 56 78. When dialling from abroad, drop that zero: +212 6 12 34 56 78.
How do I call a Moroccan mobile from the US?
Dial 011, then 212, then the number without the leading zero. So 06 12 34 56 78 becomes 011 212 6 12 34 56 78.
Is +212 the same as +20?
No. +212 is Morocco and +20 is Egypt. The numbers look similar, so check before you dial.
Do I need a Moroccan phone number to use WhatsApp in Morocco?
No. WhatsApp works over data with your existing number. A Morocco eSIM gives you the data, and you keep your usual WhatsApp account.
What are Morocco's emergency numbers?
15 for medical assistance, 19 for police and 17 for the gendarmerie outside cities. They work from any phone with a signal.

Sources

Facts checked 8 October 2026

  1. ITU: International Telecommunication Union — Dialling procedures
  2. BaobabSIM Help Centre

Morocco eSIM

Local plans on Orange Maroc’s own network, so you land in Marrakech or Casablanca already connected, as a local line rather than a roaming visitor. Regional plans add other African countries.

Get your eSIM

Your cart

Your cart is empty. Plans you add on a country page show up here.