Country calling code

Morocco country code: +212

To call Morocco from another country, dial your exit code, then 212, then the national number without the leading 0. A Morocco mobile number dialled from abroad looks like +212 6 50 12 34 56.

Country code
+212
Exit code (IDD)
00
Trunk prefix
0
Mobile number length
9 digits
ISO country code
MA
Time zone
UTC+0 (UTC+1 in summer)
Capital
Rabat
Currency
MAD

How to call Morocco

  1. 1

    Dial the exit code of the country you are in. 011 in the US and Canada, 00 in the UK and most of Europe, 0011 in Australia. On a mobile phone, press and hold 0 to type + instead.

  2. 2

    Dial 212, the country code of Morocco.

  3. 3

    Dial the local number without the leading 0. Numbers written for callers inside Morocco start with the trunk prefix 0; it is dropped when you call from abroad.

Calling fromYou dial
Inside Morocco06 50 12 34 56
Any mobile phone+212 6 50 12 34 56
United States or Canada011 212 6 50 12 34 56
UK, Germany, India and most countries00 212 6 50 12 34 56
Australia0011 212 6 50 12 34 56
Japan010 212 6 50 12 34 56

Example with the Morocco sample number +212650123456.

Calling abroad from Morocco

Dial the exit code 00, then the country code and the number. To call the US from Morocco: 00 1 + area code + number.

Morocco phone number format

Example numbers for each number type, written the way they are dialled inside Morocco and from abroad. The length counts the digits after the country code.

TypeNational formatInternational formatE.164Digits
Mobile06 50 12 34 56+212 6 50 12 34 56+2126501234569
Landline05 20 12 34 56+212 5 20 12 34 56+2125201234569
Toll-free080-1234567+212 80-1234567+2128012345679
Premium rate089-1234567+212 89-1234567+2128912345679
VoIP05 92 40 12 34+212 5 92 40 12 34+2125924012349

Mobile networks in Morocco

The first digits of a number show which network the number range was assigned to. Numbers can be ported to another network later.

All 79 prefixes →

Orange

30 prefixes
061206140617061906200621062506310632064406450649+18

Maroc Telecom

25 prefixes
06106220623062406280636063706390641064206430648+13

Inwi

22 prefixes
06006260627062906300633063406350638064006460647+10

Al Hourria Telecom

2 prefixes
0692106922

Country codes of Morocco's neighbours

Morocco country code: FAQ

What is the country code of Morocco?

The country calling code of Morocco is +212. Morocco shares the code +212 with other territories.

How do I call Morocco from abroad?

Dial your exit code (011 from the US and Canada, 00 from most of Europe, or simply + on a mobile phone), then 212, then the local number without the leading 0. Example: +212 6 50 12 34 56.

What is the exit code for international calls from Morocco?

To call another country from Morocco, dial 00, then the other country's code and number. On mobile phones you can always use + instead.

How many digits does a Morocco mobile number have?

Mobile numbers in Morocco have 9 digits after the country code (without the trunk prefix), for example +212 6 50 12 34 56.

Which mobile networks operate in Morocco?

Mobile number ranges in Morocco are assigned to Orange, Maroc Telecom, Inwi, Al Hourria Telecom and others. Because numbers can be ported between networks, the prefix shows the network a number was originally issued to. Use the carrier lookup to check a specific number.

How can I check if a Morocco phone number is valid?

Enter the number in the checker on this page. It checks the length and number ranges of Morocco offline. To verify numbers in bulk or from your own software, use the numlookupapi phone validation API.

Phone number API

Validate numbers like this in your app

numlookupapi checks any phone number worldwide in one request and returns validity, line type, carrier, location and every standard format as JSON.

Read the documentation

100 free requests every month. No credit card required.

GET https://api.numlookupapi.com/v1/validate/+212650123456

{
  "valid": true,
  "international_format": "+212650123456",
  "country_prefix": "+212",
  "country_code": "MA",
  "line_type": "mobile",
  "carrier": "…",
  "e164_format": "+212650123456",
  "national_format": "06 50 12 34 56"
}

Popular country codes

Start using our Phone number API for free today!

Get 100 requests / month for free