Morocco

Country in Northern Africa, Africa · ranked on 1,902 metrics

Morocco is a country in Africa with a population of 38,762,441 (41st of 235). It ranks best for % of GDP per Year Spent on Education (14th of 118), Head of State Annual Salary (21st of 179), Male Suicide Rate (24th of 204). It ranks lowest for Polity Democracy Score (tied last of 132), Total Population Literacy Rate (165th of 187), LGBTQI+ Travel Safety Index (173rd of 197).

Population
38.8M
41st highest of 235
Density
86.9
128th highest of 235
Growth rate
0.86%
107th highest of 235
Area
446,550
58th highest of 235
Continent
Africa
Northern Africa

Strengths and weak spotsPercentileWhere a place sits among all places, from 0 to 100. 100 is the best, 50 is the middle, 0 is the worst.More in the glossary →

Percentile on 457 metrics that rank at least half of all countries, given whether higher or lower is better.

Totals that track populationCounts like “number of burglaries” that mostly reflect how many people live somewhere, so big places rank high or low regardless.More in the glossary →

Best at

Highest percentiles, given whether higher or lower is better

  1. Good Country Index by Country · 2024
    1st of 171
  2. Stabbing Deaths by Country · 2019
    tied 1st of 202
  3. Access to Clean Water by Country
    4th of 123
  4. Childhood Obesity Rates by Country
    6th of 160
  5. Democracy Index by Country
    8th of 165
  6. Water Quality by Country · 2024
    9th of 179
  7. Most Dangerous Countries for Women · 2024
    10th of 198
  8. Alcoholism Rate330 per 100k
    Alcoholism by Country · 2023
    11th of 204
  9. ASR2.6 per 100k
    Liver Cancer Rates by Country · 2022
    tied 10th of 185
  10. US Trade Deficit by Country · 2025
    14th of 221

Worst at

Lowest percentiles, given whether higher or lower is better

  1. Heart Disease Rates by Country · 2023
    200th of 204
  2. Highest Taxed Countries · 2026
    tied 148th of 155
  3. Legatum Prosperity Index · 2023
    162nd of 167
  4. Polity Data Series by Country
    tied last of 132
  5. Droughts by Country
    132nd of 138
  6. Labor Force Participation Rate by Country
    176th of 186
  7. Corporate Tax Rates by Country · 2025
    tied 189th of 202
  8. US Trade Deficit by Country · 2025
    208th of 221
  9. Most Innovative Countries · 2024
    124th of 132
  10. Effective Corporate Tax Rate by Country
    tied 133rd of 144

Profile by category

Average percentile per category, from the median line. Select a category to list its metrics.

Strongest category Travel (76), weakest Education (34). Select a category to list its metrics.

Notable facts

Where it ranks first or last among countries

Where it is

Shaded by population; select a place to open it

Loading map…

Similar places

Closest percentiles on 59 widely reported measures from 12 categories, leaving out size and totals

  1. Egypt77% similar
    Compared on 58 of 59
  2. Tunisia77% similar
    Compared on 58 of 59
  3. Turkey76% similar
    Compared on 58 of 59
  4. Algeria76% similar
  5. Sri Lanka73% similar

Cities in Morocco

5 cities with a report card, largest first

Quick answers

What is the population of Morocco?
Morocco has a population of 38,762,441, 41st among 235 countries.
What does Morocco rank best at?
Among countries, Morocco ranks best for % of GDP per Year Spent on Education (14th of 118); Head of State Annual Salary (21st of 179); Male Suicide Rate (24th of 204).
Where does Morocco rank worst?
Morocco ranks lowest for Polity Democracy Score (tied last of 132); Total Population Literacy Rate (165th of 187); LGBTQI+ Travel Safety Index (173rd of 197).
How many statistics does Rankodex have for Morocco?
Rankodex ranks Morocco on 1,902 statistics compared with other countries, compiled from World Population Review and the sources it cites.

Every metric

1,902 metrics with a value for this place, in 656 topics