Contents
  1. Morocco's country calling code
  2. How to dial a Moroccan number from abroad
  3. Details to confirm before you dial

Morocco's country calling code

The country calling code for Morocco is +212. Telephone networks outside Morocco use this code to route an international call into the Moroccan network. It is commonly written with a plus sign, as +212, in front of the Moroccan number.

The code is assigned at the national level in the international numbering plan. It identifies Morocco as the destination country. It does not identify a city, region or type of line. Any geographic or service detail comes from the digits that follow +212, and the source used for this guide does not cover those digits.

This assignment reflects a public list of country calling codes retrieved in November 2026, where Morocco appears as a named entry. Codes are reassigned only rarely, but the list describes the current assignment and should not be read as a statement of historical assignments.

How to dial a Moroccan number from abroad

An international call to Morocco has three parts, dialed in this order:

  • 1. Your international access prefix: the digits your country or carrier requires before any international call.
  • 2. Morocco's country code: 212.
  • 3. The Moroccan subscriber number, in its international form.
[YOUR INTERNATIONAL ACCESS PREFIX] 212 [MOROCCAN SUBSCRIBER NUMBER]

On a phone that accepts the plus sign, you can usually enter + in place of the international access prefix. The network then supplies the correct prefix for you.

+212 [MOROCCAN SUBSCRIBER NUMBER]

Details to confirm before you dial

Two things are missing from this guide, so it cannot give a complete, digit-by-digit sequence:

  • Your location: the international access prefix depends on the country or network you are calling from, and no origin was specified. Your carrier or phone service can confirm the prefix that applies to you.
  • Moroccan number format: the source used here confirms only the country code. It does not describe the length of Moroccan numbers, area or mobile prefixes, or how a domestic trunk prefix is handled. In many countries, a leading digit used for domestic calls is dropped when dialing from abroad. Whether and how that applies to Morocco should be confirmed with the person or organization that gave you the number, or with your carrier.

If the number you were given already begins with +212, it is normally written in international format and can be dialed as shown. If it is written in a domestic style without the country code, check how to convert it before calling.