Morocco’s Country Codes
- Telephone: +212
- 2 Letter: MA
- 3 Letter: MAR
- ISO 3116-1 Numeric: 504
- Internet TLD: .ma
- ICAO Airport Code: GM
- Maritime Identification Digits: 242
- Emoji Flag: U+1F1F2 U+1F1E6
- Official name: The Kingdom of Morocco
How to call Morocco (international dialing)
- Do not include a leading ‘0’ in the international call sequence – it is only used in Morocco for domestic long distance calls and domestic calls to a mobile phone.
- A leading '+' in the phone number means 'dial your country's exit code'.
- Calling from a mobile phone: dial from on the country where you're currently located.
- Calling from a VoIP or satellite phone: dial from on the country where the phone is registered.
… to a mobile (cellular) phone or text (SMS)
Use the same call sequence.
Mobile phone numbers begin with ‘6’, and ‘7’. Phone numbers are often listed with a leading ‘0’ however the leading ‘0’ is not dialed when calling from outside the country.
When calling a mobile phone user, dial to the country where the mobile phone is registered, regardless of where the person is roaming.
… to a VoIP phone
Use the same call sequence.
When calling a VoIP phone user, dial to the country where the VoIP phone is registered, regardless of where the person is roaming.
… to a satellite phone
Moroccan phone numbers beginning with ‘8920’, ‘8921’, and ‘8922’ are reserved for VSAT phone numbers.
Most satellite phones operate on their country code – calls to these satellite phones follow their call sequence.
… sending a fax
Use the same call sequence.
How to call within Morocco (domestic dialing)
‘0’ is used as a trunk prefix within Morocco. It is dialed (along with the area code) for all calls within Morocco.
Local calling (within the same area code)
For all calls within Morocco dial the trunk prefix ‘0’, then the area code and local phone number.
0 | nine digits |
trunk prefix | local phone number |
Long distance calling (to a different area code, or from a mobile phone)
For all calls within Morocco dial the trunk prefix ‘0’, then the area code and local phone number.
0 | nine digits |
trunk prefix | local phone number |
Mobile calling (to a mobile phone)
For all calls within Morocco dial the trunk prefix ‘0’, then the area code and local phone number.
0 | nine digits |
trunk prefix | local phone number |
Moroccan phone numbers explained
Number details
Moroccan phone numbers are nine digits.
The first four digits represent a geographic (area) code or carrier code, as well as whether the phone number is a land-line (fixed line) or mobile phone number.
Mobile numbers begin with ‘6’ and ‘7’.
An example of a Moroccan phone number
The Photography Museum of Marrakesh lists its phone number in Marrakesh as (212) 524-385-721.
Phone number example
212 | 524 | 385 721 |
country code for Morocco | geographic (area) code for Marrakesh | remainder of the local phone number |
Local example – calling from another location in Marrakesh, Morocco
Dial the trunk prefix ‘0’ followed by the nine digit phone number for all calls within Morocco.
0 | 524 | 385 721 |
trunk prefix | geographic (area) code for Marrakesh | remainder of the local phone number |
Long distance example – calling from Nador, Morocco (on the other side of the country)
Dial the trunk prefix ‘0’ followed by the nine digit phone number for all calls within Morocco.
0 | 524 | 385 721 |
trunk prefix | geographic (area) code for Marrakesh | remainder of the local phone number |
Mobile phone example – calling from a mobile phone (including a foreign mobile phone roaming in Morocco)
Dial the trunk prefix ‘0’ followed by the nine digit phone number for all calls within Morocco.
0 | 524 | 385 721 |
trunk prefix | geographic (area) code for Marrakesh | remainder of the local phone number |
International example – calling from outside Morocco
To call from outside Morocco, dial the exit code of the country the call is dialed from, followed by Morocco’s country code of ‘212’, followed by the local phone number.
Do not dial any leading ‘0’ listed in the Moroccan phone number.
exit code | 212 | 524 | 385 721 |
exit code for the country the call is dialed from | country code for Morocco | geographic (area) code for Marrakesh | remainder of the local phone number |
How to call from Morocco
’00’ is used as an exit code when dialing an international call from Morocco.
Sources and more resources
- L’Agence Nationale de Réglementation des Télécommunications (ANRT) – Morocco’s telephone systems regulator.
- ITU (International Telecommunications Union) – United Nations specialized agency for information and communications technologies.
- International Telecommunications Union – DIALLING PROCEDURES (INTERNATIONAL PREFIX, NATIONAL (TRUNK) PREFIX AND NATIONAL (SIGNIFICANT) NUMBER) (IN ACCORDANCE WITH ITU-T RECOMMENDATION E.164 (11/2010)) – A collection of dialing procedures for all countries and regions of the world. Retrieved 16 September 2016.
- International Telecommunications Union – Morocco (country code +212) National Numbering Plan – Details of Morocco’s telephone numbering plan as submitted to the ITU. Retrieved 7 December 2016.
- Wikipedia – Telephone numbers in Morocco – Wikipedia entry for telephone number data for Morocco. Includes specific number ranges for each city as well as detail on calling procedures.
- BT – The Phonebook – Morocco – Entry for Morocco in the British Telecom international directory.