Every number type in Morocco with real format examples: how numbers are written domestically, how to dial them from abroad, and the E.164 form your systems should store.
Right now in Morocco
--:--
Country code
+212
Trunk prefix
0
Intl. call prefix
00
Mobile digits
9
Number formats by type
Examples from the official numbering plan metadata. The E.164 column is the normalized form for databases and APIs.
Type
Domestic (national)
From abroad
E.164
Digits
Landline
05 20 12 34 56
+212 5 20 12 34 56
+212520123456
9
Mobile
06 50 12 34 56
+212 6 50 12 34 56
+212650123456
9
Toll-free
080-1234567
+212 80-1234567
+212801234567
9
Premium rate
089-1234567
+212 89-1234567
+212891234567
9
VoIP
05 92 40 12 34
+212 5 92 40 12 34
+212592401234
9
How to call Morocco
From abroad: dial +212 (or your country's exit code, e.g. 00 from Europe, 011 from North America), then the national number without the leading 0. Example: +212 6 50 12 34 56
Within Morocco: dial the number as written domestically, including the trunk prefix 0. Example: 06 50 12 34 56
Calling abroad from Morocco: the international prefix is 00, or simply use + on mobiles.
Storing numbers in software: always store E.164 (+212650123456): unambiguous, sortable, and what SMS and telephony APIs expect.
Exact dial sequence from your country
Pick where you are calling from and get the digit-for-digit sequence for a Morocco number, with your country's exit code instead of the generic +.
Dial exactly
Frequently Asked Questions
What is the phone number format in Morocco?
Numbers in Morocco use country code +212. A mobile number looks like 06 50 12 34 56 domestically, or +212 6 50 12 34 56 in international format (E.164: +212650123456). Mobile numbers have 9 national digits.
How do I call Morocco from abroad?
Dial your country's international prefix (or +), then 212, then the national number without the leading 0. Example: +212 6 50 12 34 56.
What is the country calling code for Morocco?
The country calling code for Morocco is +212. To call abroad from Morocco, the international prefix is 00 (or use +).
Cookies, the honest version. We would like to use Google Analytics to see which pages help people. Nothing is set until you say yes, and every tool works exactly the same either way. Privacy Policy