Quick facts
Safi overview
Safi (orange) and the other large cities of Morocco
In Marrakesh-Safi it is the 2nd largest of the 3 cities in our list, after Marrakesh. Among the 5,053 cities in the world with 100,000 or more inhabitants it ranks #1,600, between Wakayama (Japan) and Tirupati (India). About as many people live in the whole of Martinique.
The capital, Rabat, is 294 km away in a straight line.
Country-level figures — live population, births and deaths, growth, density and history — are on the Morocco population page; provinces, terrain, rivers and society maps are in the Morocco atlas.
Cities near Safi
| City | Distance | Population |
|---|---|---|
| El Jadida Casablanca-Settat | 126 km | 214,466 |
| Marrakesh Marrakesh-Safi | 138 km | 1,003,371 |
| Settat Casablanca-Settat | 171 km | 156,503 |
| El Kelaa des Srarhna Marrakesh-Safi | 174 km | 104,765 |
| Berrechid Casablanca-Settat | 188 km | 150,325 |
| Dar Bouazza Casablanca-Settat | 189 km | 166,539 |
| Bouskoura Casablanca-Settat | 196 km | 113,349 |
Largest cities in Morocco
| # | City | Region | Population |
|---|---|---|---|
| 1 | Casablanca | Casablanca-Settat | 3,693,564 |
| 2 | RabatCapital | Rabat-Salé-Kénitra | 1,668,223 |
| 3 | Fes | Fes-Meknes | 1,200,882 |
| 4 | Tangier | Tanger-Tetouan-Al Hoceima | 1,042,937 |
| 5 | Marrakesh | Marrakesh-Safi | 1,003,371 |
| 6 | Salé | Rabat-Salé-Kénitra | 979,622 |
| 7 | Agadir | Souss-Massa | 703,570 |
| 8 | Meknes | Fes-Meknes | 572,575 |
| 9 | Oujda | Oriental | 543,776 |
| 10 | Kenitra | Rabat-Salé-Kénitra | 474,496 |
Frequently asked questions
What is the population of Safi?
Safi has 336,883 inhabitants according to GeoNames, an open database that compiles census results and official estimates but does not say which year each figure is from. This is the city proper; the metropolitan area is larger. Glostats treats this figure as current and carries it forward with the national growth rate; together with the rest of the country, the cities of Morocco add up to its live population.
Explore more
Cite, download or embed
Glostats. (2026). Safi Population 2026: Live Counter — Morocco. Retrieved November 24, 2026, from https://glostats.com/cities/morocco/safi/https://glostats.com/cities/morocco/safi/<a href="https://glostats.com/cities/morocco/safi/">Safi Population 2026: Live Counter — Morocco</a> — Glostats<iframe src="https://glostats.com/widget/counter.html?t=city&c=MAR&city=safi&theme=dark" height="178" style="border:0;width:100%;max-width:420px;border-radius:12px;overflow:hidden" title="Safi Population 2026: Live Counter — Morocco" loading="lazy"></iframe>
<p style="font:12px/1.4 system-ui,sans-serif;margin:4px 0 0"><a href="https://glostats.com/cities/morocco/safi/">Safi Population 2026: Live Counter — Morocco</a> live by <a href="https://glostats.com/">Glostats</a></p>Figures on this page may be quoted, charted or republished as long as the page is credited with a link. Terms · Data API · More embed options
City populations start from GeoNames (CC BY 4.0), an open database that compiles census results and official estimates for the city proper — the municipality, not the wider metropolitan area — but does not give the year of each figure, so some may be years old. Glostats treats each figure as current and carries it forward as a live estimate; the cities and the rest of the country add up to the live population of the country, which follows the UN World Population Prospects 2024 (medium variant). Distances are great-circle distances between city centres. Page generated 2026-11-24. More about our data.