Morocco • Africa • ISO: MA / MAR

Morocco Country Code: +212

Use +212 to call Morocco from abroad. Morocco numbers are typically 9 digits after the country code. In national format, they are often written with a trunk prefix 0 as 0X XX XX XX XX. This page includes a live Rabat clock, popular city codes, and a dial-string builder you can copy.

Calling code
+212
International prefix (from Morocco)
00
Emergency
112
Morocco flag
Rabat time
Timezone: Africa/Casablanca
Live
–:–:–
Loading…
Quick facts
Capital
Rabat
ccTLD
.ma
Currency
MAD (Dirham)
ISO numeric
504
Note: Morocco is commonly referenced as Africa/Casablanca. Morocco often uses UTC+1, with temporary clock changes in certain periods.
Home / Countries / Morocco

How to Call Morocco (+212)

To call Morocco from another country, dial your international exit code, then 212, then the Moroccan 9-digit number. If a number is written with a leading 0 (for example 0522… or 0661…), drop the 0 when calling internationally.

Call from abroad
  1. Dial your exit code (example: US/CA 011, most of Europe 00).
  2. Dial Morocco country code: 212.
  3. Dial the 9-digit number (drop the leading 0).
Example (Casablanca landline)
011 212 5 22 12 34 56
Call within Morocco
  • Dial the full national number, commonly shown as 0X XX XX XX XX.
  • Morocco uses a closed numbering plan: you typically dial the full prefix even for local calls.
  • Mobile numbers commonly start with 06 or 07.
Example (national)
0522 12 34 56
“Drop the zero” rule

National format often starts with 0. When calling from outside Morocco, remove that 0: 0522 12 34 56+212 5 22 12 34 56

Dial String Builder

Paste any Morocco number (with spaces, +212, 00212, or a leading 0). We’ll normalize it to 9 digits and generate a copyable international dial string.

Tip: If unsure, choose a preset exit code.
We expect 9 digits after normalization (drop the national leading 0).
Normalized (Morocco national)
International format
Output uses +212 and your exit code. Example: 011 212 5 22 12 34 56.

Morocco Phone Number Format

Morocco numbers are usually 9 digits after the country code (+212). In national format, a trunk prefix 0 is commonly used: 0X XX XX XX XX. When calling internationally, remove the trunk 0.

International (E.164)
Pattern
+212 X XX XX XX XX
Examples
+212 5 22 12 34 56
+212 6 61 12 34 56
National dialing
Pattern
0X XX XX XX XX
Examples
05 22 12 34 56
06 61 12 34 56
Popular Morocco city codes (landlines)
Search a city or code in the table.
City / Region City code Example (international)
Casablanca 0522 (→ +212 522) +212 5 22 12 34 56
Rabat 0537 (→ +212 537) +212 5 37 12 34 56
Marrakech 0524 (→ +212 524) +212 5 24 12 34 56
Agadir 0528 (→ +212 528) +212 5 28 12 34 56
Tangier 0539 (→ +212 539) +212 5 39 12 34 56
Fes 0535 (→ +212 535) +212 5 35 12 34 56
Oujda 0536 (→ +212 536) +212 5 36 12 34 56
Meknes 0535 (→ +212 535) +212 5 35 12 34 56
Kenitra 0537 (→ +212 537) +212 5 37 12 34 56
Tetouan 0539 (→ +212 539) +212 5 39 12 34 56
Codes above are common examples for major cities. Always follow the number exactly as provided by the recipient and carrier.

Morocco time zone

Morocco is commonly referenced by one IANA timezone in devices and apps.

Reference IANA Typical UTC offset
Rabat / Casablanca Africa/Casablanca UTC+1 (can change temporarily)
Mobile prefixes

Morocco mobile numbers commonly start with 06 or 07 in national format. When calling internationally, drop the leading 0: 06…+212 6…, 07…+212 7….

Morocco dialing summary

Country code: +212
International prefix (from Morocco): 00
Trunk prefix (domestic): 0
Digits after +212: 9
Timezone: Africa/Casablanca

FAQs about Calling Morocco

Quick answers for the most common Morocco dialing questions.

What is Morocco’s country code?

Morocco’s country calling code is +212.

How many digits are Morocco phone numbers?

After +212, Morocco numbers are typically 9 digits. National format often includes a leading 0, making it 10 digits.

Do I remove the leading 0 when calling Morocco?

Yes. Example: 0522… becomes +212 522…, and 0661… becomes +212 661….

How do I call Morocco from the US?

Dial 011 + 212 + the 9-digit Morocco number (without the national leading 0).

What is the international prefix to call abroad from Morocco?

Morocco commonly uses 00 to dial internationally.

What time zone is Morocco in?

Morocco is commonly referenced as Africa/Casablanca. The UTC offset can vary temporarily.

What are common Morocco mobile prefixes?

Mobile numbers commonly start with 06 or 07 nationally. Internationally, they appear as +212 6… or +212 7….

Why do some city codes look like 0522 or 0537?

Those are landline city/region codes written in national format with a leading 0. When calling internationally, remove the 0 and dial +212 first.

Country pages
Continue browsing
Share the Post:

Related Posts