Geographic History

Flag of Costa RicaMedian age in Costa Rica (2023)

The median age in Costa Rica is 34.1 years (2023, UN).

Costa Rica has the 70th highest median age of 195 ranked countries (2023, UN).

Median age in Costa Rica was 33.5 years in 2022 and 34.1 years in 2023 (UN).

Median age in Costa Rica was 16.8 years in 1950, the first year of the UN series.

For comparison, the UN figure for the world is 30.4 years in 2023.

Key figures

Median age
34.1 years2023, UN
World rank
70 of 1952023, UN

Median age, 1950-2023

01020304019501960197019801990200020102020

UN values, 1950-2023.

Median age by year

Median age in Costa Rica by year
YearValue (years)Change
202334.1+0.5
202233.5+0.5
202133.0+0.5
202032.5+0.5
201932.0+0.5
201831.5+0.5
201731.1+0.5
201630.6+0.5
201530.2+0.4
201429.7+0.4
201329.3+0.4
201228.8+0.4
201128.4+0.4
201028.0+0.4
200927.6+0.4
200827.2+0.4
200726.8+0.4
200626.4+0.4
200526.0+0.4
200425.6+0.4
200325.2+0.4
200224.8+0.3
200124.5+0.3
200024.2+0.3
199923.9+0.3
199823.7+0.3
199723.4+0.3
199623.1+0.2
199522.9+0.2
199422.6+0.2
199322.4+0.2
199222.2+0.2
199121.9+0.2
199021.7+0.2
198921.5+0.2
198821.3+0.2
198721.1+0.2
198620.8+0.2
198520.6+0.2
198420.4+0.3
198320.1+0.3
198219.9+0.3
198119.6+0.3
198019.3+0.3
197919.0+0.3
197818.7+0.3
197718.4+0.3
197618.1+0.3
197517.8+0.3
197417.5+0.3
197317.2+0.3
197217.0+0.3
197116.7+0.3
197016.4+0.2
196916.2+0.2
196816.0+0.2
196715.8+0.1
196615.7+0.1
196515.6+0.1
196415.50.0
196315.50.0
196215.6-0.1
196115.6-0.1
196015.7-0.1
195915.8-0.1
195816.0-0.1
195716.1-0.1
195616.2-0.1
195516.3-0.1
195416.4-0.1
195316.5-0.1
195216.6-0.1
195116.7-0.1
195016.8-

Costa Rica through history

Costa Rica became independent on September 15, 1821.

The nearest world map in the atlas to that year is 1820.

Map quizzes that include Costa Rica

Costa Rica in context

Costa Rica in context
CountryValueYearRankRelation
Kuwait34.5 years202369 of 195similar size
Greenland34.2 years2023not rankedsimilar size
Costa Rica34.1 years202370 of 195this country
Brazil33.9 years202371 of 195similar size
Saint Vincent and the Grenadines33.9 years202372 of 195similar size
New Caledonia33.9 years2023not rankedsimilar size
Panama29.6 years202393 of 195land neighbour
Nicaragua25.3 years2023124 of 195land neighbour

Frequently asked questions

What is the median age in Costa Rica?

The median age in Costa Rica is 34.1 years (2023, UN).

How does Costa Rica rank in the world by median age?

Costa Rica has the 70th highest median age of 195 ranked countries (2023, UN).

How has the median age in Costa Rica changed over time?

Median age in Costa Rica was 33.5 years in 2022 and 34.1 years in 2023 (UN).

What it measures

The median age splits the population in two equal halves: half of the people are younger, half are older.

Sources and method

UN figures are from UN - World Population Prospects 2024, Medium variant, World Population Prospects 2024 (revision 1): Interim update, released 19 January 2026 (Togo replaced; all other locations as released 11 July 2024); downloaded 2026-11-24. They count people on 1 July of each year. Values up to 2023 are estimates; later values are projections.

Ranks count the independent states that have a value for the indicator and are listed in the Geographic History country data; territories and dependencies are shown with their data but are not ranked. Rank 1 is the highest value.

The yearly table lists the UN values for each year where the source has one; years without a value are left out.

Last updated:

More about Costa Rica

More statistics for Costa Rica

Every year has a map

Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.