Country Dialing Guide

Morocco country code +212 — call Morocco & get a number.

From a Casablanca landline to a Rabat ministry to a cousin's mobile in Marseille, +212 connects them all. Here are the exact dialing formats from the US, UK, France and Spain, every city code, live mobile prefixes, current time and weather — and how to put a real Moroccan number on your business.

  • 17,500+ Businesses
  • 99.99% Uptime SLA
  • 190+ Countries
  • 4.8/5 on G2
🇲🇦 Morocco · LiveAfrica/Casablanca
--:--:--
Casablanca
Rabat
Marrakech
+212
Country code
00
Exit code
38.8 m
People
38.8 m
Population
~55 million
Active SIMs
3
Mobile operators
+212
Country code
01At a glance

Morocco at a glance

The numbers and facts you need before you dial.

Country name
Kingdom of Morocco
Country code
+212
ISO codes
MA / MAR
Exit code (from Morocco)
00
Trunk prefix (within)
0 (dial the full 0-prefixed number domestically — closed plan)
Capital
Rabat
Largest city
Casablanca
Population
~38.8 million
Currency
Moroccan dirham (MAD, DH)
Time zone
Western European Time / UTC+1 (permanent; clocks pause to UTC+0 during Ramadan)
Regulator
ANRT (Agence Nationale de Réglementation des Télécommunications)
Active SIMs
~55 million
02The basics

What is the country code for Morocco?

Morocco answers to +212. Behind that prefix sits a closed nine-digit plan, which trips people up: inside the country, you dial the number exactly as printed, leading 0 and all. Cross a border and that 0 disappears the moment you add +212 — the rest of the nine digits stay put.

In E.164 form a Moroccan number is +212 plus 9 digits (e.g. +212 522 XXX XXX).

+21200212011 21200 212

All four mean the same thing — they connect your call to Morocco.

03Dialing format

How to call Morocco from anywhere

The recipe never changes: your exit code, then 212, then the nine national digits with the leading 0 stripped off. Master that one substitution and Casablanca, Tangier or a mobile in between all dial the same way.

COUNTRY
+212
·
AREA
05220529
·
SUBSCRIBER
XXX XXXX

Full example: +212 05220529 XXX XXXX — drop the local leading 0 when calling from abroad.

United States & Canada
exit 011
011 + 212 + area code + number
011 212 05220529 XXXXXXX
United Kingdom
exit 00
00 + 212 + area code + number
00 212 05220529 XXXXXXX
Europe
exit 00
00 + 212 + area code + number
00 212 05220529 XXXXXXX
Australia
exit 0011
0011 + 212 + area code + number
0011 212 05220529 XXXXXXX
04Number format

Morocco phone number format explained

Read a Moroccan number from its first digit and you already know what it is. A 5 means a fixed line tied to a city; a 6 or 7 means a mobile that travels with its owner. The nine digits stay the same length either way — only that opening digit shifts.

Landline

+212 5XX XXX XXX, always opening with 5. Casablanca example: +212 522 XXX XXX — the 522 is the city's geographic stamp, hidden as 0522 when dialed at home.

Mobile

+212 6XX XXX XXX or +212 7XX XXX XXX. The 6 and 7 ranges are non-geographic, so a Marrakech mobile and a Fès mobile look identical from the prefix.

05Area codes

Morocco area codes — major cities

Drop the local leading 0 when calling from abroad.

// Full directory12 entries
CityRegionArea code
CasablancaCasablanca-Settat05220529
RabatRabat-Salé-Kénitra0537
MarrakechMarrakech-Safi0524
FèsFès-Meknès0535
TangierTanger-Tétouan-Al Hoceïma0539
AgadirSouss-Massa0528
OujdaOriental0536
MeknèsFès-Meknès0535
TétouanTanger-Tétouan-Al Hoceïma0539
KénitraRabat-Salé-Kénitra0537
SafiMarrakech-Safi0524
NadorOriental0536
06Mobile networks

Morocco mobile network prefixes

The prefix after +212 tells you which network issued the SIM — though number portability means it no longer guarantees the operator.

*T

**Maroc Telecom** (IAM)

+212 06

market leader. Prefixes include 06 ranges (e.g. 0661–0639 blocks), 0750–0769, 0754/0755.

*M

**Orange Maroc** (formerly Méditel)

+212 061

prefixes include 0612, 0614, 0617, 0660s ranges, 0770–0783, 0786/0787.

*

**INWI** (Maroc Connect)

+212 060, 062

prefixes include 060, 0626–0699 blocks, 0700–0724, 0725/0728.

07Time zone

Morocco time zone

Morocco runs on UTC+1 all year — but it is the rare country that winds its clocks back for a reason that has nothing to do with seasons. During Ramadan the whole nation slips to UTC+0 to ease the fasting day, then springs forward to UTC+1 once the month ends. Plan calls around that single annual shift and you'll never be an hour off.

New York (EST)
Morocco is 6 hours ahead
London (GMT)
Morocco is 1 hour ahead
Paris (CET)
Morocco matches the same hour
Madrid (CET)
Morocco matches the same hour
Dubai (GST)
Morocco is 3 hours behind
Best call windows

