Mexico vs Spain: Population by age group

Mexico
10.36 million people
in 2023
Spain
9.88 million people
in 2023
Mexico rank
15th
Spain rank
16th

Population by age group over time

  • Mexico
  • Spain
02.0M4.0M6.0M8.0M10.0M195019862023

How they compare

Mexico currently reports 10.36 million people against 9.88 million people in Spain, a difference of 475,950 people.

The two have swapped places 1 time across 74 shared years of data; in 1950 it was Spain ahead.

Mexico ranks 15th and Spain ranks 16th of 236 countries.

Across the 8 decades both report, Mexico averaged higher in 1 and Spain in 7.

Head to head by decade

Decade Mexico Spain Difference Ahead
1950s 910,934 people 2.22 million people 1.31 million people Spain
1960s 1.15 million people 2.80 million people 1.65 million people Spain
1970s 1.63 million people 3.65 million people 2.02 million people Spain
1980s 2.57 million people 4.61 million people 2.04 million people Spain
1990s 4.01 million people 5.96 million people 1.95 million people Spain
2000s 5.86 million people 7.26 million people 1.39 million people Spain
2010s 7.98 million people 8.56 million people 577,572 people Spain
2020s 9.87 million people 9.57 million people 298,775 people Mexico

Averages of every year both report within each decade.

Frequently asked questions

Which has higher population by age group, Mexico or Spain?
Mexico, at 10.36 million people against 9.88 million people in Spain as of 2023.
What is the difference in population by age group between Mexico and Spain?
475,950 people, with Mexico ahead.
How many years of comparable data are there for Mexico and Spain?
74 years are reported by both, from 1950 to 2023.
How do Mexico and Spain rank globally for population by age group?
Mexico ranks 15th and Spain ranks 16th of 236 countries.
Where does this data come from?
UN, World Population Prospects (2024) – processed by Our World in Data, published as Population by age group. Statizoid refreshes it automatically from the source and publishes the full history for both places.

Individual pages

Share, cite or embed this page

Cite this page

Mexico vs Spain: Population by age group. Statizoid, drawing on UN, World Population Prospects (2024) – processed by Our World in Data. Retrieved 23 September 2026, from https://population.statizoid.com/compare/population-by-age-group/mexico/spain/

Embed or link this data

Paste this into a page to link back to these figures. The data itself is free to reuse under CC BY 4.0 (Our World in Data); please keep the attribution.

<a href="https://population.statizoid.com/compare/population-by-age-group/mexico/spain/">Mexico vs Spain: Population by age group</a> — Statizoid

About this data

Indicator
Population by age group
Unit
people
Source
UN, World Population Prospects (2024) – processed by Our World in Data
Licence
CC BY 4.0 (Our World in Data)
Coverage
236 places, 17,464 data points, 1950–2023
Last refreshed

Total population, measured on 1 July of the year shown. This only includes people aged 65+.