Best places to live in Morocco

In Morocco, Guelmim ranks highest for livability among major cities (69/100). Smaller, lower-cost towns can score higher — sort and filter all 16 cities below by cost, climate and disaster safety.
Major cities in Morocco by livability
65Casablanca66Rabat63Fes66Tangier62Marrakesh68Agadir66Meknes67Oujda66Kenitra68Tétouan67Al Hoceïma67Safi

Living in Morocco: the overview

Across the 16 Morocco cities we score, livability averages about 66/100 — cost 46, climate 96 and safety 62 on our 0–100 scales. The most affordable city is Guelmim (cost 49/100), and the warmest is Marrakesh (warmest-month highs around 27.7°C). Cost is anchored to Morocco's World Bank price level, climate to WorldClim normals, and safety blends USGS/FEMA disaster exposure with World Bank homicide rates. National averages hide big within-country gaps, so the table below lets you sort all 16 cities by whichever factor matters most to you — budget, weather or safety — rather than trusting one headline number.

The spread is real: livability runs from 62/100 in Marrakesh up to 69/100 in Guelmim, a 7-point gap across Morocco. Warmest-month highs across these cities range roughly 22.9–27.7°C, and the leading natural-disaster exposure is drought in the flagship city — check each city page for its own hazard breakdown before deciding.

Scores are 0–100, higher = better. Cost = affordability (higher = cheaper) · Climate = year-round comfort · Safety = natural-disaster + crime safety · Livability = the three combined.

CityLivabilityiOverall score, 0–100 = 0.35 × Cost + 0.30 × Climate + 0.35 × Safety.CostiAffordability, 0–100. Higher = cheaper. = 100 − (country price level vs US × a city-size premium). Source: World Bank PPP ÷ exchange rate (US = 100).ClimateiComfort, 0–100, from WorldClim monthly temperatures. Penalises hot summers (above ~24°C), cold winters (below ~6°C) and too-cool summers (below 15°C). Higher = milder.Safetyi0–100. Higher = safer. Blends 55% natural-disaster safety (8 hazards — earthquake from real USGS records, plus flood, storm, wildfire, heat, drought, cold, tsunami) and 45% crime safety (homicide rate).Summer°CTop risk
Showing top 16 of 16 cities by population. Climate: WorldClim (real). Cost: World Bank. Disaster/crime: USGS/FEMA/INFORM. Livability = 0.35·cost + 0.30·climate + 0.35·safety.

🌪 Natural-disaster risk in Morocco → 🏖 Best places to retire in Morocco → 💻 Digital nomad guide to Morocco →

FAQ

What is the best place to live in Morocco?

Among major cities, Guelmim ranks highest for livability (69/100); smaller, cheaper towns can score higher still — sort the full table by your priorities.

How many cities in Morocco are ranked?

16 cities, scored on cost of living, climate and natural-disaster safety.

Is Morocco safe from natural disasters?

It varies by city — each city page shows the full breakdown. Guelmim scores 66/100 for safety.

← All countries