Moroccans are Spain's largest immigrant community, concentrated in Catalonia, Andalusia, Madrid and the Region of Murcia. Here is exactly how to dial a Moroccan landline or mobile from Spain.
How to dial Morocco from Spain
- 1Dial the exit code 00
From Spain, every international call starts with the exit code 00. On a mobile you can type + instead - it stands in for the exit code automatically.
- 2Add Morocco's country code +212
Next comes +212, the country code that routes your call to Morocco.
- 3Add the area or city code
Then the destination's area or city code - see the common Morocco codes below.
- 4Dial the local number
Finish with the subscriber number. The full format for Morocco is +212 XXX XXX XXX.
A Morocco number dialed from Spain looks like this:
Skip the dialing codes: type the number and Hyallo dials it for you, right from your browser.
Rates to Morocco
| Number type | Per minute | 10-minute call |
|---|---|---|
| Landline | $0.67 | $6.70 |
| Mobile | $2.38 | $23.80 |
Prices as of October 30, 2026. Rates can change.
That's $0.67/min, no plan or contract. Call Morocco right now from your browser.
Morocco is in the same time zone as Spain.
When it's a friendly 9 AM–9 PM in Morocco, it's 9 AM–9 PM where you are.
Good time to call? Start now: Hyallo works from any browser.
Morocco area codes
Moroccan area codes after +212 (drop the leading 0 from the local number).
| Area code | City / region |
|---|---|
| +212 522 | Casablanca |
| +212 537 | Rabat |
| +212 539 | Tangier |
| +212 535 | Fes |
| +212 524 | Marrakech |
| +212 536 | Meknes |
| +212 528 | Agadir |
| +212 523 | Settat / Khouribga |
| +212 525 | Beni Mellal |
| +212 520 | Oujda (Eastern region) |
| +212 538 | Tetouan / Larache |
| +212 534 | Nador / Al Hoceima |
Mobile numbers start with 6 or 7 (e.g. +212 6XX XXX XXX after dropping the 0).
Found the area code? Type the number and call Morocco right now, no app needed.
Why call Morocco with Hyallo
Secure
Calls are encrypted from your browser.
Easy
Type the number and press call.
No app
Works in your browser. Nothing to install.
Low cost
From $0.67 a minute, no monthly fee.
Nationwide
Reach landlines and mobiles anywhere in Morocco.
Instant
Sign in with your email and call in seconds.
Ready to reach Morocco? Call it now with Hyallo.
Calling Morocco from Spain
Call Morocco with Hyallo and stay close to the Moroccan community across Europe and beyond - over 5 million Moroccans living in France, Spain, Italy, Belgium, and the Netherlands call home regularly to Casablanca, Marrakech, and Rabat to maintain strong family bonds.
Calling Morocco from another country?
More countries to call from Spain
Frequently asked questions
How do I dial Morocco from Spain?
From Spain, dial the exit code 00, then Morocco's country code +212, then the area code and the local number. On a mobile you can press + in place of 00.
How much does it cost to call Morocco from Spain?
With Hyallo you pay $0.67/min to call Morocco, a fraction of typical carrier and roaming rates. Top up a few dollars and pay only for the minutes you use.
Can I call a Morocco landline or mobile from my browser?
Yes. Hyallo connects your browser straight to the phone network, so you can reach any Morocco landline or mobile from Spain with nothing to install.
Do I need an app to call Morocco from Spain?
No. Hyallo runs in your browser on any computer or phone, so there is nothing to install.
What is the best time to call Morocco from Spain?
Call between 9 AM–9 PM in Morocco, which is 9 AM–9 PM in Spain.
What is the country code for Morocco?
The country code for Morocco is +212. From Spain, dial 00 first, or press + on a mobile.
