Advertisement

CRI · CR · United Nations WPP 2024 · 2026

Costa Rica

Costa Rica had a population of 5,174,789 people in 2026, ranking 127 of 237 countries and areas. Explore its age pyramid, trends and demographic indicators.

Source: United Nations World Population Prospects 2024, medium variant.

Total population
5,174,789 people
2026 · Projection
Rank
#127/ 237
Latin America and the Caribbean #18 / 50
Share of world population
0.06%
2026
Density
101.3 people/km²
2026
Median age
35.7
years
Life expectancy
81.38
years
2026

Country or area overview

Costa Rica is in Latin America and the Caribbean. In 2026, its population was 5,174,789 people, about 0.06% of the world total. It ranks #127 of 237 countries and areas worldwide. The population was 926,758 people in 1950 and is projected to reach 3,776,474 people in 2100. The annual population growth rate in 2026 is 0.41%. The median age is 35.7. 17.8% of the population is under 15 and 13.3% is 65 or older. Life expectancy is 81.38 and the total fertility rate is 1.31. Within Latin America and the Caribbean, it ranks #18 of 50 by population and #27 of 50 by population density. Data note This page uses the UN World Population Prospects 2024 medium variant. Data for 1950–2023 are estimates; 2024 onward, including 2026, are projections. Values for 2100 are long-range projections.

Costa Rica map

Country outline and its location in the world.

Map of Costa Rica
World location

Boundaries: Natural Earth 1:50m.

Population history and projection

Population from 1950 to 2100. The dashed section shows the UN medium-variant projection from 2024 onward.

United Nations WPP 2024
5.92M4.54M3.15M1.77M392.16K1950197620022028205420802100
EstimatesProjections

Age group · 2026

Population age pyramid

Male and female population by five-year age group. Move the year slider to compare 1950, today and the 2100 projection.

2026Projection
MaleFemaleAge group100+ · Male: 147 (0.00%) · Female: 719 (0.01%)100+ · Male: 147 (0.00%) · Female: 719 (0.01%)100+95–99 · Male: 1,312 (0.03%) · Female: 3,863 (0.07%)95–99 · Male: 1,312 (0.03%) · Female: 3,863 (0.07%)95–9990–94 · Male: 6,095 (0.12%) · Female: 12,229 (0.24%)90–94 · Male: 6,095 (0.12%) · Female: 12,229 (0.24%)90–9485–89 · Male: 17,244 (0.33%) · Female: 26,198 (0.51%)85–89 · Male: 17,244 (0.33%) · Female: 26,198 (0.51%)85–8980–84 · Male: 34,630 (0.67%) · Female: 44,941 (0.87%)80–84 · Male: 34,630 (0.67%) · Female: 44,941 (0.87%)80–8475–79 · Male: 57,724 (1.12%) · Female: 69,152 (1.34%)75–79 · Male: 57,724 (1.12%) · Female: 69,152 (1.34%)75–7970–74 · Male: 82,110 (1.59%) · Female: 95,038 (1.84%)70–74 · Male: 82,110 (1.59%) · Female: 95,038 (1.84%)70–7465–69 · Male: 111,382 (2.15%) · Female: 125,204 (2.42%)65–69 · Male: 111,382 (2.15%) · Female: 125,204 (2.42%)65–6960–64 · Male: 133,792 (2.59%) · Female: 147,564 (2.85%)60–64 · Male: 133,792 (2.59%) · Female: 147,564 (2.85%)60–6455–59 · Male: 138,913 (2.68%) · Female: 152,581 (2.95%)55–59 · Male: 138,913 (2.68%) · Female: 152,581 (2.95%)55–5950–54 · Male: 147,526 (2.85%) · Female: 159,083 (3.07%)50–54 · Male: 147,526 (2.85%) · Female: 159,083 (3.07%)50–5445–49 · Male: 171,303 (3.31%) · Female: 177,930 (3.44%)45–49 · Male: 171,303 (3.31%) · Female: 177,930 (3.44%)45–4940–44 · Male: 197,737 (3.82%) · Female: 198,100 (3.83%)40–44 · Male: 197,737 (3.82%) · Female: 198,100 (3.83%)40–4435–39 · Male: 209,119 (4.04%) · Female: 205,277 (3.97%)35–39 · Male: 209,119 (4.04%) · Female: 205,277 (3.97%)35–3930–34 · Male: 205,847 (3.98%) · Female: 200,608 (3.88%)30–34 · Male: 205,847 (3.98%) · Female: 200,608 (3.88%)30–3425–29 · Male: 200,693 (3.88%) · Female: 194,180 (3.75%)25–29 · Male: 200,693 (3.88%) · Female: 194,180 (3.75%)25–2920–24 · Male: 185,230 (3.58%) · Female: 178,125 (3.44%)20–24 · Male: 185,230 (3.58%) · Female: 178,125 (3.44%)20–2415–19 · Male: 184,000 (3.56%) · Female: 176,361 (3.41%)15–19 · Male: 184,000 (3.56%) · Female: 176,361 (3.41%)15–1910–14 · Male: 179,402 (3.47%) · Female: 171,899 (3.32%)10–14 · Male: 179,402 (3.47%) · Female: 171,899 (3.32%)10–145–9 · Male: 160,739 (3.11%) · Female: 154,181 (2.98%)5–9 · Male: 160,739 (3.11%) · Female: 154,181 (2.98%)5–90–4 · Male: 131,091 (2.53%) · Female: 125,520 (2.43%)0–4 · Male: 131,091 (2.53%) · Female: 125,520 (2.43%)0–4
Age-group data
Age group Male Female Total Share
0–4 131,091 125,520 256,611 4.96%
5–9 160,739 154,181 314,920 6.09%
10–14 179,402 171,899 351,301 6.79%
15–19 184,000 176,361 360,361 6.96%
20–24 185,230 178,125 363,355 7.02%
25–29 200,693 194,180 394,873 7.63%
30–34 205,847 200,608 406,455 7.85%
35–39 209,119 205,277 414,396 8.01%
40–44 197,737 198,100 395,837 7.65%
45–49 171,303 177,930 349,233 6.75%
50–54 147,526 159,083 306,609 5.93%
55–59 138,913 152,581 291,494 5.63%
60–64 133,792 147,564 281,356 5.44%
65–69 111,382 125,204 236,586 4.57%
70–74 82,110 95,038 177,148 3.42%
75–79 57,724 69,152 126,876 2.45%
80–84 34,630 44,941 79,571 1.54%
85–89 17,244 26,198 43,442 0.84%
90–94 6,095 12,229 18,324 0.35%
95–99 1,312 3,863 5,175 0.10%
100+ 147 719 866 0.02%
Advertisement

