Home›Country codes›Morocco
Africa · Rabat

Morocco country code

+212

Dial +212, then the local number. From the US or Canada, start with 011.

Dial a number in Morocco

Sample format for a Rabat number: +212 5 XX XX XX XX. X stands for the digits of the number you are calling.

Calling from
You dial
011 212 5 XX XX XX XX

Exit code 011, country code 212, then the number.

+212Calling code · ISO MA / MAR
RabatCapital
UTC+1Time in Rabat
MADMoroccan dirham · 38.4M people
Mobiles and landlines

How do I dial mobiles vs landlines in Morocco?

Morocco’s country calling code is +212. Morocco uses a closed numbering plan and a domestic trunk prefix 0, so numbers are commonly written inside Morocco as 0 + (area/mobile prefix) + remaining digits. The national significant number (without the leading 0) is typically 9 digits. For landlines, you’ll see geographic prefixes such as 0522 (Casablanca) or 0537 (Rabat) in domestic format; for mobile numbers, the domestic format usually starts with 06 or 07 (e.g., 06XX XXX XXX / 07XX XXX XXX).

To call Morocco from abroad, dial your international exit code (or +), then 212, then the number without the leading 0. So a Casablanca landline written as 0522 XXX XXX becomes +212 522 XXX XXX, and a mobile written as 06XX XXX XXX becomes +212 6XX XXX XXX (same idea for 07…). From within Morocco, you generally keep the leading 0 and dial the full number, because the plan is “closed” (prefixes aren’t usually dropped even for local calls).

Emergency

What are the emergency numbers in Morocco?

Emergency numbers for Morocco include Police: 190, Gendarmerie Royale (outside cities): 177, and Ambulance: 150. Some travel resources also list Fire brigade: 15 in certain contexts, and 112 may work from mobile phones for emergency assistance.

Area codes

What are the city and area codes in Morocco?

Dialing tip: In Morocco, landlines are typically written domestically with a leading 0 (e.g., 0522…, 0537…). When dialing internationally, drop the 0 and use +212 (so 0522 → +212 522).

CityArea codeInternational dialing format
Casablanca522+212 522 XXX XXX
Rabat537+212 537 XXX XXX
Salé537+212 537 XXX XXX
Marrakech524+212 524 XXX XXX
Fes (Fez)535+212 535 XXX XXX
Meknes535+212 535 XXX XXX
Tangier (Tanger)539+212 539 XXX XXX
Tétouan539+212 539 XXX XXX
Agadir528+212 528 XXX XXX
Oujda536+212 536 XXX XXX
Kenitra537+212 537 XXX XXX
Safi524+212 524 XXX XXX
Mobile networks

Which mobile prefixes do mobile operators use in Morocco?

Dialing tip: Moroccan mobile numbers generally start with 06 or 07. Internationally, you format them as +212 6… or +212 7…. Morocco supports number portability, and ANRT reporting indicates that completed porting requests are handled within 48 hours.

Mobile operatorDialing prefixes
Maroc Telecom (IAM)0610, 0611, 0613, 0615-0616, 0618, 0622-0624, 0628, 0636-0637, 0639, 0641-0643, 0648, 0650-0655, 0658-0659, 0661-0662, 0666-0668, 0670-0673, 0676-0678, 0682, 0689, 0696-0697
Orange Maroc0612, 0614, 0617, 0619-0621, 0625, 0631-0632, 0644-0645, 0649, 0656-0657, 0660, 0663-0665, 0669, 0674-0675, 0679, 0684, 0688, 0691, 0693-0694
inwi (Wana Corporate)060X, 0626-0627, 0629-0630, 0633-0635, 0638, 0640, 0646-0647, 0680-0681, 0687, 0690, 0695, 0698-0699, 0700-0703
Right now

Weather right now.

Live conditions in Rabat.

Weather in RabatLocal time
--°FLoading current conditions 
High / low--
Wind--
Humidity--
Clouds--
Sunrise--
Sunset--

Weather data by Open-Meteo.com (CC BY 4.0)

FAQ

Calling Morocco, answered.

All country codes
What is the country code for Morocco?

The country code for Morocco is +212. +212 is also used by Western Sahara.

How do I call Morocco from the US?

Dial 011 (the US exit code), then 212, then the local number. A number written +212 5 XX XX XX XX is dialed 011 212 5 XX XX XX XX. From a mobile you can type +212 and the number instead.

What time is it in Rabat?

Rabat is on UTC+1 all year.

What currency is used in Morocco?

Moroccan dirham (MAD).

Need a US or Canadian number?

Local, toll-free and vanity numbers for your business, usable from anywhere. Buy outright or pay over time.

Privacy settings

Cookie settings

Necessary cookies keep the site working. Optional cookies are used only as you choose here. Details are in our Cookie Policy.