Country code guide

Morocco phone number format and 212 country code

Use the 212 country code, written as +212, when calling Morocco from another country. This may also be called the country calling code, dial code, phone prefix, or international prefix. Check the number format, confirm whether the destination is mobile or landline, then review the Voipfibre rate before placing the call.

Use Voipfibre after checking the number format

International format

+212 + 9-digit national number without leading 0

+212Country calling code
RateCheck before calling
Mobile example+212 6 12 34 56 78
Landline example+212 522 123 456
Dialing format

How to dial Morocco

Start with +212, add the correct area or mobile prefix, then enter the local number. Use the format shared by the person or business you are calling when available.

Country code

+212

Use the 212 country code before the Morocco number when calling internationally.

Number format

0 + fixed or mobile prefix + subscriber number

Morocco numbers drop the domestic leading 0 after +212. For example, Casablanca 0522 xxx xxx becomes +212 522 xxx xxx, and 06 or 07 mobiles become +212 6 or +212 7.

Before calling

Check the current Morocco mobile or landline rate before calling because fixed, mobile, VoIP, and special-service routes can price differently.

Check Morocco rates
Steps

Format the number before checking the rate

These steps work whether you are calling from France, Spain, Germany, United Kingdom or another country.

  • 1

    Start with +212

    Morocco uses the 212 country code, written as +212 in plus format. Put it at the beginning of the number when calling internationally.

  • 2

    Add the area or mobile prefix

    Morocco numbers drop the domestic leading 0 after +212. For example, Casablanca 0522 xxx xxx becomes +212 522 xxx xxx, and 06 or 07 mobiles become +212 6 or +212 7.

  • 3

    Complete the local number

    Use the remaining local digits in this pattern: 0 + fixed or mobile prefix + subscriber number.

  • 4

    Check the rate before calling

    Check the current Morocco mobile or landline rate before calling because fixed, mobile, VoIP, and special-service routes can price differently.

Examples

Mobile and landline examples

Examples are for formatting guidance only. Always confirm the exact number with the person or business you are calling.

Mobile example

+212 6 12 34 56 78

Useful when you are calling a Morocco mobile number.

Landline example

+212 522 123 456

Useful when you are calling a Morocco landline or area-based number.

Number details

What to check before using the 212 country code

Country codes are only one part of an international phone number. Exit codes, area codes, mobile prefixes, and local numbering rules can change how the final number should be dialed.

Exit code or plus format

On a mobile phone, the plus sign usually replaces exit codes such as 00 or 011. From a landline, use the international access code for the country you are calling from, then 212.

Country calling code, dial code, or prefix

People may call 212 the Morocco country code, country calling code, phone code, dial code, or international prefix. In each case, use +212 before the rest of the Morocco number.

Mobile phone or landline

After +212, the next digits may be an area code, mobile prefix, service prefix, or local number. Check whether you are calling a mobile phone or landline because rates can differ.

Morocco country code +212

Morocco country code, Morocco phone code, Morocco calling code, Morocco dialing code, Morocco telephone code, Morocco international code, Morocco code number, area code Maroc, indicatif Maroc, 212 country code, and 00212 country code searches all refer to +212.

Drop the domestic leading 0

Morocco domestic numbers are commonly written with a leading 0 and 9 more digits. In international format, remove that 0 and dial +212 followed by the 9-digit national number.

Fixed-line and city prefixes

Morocco fixed geographic numbers start with 05 domestically or +212 5 internationally. Examples include Casablanca 522, Rabat and Kenitra 537, Marrakech 524, Agadir 528, Fes and Meknes 535, Tanger/Tetouan/Al Hoceima 539, Oujda/Nador/Berkane 536, and NGN-style fixed ranges such as 520, 521, 530, and 531.

Mobile prefixes

Morocco mobile numbers start with 06 or 07 domestically, which become +212 6 or +212 7 internationally. Operators include Maroc Telecom, Orange Maroc, and Inwi, but number portability means the prefix alone may not prove the current carrier.

Popular calling questions

Common ways people call Morocco

Use the country code first, confirm the number type, then check the Voipfibre rate before placing the call.

What country or phone code does Morocco use?

Morocco uses country code +212. Dial +212 followed by the 9-digit national number without the domestic leading 0.

Open Morocco guide

How do I format a Morocco mobile number?

Remove the domestic leading 0 and use +212 followed by the mobile prefix and subscriber digits. A 06 or 07 mobile becomes +212 6 or +212 7.

Open Morocco guide

What is the Morocco area code?

Morocco fixed-line prefixes start with 05 domestically or +212 5 internationally. Examples include Casablanca 522, Marrakech 524, Agadir 528, Rabat/Kenitra 537, Fes/Meknes 535, and Tanger/Tetouan 539.

Open Morocco guide

What is the Casablanca area code?

Casablanca numbers commonly use 0522 domestically or +212 522 internationally. Remove the leading domestic 0 after the +212 country code.

Open Morocco guide
Calling options

Popular guides for calling Morocco

Use the +212 format first, then compare free app calling and regular phone-number calling options from common origin countries.

Related codes

Other country codes people check before calling

Questions

Morocco dialing FAQ

Morocco uses the 212 country code, written as +212. The international format is +212 + 9-digit national number without leading 0.
212 is used for Morocco. When you save or dial the number internationally, write it with the plus sign as +212, then add the area or mobile prefix and local number.
Yes. 212 is the country calling code, phone prefix, or international dial code for Morocco. On a mobile phone, write it as +212 before the area or mobile prefix and local number.
Dial +212, then add the area or mobile prefix and the local number. For example, a mobile number may look like +212 6 12 34 56 78.
Morocco numbers drop the domestic leading 0 after +212. For example, Casablanca 0522 xxx xxx becomes +212 522 xxx xxx, and 06 or 07 mobiles become +212 6 or +212 7.
Not always. International rates can vary by mobile, landline, and special-service numbers. Check the live Voipfibre rate before calling.
Yes. Check the live Morocco rate, add wallet credit, and call from the Voipfibre app, browser dialer, SIP, or access-number option where available.