Skip to content
WorldPop

🇲🇦 Morocco vs 🇪🇸 Spain

Spain has 10.9M more people — 49,355,143 against 38,430,770. Below, 35 indicators both countries publish, side by side.

🇲🇦 Morocco
38,430,770
Africa · rank #41 · +0.91%
World Bank, 2025
🇪🇸 Spain
49,355,143
Europe · rank #32 · +1.03%
World Bank, 2025

Every Shared Indicator

35 indicators published for both countries. Ranks are out of the countries that report each indicator.

Values are each country's most recent published observation, so the two sides of a row may be from different years — the country pages show the year for each.
IndicatorMoroccoSpain
Population38,430,77041st of 24049,355,14332nd of 240
Annual Growth Rate+0.91%114th of 240+1.03%107th of 240
Population Density/km²85/km²126th of 24097/km²116th of 240
Land Areakm²446,300 km²55th of 240499,697 km²51st of 240
Urban Population63.1%131st of 24080.5%63rd of 240
GDP per Capita$4,672167th of 240$38,62750th of 240
GDP Growth+4.6%60th of 210+2.8%120th of 210
Life Expectancyyears75.5 years121st of 24083.9 years12th of 240
Fertility Ratebirths per woman2.21 births per woman96th of 2401.10 births per woman227th of 240
Birth Rateper 1,00016.4 per 1,00094th of 2136.5 per 1,000205th of 213
Death Rateper 1,0005.7 per 1,000166th of 2138.9 per 1,00062nd of 213
Infant Mortalityper 1,000 live births14.7 per 1,000 live births87th of 1942.6 per 1,000 live births175th of 194
Unemployment Rate9.0%45th of 18610.4%37th of 186
Inflation Rate0.7%159th of 1912.7%101st of 191
Poverty Rate3.9%162nd of 16420.2%90th of 164
Gini Index39.551st of 17033.4107th of 170
Health Spendingof GDP6.1% of GDP103rd of 1929.2% of GDP42nd of 192
Physiciansper 1,0000.74 per 1,000139th of 2064.29 per 1,00024th of 206
Hospital Bedsper 1,0000.73 per 1,000172nd of 1992.91 per 1,00074th of 199
Literacy Rate64.3%152nd of 17599.7%16th of 175
Education Spendingof GDP6.0% of GDP28th of 2024.6% of GDP78th of 202
School Enrollmentgross, secondary90.0% gross, secondary114th of 207118.5% gross, secondary19th of 207
Renewable Energyof final consumption10.9% of final consumption142nd of 21119.0% of final consumption110th of 211
Forest Coverageof land area12.9% of land area147th of 21137.2% of land area81st of 211
Internet Penetration91.2%54th of 21195.8%25th of 211
Mobile Subscriptionsper 100 people153.1 per 100 people30th of 212130.3 per 100 people58th of 212
Maternal Mortalityper 100,000 live births70 per 100,000 live births78th of 1933 per 100,000 live births181st of 193
Military Spendingof GDP3.52% of GDP23rd of 1631.43% of GDP95th of 163
Protected Areasof land area2.1% of land area199th of 21128.1% of land area47th of 211
Median Ageyears29.8 years137th of 24045.9 years16th of 240
Mean Years of Schoolingyears6.8 years115th of 14811.5 years40th of 148
Human Development Index0.710119th of 1920.91828th of 192
Happiness Index/ 104.65/ 10120th of 1646.54/ 1041st of 164
CO₂ Emissionstonnes per capita1.81 tonnes per capita135th of 2124.60 tonnes per capita75th of 212
Obesity Rate22.0%113th of 19818.9%127th of 198

Population, 1950–2100

Observed to 2024, then the UN medium-variant projection.

MoroccoSpain
010M20M30M40M50M19501971199320142036205720792100projected →
Source: UN World Population Prospects 2024. Values from 2025 onward are projections, not observations.
Morocco and Spain population, 1950 to 2100
SeriesYearValue
Morocco19508.94M
Morocco197517.2M
Morocco200028.4M
Morocco202538.4M
Morocco205043.4M
Morocco207542.5M
Morocco210037.9M
Spain195028.1M
Spain197535.8M
Spain200041M
Spain202547.9M
Spain205044.9M
Spain207537.6M
Spain210033.1M

Reading This Comparison

Size is not the same as rate

Totals and per-capita measures answer different questions. A country can have a far larger economy and a far lower GDP per capita at the same time — both facts are in the table.

Mind the vintages

Each value is the latest available for that country, which is not always the same year on both sides. For indicators that move slowly this rarely matters; for inflation or GDP growth it can.

More Comparisons