No fee on your first top-up
  1. Home
  2. Blog

Morocco country code +212: how to write a Moroccan number from the UK

The Morocco country code is +212, which you can also write as 00212. From the UK, you dial the country code and then the Moroccan number without its first 0: 06 12 34 56 78 becomes +212 6 12 34 56 78. This guide explains the Moroccan number format, how to write it for a call, for WhatsApp or for a top-up, and the most common mistakes.

Moroccan mobile number format (and landlines)

In Morocco, every number has 10 digits when you dial it inside the country: a 0, then 9 digits. That 0 is the national prefix. You dial it within Morocco, but you drop it as soon as you add the +212 country code.

The first digit after the 0 tells you what kind of number it is:

The number starts with Used for Example (made up)
06 mobile 06 12 34 56 78
07 mobile 07 12 34 56 78
05 mostly landlines 05 22 12 34 56
08 mostly internet (VoIP) numbers 08 08 12 34 56

So a Moroccan mobile number starts with 06 or 07. Both are ordinary mobile numbers: a 07 isn’t a ‘special’ number, and you top it up just like a 06.

Has your loved one given you a number starting with 05? It’s most likely a landline. Ask them for their mobile number: that’s the one you top up.

Morocco country code +212 or 00212: both work

To reach Morocco from abroad, you dial the international prefix, then the country code, then the number without the 0. From the UK, the international prefix is 00, and on a mobile the + takes its place. So both ways of writing it are equivalent:

In Morocco With + With 00
06 12 34 56 78 +212 6 12 34 56 78 00 212 6 12 34 56 78
07 12 34 56 78 +212 7 12 34 56 78 00 212 7 12 34 56 78

On a smartphone, go for +212: it works whatever country you’re in, whereas 00 depends on the country you’re calling from. It’s also the way to save the number in your contacts.

Spaces don’t matter: +212 6 12 34 56 78 and +212612345678 are the same number. After +212, there are always 9 digits left.

How to call Morocco from the UK: dialling a 06 number

To call a Moroccan mobile from a UK phone:

  1. Dial +212 (or 00 212).
  2. Dial the number without the 0: for 06 12 34 56 78, dial 6 12 34 56 78.
  3. Press call.

It’s the same for a landline: 05 22 12 34 56 becomes +212 5 22 12 34 56.

The other way round, if your loved one calls you in the UK from Morocco, they dial 00 44 (or +44), then your UK number without its first 0: 07700 900123 becomes +44 7700 900123.

Writing the number for WhatsApp

WhatsApp needs the number in international format to find your loved one’s account. In your contacts, save it as +212 6… or +212 7…, without the 0. If you save a contact as 06 12 34 56 78, with no country code, your UK phone will read it as a UK number, and WhatsApp won’t find it.

If your loved one still has a WhatsApp account set up with their Moroccan number, that number needs to stay active. Our guide explains how to keep a Moroccan number active from the UK.

The mistakes that make a top-up fail

A top-up goes to the number you give, digit for digit. Here are the mistakes to avoid:

  • Keeping the 0 after +212. +212 06 12 34 56 78 gives 10 digits after the country code instead of 9. Write +212 6 12 34 56 78.
  • Writing 00 212 0… It’s the same mistake with 00: the 0 of the Moroccan number has to go.
  • Leaving the country code out of a contact. A ‘06…’ without +212 doesn’t say which country it belongs to: your phone and your apps treat it as a UK number.
  • One digit too few or too many. In Morocco, it’s 10 digits with the 0, and 9 after +212. Count them.
  • Two digits swapped. The number is in the right format, but it belongs to someone else. Check it digit by digit, or copy it from a message your loved one sent you rather than typing it out by hand.
  • A landline number. A 05 is usually a landline: ask for the mobile.

With chacha pay, you can type the number however you have it: 06 12 34 56 78, +212 6 12 34 56 78 or 00212 6 12 34 56 78. The form puts it into the right format and tells you if the number isn’t valid. Before you pay, chacha pay sends you a summary on WhatsApp with the number, the operator and the amount: that’s the moment to check everything.

Please note: if the number you entered is valid and the top-up has been credited, it can’t be recovered from the operator, even if it wasn’t the right number. If the number is invalid or inactive, the top-up isn’t delivered and we refund you. Made a mistake? Message us straight away in the WhatsApp chat with your order reference. You’ll find the details in our terms and conditions of sale (in French) and on the secure payment and refunds page.

Finding out which operator a Moroccan number is on

Morocco has three mobile operators: Maroc Telecom (IAM), Orange Morocco (formerly Méditel) and inwi (formerly Wana).

You often hear that you can guess the operator from the first digits of the number. That’s no longer reliable. In Morocco, customers can switch operator and keep their number: this is number portability. A number that started out on Maroc Telecom may now be an inwi or Orange line, with exactly the same digits. A ‘this prefix = this operator’ table would mislead you, which is why we don’t publish one.

The easiest way to find out the operator is still to ask your loved one: they can see it on their SIM card, in their texts or in their operator’s app.

With chacha pay, you don’t need to know: the operator is recognised from the number and shown in the WhatsApp summary, before you pay. If it’s not the right one, don’t pay, and tell us in the chat.

Each operator has its own page, with the code to check the balance:

Sending a top-up once you’ve checked the number

Is the number right? The rest takes a minute. The full steps are in our guide on how to top up a Moroccan phone from the UK. In short: enter the number on our Morocco mobile top-up page or send it to us on WhatsApp, choose the amount, check the total and the summary, then pay by card, Apple Pay or Google Pay on the secure page. The credit usually arrives within a few minutes, and the confirmation appears in the chat.

Frequently asked questions

What is the Morocco country code? It’s +212. From the UK, you can also dial 00 212. After the country code, you dial the Moroccan number without its 0.

Do I keep the 0 after +212? No. The 0 is only used inside Morocco. 06 12 34 56 78 is written +212 6 12 34 56 78.

How many digits does a Moroccan number have? 10 digits in Morocco, including the 0. After +212, there are 9 left.

Is a number starting with 07 a mobile? Yes. Moroccan mobile numbers start with 06 or 07, and you top up a 07 exactly like a 06.

How can I tell if a Moroccan number is on inwi, Orange or Maroc Telecom? The first digits aren’t enough, because a number can move to another operator and keep the same digits. Ask your loved one, or enter the number on chacha pay: the operator is shown in the summary before you pay.

Can I paste a number with spaces or with 00212? Yes. The chacha pay form accepts 06…, +212 6… and 00212 6…, with or without spaces, and puts it into the right format.

Top up a Moroccan number on WhatsApp

Related articles

← All articles