US callers catch Morocco's afternoon between 7 and 11 AM ET. From Paris, Madrid or anywhere on CET, the entire working day lines up — Morocco usually shares your hour. The exception is Ramadan, when that one-hour gap opens up.

08Emergency

Emergency numbers in Morocco

Free to call from any Morocco phone, landline or mobile.

19
Police (urban)
15
Fire brigade / ambulance (Protection Civile)
177
Gendarmerie Royale (rural)
09Avoid these

Common mistakes when calling Morocco

Almost every failed international call is a formatting issue, not a network issue.

Calling during Ramadan as if nothing changed

Morocco drops to UTC+0 for the fasting month, so a call you scheduled for "their afternoon" can land an hour earlier than expected. This is the quirk that catches even seasoned diaspora callers.

Carrying the leading 0 across the border

0522 becomes +212 522 once you add the country code; the 0 never survives the trip.

Reading 0522 and 05 as two different things

Casablanca fixed lines live in the 052x range; dial the full nine digits.

Misjudging mobile vs. landline

a 6 or 7 opener is a mobile, a 5 is a landline. The first digit settles it.

Reaching for 011 from outside North America

that exit code belongs to the US and Canada only; the rest of the world uses 00 or +.

10Save money

Tips to reduce the cost of calling Morocco

Route over VoIP instead of paying carrier international tariffs

a meaningful saving on the heavy France–Morocco and Spain–Morocco corridors.

Hold a Morocco virtual number so customers and family reach you at local Moroccan rates.

Terminate calls over SIP rather than legacy PSTN.

Keep calls inside Moroccan working hours so you connect first time and skip costly redials.

11For business

Why businesses get a Morocco virtual number

Morocco's market runs on familiarity — and so does its huge diaspora across France, Spain and Belgium. A local +212 line tells customers on both sides of the Mediterranean that you're genuinely reachable here, not routing them abroad.

Higher answer rates

a Casablanca or Rabat caller ID gets picked up where a foreign number gets ignored.

Lower trust friction

+212 reads as "present in Morocco," not "calling from overseas."

Cheaper inbound

customers and diaspora contacts dial you at local rates.

Centralized routing

catch every Moroccan call and forward it to a team anywhere.

Faster expansion

open the Moroccan market without leasing an office in Casablanca.

Real PSTN presence

a true in-country number, not a forwarding gimmick.

MCMPlatform

Morocco virtual numbers with My Country Mobile

My Country Mobile hands you real Moroccan DIDs — carrier-grade voice, full programmability, and a local +212 footprint live in minutes rather than weeks.

Local DIDs in major area codes — provisioned in minutes

Call forwarding to any mobile, landline, SIP endpoint, or softphone worldwide

HD voice with G.711, G.729, Opus & AMR-WB — auto-negotiated per call

Sub-150ms latency on major voice corridors via distributed PoPs

99.99% uptime SLA backed by geo-redundant infrastructure & sub-2s failover

WebRTC support for browser-based calling without softphone installs

REST APIs for provisioning, routing & call detail records (CDRs)

Built-in fraud protection with AI anomaly detection & STIR/SHAKEN

24/7 network monitoring and dedicated support

12Get started

How to get your Morocco virtual number

Most businesses are live within hours, not days.

1

Choose Morocco and pick the city that fits — a 0522 Casablanca line or a 0537 Rabat one.

2

Select your plan and clear quick verification.

3

Wire up forwarding, IVR and routing the way your team works.

4

Switch it live and start fielding Moroccan calls the same day.

13Related countries

Other country dialing guides

More country codes worth bookmarking.

Get a Morocco virtual number with MCM

Stand up a local +212 number in minutes and start taking Moroccan calls today — across the Kingdom and out to the diaspora.

FAQ

Morocco +212 — FAQ

Why does Morocco's time zone change during Ramadan?expand_more

— Morocco sits on UTC+1 year-round but shifts to UTC+0 for the fasting month to ease the day, then returns to UTC+1 afterward.

When I call a French Moroccan mobile, do I still use +212?expand_more

— Yes, if the line is registered in Morocco. A Moroccan number stays +212 no matter where its owner happens to be travelling.

What happened to the leading 0 in 0522?expand_more

— It's a domestic trunk digit. Add +212 and it drops, so 0522 123456 becomes +212 522 123456.

How can I tell a Maroc Telecom number from an Orange or INWI one?expand_more

— You often can't by sight — portability lets numbers move between Maroc Telecom, Orange Maroc and INWI, so the prefix shows the original allocation, not today's carrier.

How do I dial Casablanca from the US?expand_more

— 011, then 212, then 522 and the local number — drop the 0 from 0522.

Is a number starting with 7 a mobile?expand_more

— Yes. Both 6 and 7 openers are mobiles; only a 5 is a fixed line.

Which emergency number do I call in Morocco?expand_more

— 19 for urban police, 15 for fire and ambulance, 177 for the rural Gendarmerie, and 112 works from any mobile.

Can a business outside Morocco get a +212 number?expand_more

— Yes — My Country Mobile provisions genuine Moroccan DIDs you can route to any team worldwide.