+212 is the country code for Morocco and Western Sahara.
Every phone number in Morocco starts with +212 when you call it from another country. From the US, dial 011 212, then the number without its first 0.
- Time there
- Casablanca timeMorocco Time, UTC+1, no daylight saving
- From the US or Canada
- 011 212 6 50 12 34 56
- From the UK and most of Europe
- 00 212 6 50 12 34 56
- From Australia
- 0011 212 6 50 12 34 56
- From any mobile phone
- +212 6 50 12 34 56
- Inside Morocco
- 06 50 12 34 56
- Mobile numbers
- 9 digits after +212, starting 6, 70, 71, 72, 75, 76, 77 or 78
- Landlines
- 9 digits after +212, such as +212 5 4X XX XX XX in Casablanca/Marrakech/Agadir
- Toll-free numbers
- Start with 080
Check a +212 number to see whether it is a mobile, a landline or VoIP.
Pick the country, enter the number without the +212, and the free check shows whether it is valid and whether it is a mobile, a landline or VoIP.
Mobile numbers in Morocco start with 6, 70, 71, 72, 75, 76, 77 or 78, and this table shows which networks first issued each start.
| At home | From abroad | First issued by |
|---|---|---|
| 06 | +212 6 | Orange, Maroc Telecom, Inwi |
| 070 | +212 70 | Inwi |
| 071 | +212 71 | Inwi |
| 072 | +212 72 | Inwi |
| 075 | +212 75 | Maroc Telecom |
| 076 | +212 76 | Maroc Telecom |
| 077 | +212 77 | Orange |
| 078 | +212 78 | Orange |
People keep their number when they switch networks, so the start shows where a number began. Our free number portability lookup shows the network it is on today.
Landline area codes in Morocco start with 054 for Casablanca/Marrakech/Agadir, and the table lists 46 of the places they cover.
| At home | From abroad | Area |
|---|---|---|
| 054 | +212 54 | Casablanca/Marrakech/Agadir |
| 0520, 0522, 0529 | +212 520, +212 522, +212 529 | Casablanca |
| 0521 | +212 521 | Casablanca/Central Morocco |
| 0525 | +212 525 | Southern Morocco |
| 0530 | +212 530 | Rabat/Kènitra |
| 0531 | +212 531 | Tangier/Al Hoceima/Larache/Tètouan/Chefchaouen |
| 0532 | +212 532 | Fès/Errachidia/Meknès/Nador/Oujda/Taza |
| 05232 | +212 5232 | Mohammedia |
| 05233 | +212 5233 | El Jedida/Mohammedia |
| 05234 | +212 5234 | Settai |
| 05235 | +212 5235 | Oued Zem |
| 05237 | +212 5237 | Settat |
| 05242 | +212 5242 | El Kelaa des Sraghna |
| 05243, 05244, 05296 and 1 more | +212 5243, +212 5244, +212 5296 and 1 more | Marrakech |
| 05246 | +212 5246 | El Youssoufia/Safi |
| 05247 | +212 5247 | Essaouira |
| 05248 | +212 5248 | Ouarzazate |
| 05282 | +212 5282 | Agadir/Ait Meloul/Inezgane |
| 05283 | +212 5283 | Inezgane/Taroudant |
| 05285 | +212 5285 | Oulad Teima/Taroudant |
| 05286 | +212 5286 | Tiznit |
| 05287 | +212 5287 | Guelmim/Tan Tan |
| 05288 | +212 5288 | Agadir/Es-Semara/Tarfaya |
| 05289 | +212 5289 | Dakhla/Laayoune |
| 05297, 05299 | +212 5297, +212 5299 | Agadir |
| 05352 | +212 5352 | Taza |
| 05353 | +212 5353 | Midelt |
| 05354, 05355 | +212 5354, +212 5355 | Meknès |
| 05356, 05359 | +212 5356, +212 5359 | Fès |
| 05357 | +212 5357 | Goulmima |
| 05358 | +212 5358 | Ifrane |
| 05362 | +212 5362 | Berkane |
| 05363 | +212 5363 | Nador |
| 05365 | +212 5365 | Oujda |
| 05366 | +212 5366 | Figuig/Oujda |
| 05367 | +212 5367 | Bouarfa/Oujda |
| 05368 | +212 5368 | Figuig |
| 05372, 05377, 05380 and 1 more | +212 5372, +212 5377, +212 5380 and 1 more | Rabat |
| 05373 | +212 5373 | Kénitra |
| 05374 | +212 5374 | Ouazzane |
| 05375 | +212 5375 | Khémisset |
| 05376 | +212 5376 | Rabat/Témara |
| 05378 | +212 5378 | Salé |
| 05379 | +212 5379 | Souk Larbaa |
| 05384, 05385, 05388 | +212 5384, +212 5385, +212 5388 | Tangier |
| 05386, 05387 | +212 5386, +212 5387 | Fez/Meknes |
Showing 60 of 68 area codes.
In Morocco, the phone number format for apps and SMS gateways is +212 followed by the number without its 0.
| Written | Example | Where you see it |
|---|---|---|
| At home | 06 50 12 34 56 | Business cards, local ads |
| International | +212 6 50 12 34 56 | Websites, email signatures |
| E.164 | +212650123456 | APIs, SMS gateways, CRMs |
2 places share +212, so the next digits tell them apart.
| Place | Numbers start with | Exit code |
|---|---|---|
| Morocco | +212, all other numbers | 00 |
| Western Sahara | +212, inside the same numbering plan | 00 |
A missed call from a +212 number you don't know can be a one-ring scam, so check it before calling back.
One-ring scams call once and hang up, hoping you call back a line that bills you international or premium rates.
- Don't call back an international number you don't know. A real caller leaves a message or sends a text.
- Check the number in the box above. A number that is not a working mobile or landline in Morocco is a warning sign.
- Hang up on anyone who wants gift cards, crypto or a wire transfer, or asks you to read out a code that was just texted to you.
- Report it at reportfraud.ftc.gov, and see the FCC's guide to one-ring scams.
The codes next to +212 belong to other countries, so one wrong digit reaches a different place.
These are the questions people ask most about +212.
Which country uses the +212 country code?
Morocco and Western Sahara both use +212.
How do I call Morocco from the US?
Dial 011, then 212, then the number without its first 0. A mobile number written 06 50 12 34 56 at home is dialed 011 212 6 50 12 34 56 from the US, or +212 6 50 12 34 56 from any mobile phone.
Is +212 the same as 00212?
Yes. 00 is the exit code used in Morocco and most of the world, and the + on a mobile phone stands in for whatever exit code your network uses. From the US and Canada the exit code is 011 instead.
How many digits is a phone number in Morocco?
A mobile number has 9 digits after +212, written 06 50 12 34 56 at home. A landline has 9 digits, written 05 4X XX XX XX at home.
What time is it in Morocco?
Morocco is on Morocco Time, UTC+1, all year. It does not use daylight saving time.
How do I check a +212 number that called me?
Enter it in the box above. The free check shows whether it is a valid number from Morocco and whether it is a mobile, a landline or a VoIP line, which helps you spot a one-ring scam before you call back.
Sources: Google's libphonenumber numbering data for lengths, mobile starts, area code places, first-issuing networks and time zones, as of September 24, 2026; the ITU list of country codes.