Demographic indicators

UN WPP 2024 indicators for 2026.

Projection
Indicator 2026 Projection for 2100 Unit
Total population 5,174,789 people 3,776,474 people people
Male population 2,556,037 people 1,868,282 people people
Female population 2,618,752 people 1,908,192 people people
Population density 101.3 people/km² 74.0 people/km² people/km²
Sex ratio 97.6 97.9 males per 100 females
Median age 35.7 56.2 years
Natural change 20,302 -38,570 people
Natural change rate 3.92 ‰ -10.21 ‰ ‰
Population change 21,268 -37,867 people
Population growth rate 0.41% -1.00% %
Population doubling time — — years
Births 50,203 people 24,321 people people
Births to women aged 15–19 4,011 390 people
Birth rate 9.70 ‰ 6.44 ‰ ‰
Total fertility rate 1.31 1.49 children per woman
Net reproduction rate 0.630 0.726
Mean age at childbearing 28.56 31.30 years
Sex ratio at birth 104.6 104.8 males per 100 females
Deaths 29,901 people 62,891 people people
Male deaths 16,054 31,509 people
Female deaths 13,848 31,383 people
Death rate 5.78 ‰ 16.65 ‰ ‰
Life expectancy at birth 81.38 91.16 years
Male life expectancy at birth 78.84 89.42 years
Female life expectancy at birth 83.87 92.93 years
Life expectancy at age 15 67.07 76.34 years
Life expectancy at age 65 20.99 27.48 years
Life expectancy at age 80 9.92 14.31 years
Infant deaths 303 35 people
Infant mortality rate 6.02 ‰ 1.46 ‰ ‰
Survivors to age 1 49,942 24,291 people
Deaths under age 5 356 42 people
Under-5 mortality rate 7.06 ‰ 1.71 ‰ ‰
Net migration 966 702 people
Net migration rate 0.19 ‰ 0.19 ‰ ‰

Frequently asked questions

What is the population of Costa Rica?
In 2026, Costa Rica had a population of 5,174,789 people. It ranks #127 of 237 countries and areas worldwide.
How has the population of Costa Rica changed?
The population was 926,758 people in 1950 and is projected to reach 3,776,474 people in 2100.
What is the age structure of Costa Rica?
The median age is 35.7. 17.8% of the population is under 15 and 13.3% is 65 or older.
How does Costa Rica compare within Latin America and the Caribbean?
By total population, Costa Rica ranks #18 of 50 in Latin America and the Caribbean and #127 of 237 worldwide.

Estimates cover 1950–2023; 2024 and later are UN medium-variant projections. Rankings use the latest available value for the selected year. The world total is the sum of all countries and areas in the dataset.

Advertisement