Costa Rica has a projected population of 5,129,960 in 2024. People aged 65 and over make up 12.2%; the approximate median age is 35.6 years.

In the UN Medium projection for 2050, 25.3% are aged 65 or over and 12.6% are under 15.

Population 1950–2100
Population
19502000202420502100
Age structure 1950–2100
Age structure
19502000202420502100
Aged 0–14Aged 15–64Aged 65+

1950–2023 · Estimates
2024–2100 · Projection

Population and age structure2024–2100 · Projection
YearPopulationAged 0–14Aged 15–64Aged 65+
19601,327,55046.4%50.5%3%
20245,129,96018.8%69%12.2%
20265,174,80017.8%68.9%13.3%
20505,354,21012.6%62.1%25.3%

The figures come from UN World Population Prospects 2024, combined sexes. Years through 2023 are estimates; 2024 onward uses the Medium projection. Median age is approximated within single-year age bands, and population counts are rounded for the visualization.