Sign in

Phone code

Morocco country code: +212

To call Morocco, dial +212 and then the number without the leading 0.

MoroccoCountry code

Example mobile number+212 6 50 12 34 56
06 50 12 34 56

How to call Morocco

  1. From a mobile

    Dial +212 and the number, for example +212 6 50 12 34 56. This works from any country and any network.

  2. From a landline abroad

    Instead of +, dial the exit code of the country you are calling from, then 212 and the number. The table below shows it for several countries.

  3. Inside Morocco

    Put 0 before the number: 06 50 12 34 56.

Phone numbers in Morocco

Country code
+212
Written internationally
+212 6 50 12 34 56
Written inside Morocco
06 50 12 34 56
Trunk prefix inside Morocco
0
Exit code for calls from Morocco
00
Mobile number length
9 digits after +212

Calling Morocco from other countries

The same mobile number, +212 6 50 12 34 56, dialled from a landline.

Calling fromExit codeWhat you dial
Any mobile phone++212 6 50 12 34 56
UK0000 212 6 50 12 34 56
USA011011 212 6 50 12 34 56
Ireland0000 212 6 50 12 34 56
Germany0000 212 6 50 12 34 56
Australia00110011 212 6 50 12 34 56

Internet and SMS for Morocco

Travelling to Morocco?

eSIM with mobile data in Morocco from $2.99. Messengers and internet calls work as at home, and your own SIM stays in the phone.

+212 is shared

One more country or territory uses +212. The first digits of the number show which one you are calling.

Calling Morocco: questions

Which country has the code +212?

+212 is used by Morocco and also by Western Sahara. The first digits after the code show which country a number belongs to.

How do I call Morocco from abroad?

From a mobile, dial +212 and the number without the leading 0, for example +212 6 50 12 34 56. From a landline, use the exit code of your country instead of +.

How many digits does a mobile number in Morocco have?

9 digits after the country code, for example 650123456. Written with the code, it looks like +212 6 50 12 34 56.

How do I call another country from Morocco?

From a landline, dial 00, then the country code and the number. From a mobile, + works as well.

Nearby country codes

Data: Google libphonenumber metadata via libphonenumber-js 1.13.16, based on ITU-T E.164 country codes and national numbering plans. Updated November 12, 2026.