Morocco country code: +212
How Morocco phone numbers are written and dialed
- Calling code
- +212
- Trunk prefix
- 0
- International prefix
- 00
- Number lengths
- 9
- Example mobile
- +212 6 50 12 34 56
- Example landline
- +212 5 20 12 34 56
Dialing Morocco
From another country, dial your international access code (00 in most of the world, 011 from the United States and Canada, or + on a mobile phone), then 212, then the national number.
Inside Morocco, national numbers are dialed with the trunk prefix 0, which you drop after +212 when calling from abroad.
A valid Morocco number has 9 digits after the country code.
+212 is shared with Western Sahara: the first digits of the national number tell them apart.
To call abroad from Morocco, dial 00 before the foreign country code.
Example numbers
| Type | International | National |
|---|---|---|
| Mobile | +212 6 50 12 34 56 | 06 50 12 34 56 |
| Landline | +212 5 20 12 34 56 | 05 20 12 34 56 |
Examples come from Google's libphonenumber metadata. They are valid in format and are not assigned to real people.
Calling codes, prefixes, lengths and examples from Google's libphonenumber metadata.
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.