Costa Rica Population Pyramid (2026)

By Marko Visic · Updated

Costa Rica has a population of 5,174,790 in 2026, according to the UN World Population Prospects 2024 (projection for 1 July). That is the 125th-largest population in the world and 0.06% of the global total of 8.30 billion. Children under 15 make up 17.8% of the population and people aged 65 and over 13.3%, with 97.6 males for every 100 females.

Total Population
5,174,790
Median Age
35.7 years
Pyramid Type
constrictive
DTM Stage
Stage 4
Costa Rica population pyramid, a UN projection for 1 July 2026: 5,174,790 people, median age 35.7, 17.8% under 15 and 13.3% aged 65 or older.
A UN projection for 1 July 2026 from World Population Prospects 2024; UN estimates end in 2023. Download SVG. Free to reuse with credit to populationpyramids.org.
Show the numbers
Age groupMaleFemale
100+147718
95-991,3123,863
90-946,09512,230
85-8917,24426,199
80-8434,63044,940
75-7957,72469,152
70-7482,11095,038
65-69111,383125,204
60-64133,792147,564
55-59138,913152,580
50-54147,526159,083
45-49171,303177,931
40-44197,737198,100
35-39209,119205,277
30-34205,847200,608
25-29200,693194,180
20-24185,229178,124
15-19184,000176,360
10-14179,402171,900
5-9160,739154,182
0-4131,091125,520
Total2,556,0372,618,753
Female surplus 62,716 (1.2% of the population).

Costa Rica Demographics

Costa Rica has 5.2 million people in 2026, up 181.4% from 1.8 million in 1970.

Births outnumber deaths by 20,302 (UN projection for 2026).

65+ share 13.3% — the 63rd-highest of 194 countries.

Under-15 share 17.8% — the 67th-lowest of 194 countries.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Largest generation: Millennials, 25.0% (1,293,824)

All generations in Costa Rica

Population pyramid, 1950 to 2026

Watch how Costa Rica's population structure evolved from 1950 to 2026

1950
Population: 926,758
Median Age: 16.8 years
195019502026
Animation speed: 0.5 seconds per year • Drag slider or click years to explore manually

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Page Navigation(Quick jump to sections)

Sex Ratio & Gender Distribution

Costa Rica has 97.6 males per 100 females (sex ratio)

Women outnumber men by 62,716 (1.2% of the population).

Male Statistics

  • Population:2,556,037
  • Percentage:49.4%

Female Statistics

  • Population:2,618,753
  • Percentage:50.6%

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Birth Statistics & Natality Data

UN World Population Prospects 2024, 2026 (medium-variant projection).

9.7
births per 1,000 people
1.31
children per woman (TFR)
50,203
births in 2026

How many births, and how often (2026)

In Costa Rica there is about one birth every 10.5 minutes.

Monthly4,184
Weekly963
Per day138
Per hour5.7
Per minute0.10

Birth-rate and fertility trend, 1950 to 2026

Crude birth rate · total fertility rate (dashed)
19501970199020102026CBR /1,000TFR

Birth statistics, 2021 to 2026

YearBirthsTFR
(children/woman)
202153,3491.35
202252,4401.34
202351,9691.33
202451,2531.32
202550,6301.31
202650,2031.31

Since 1950

Highest birth rate46.0 per 1,000 (1958)
Decline from peak rate−78.9%
Most births84,209 (1987)

Global context (2026)

World daily births363,023
Share of global births<0.1%
World average birth rate16.0 per 1,000
Relative to world average0.6×

Source: UN World Population Prospects 2024. Births, birth rate and fertility for 2024 and later are medium-variant projections; 1950–2023 are estimates.

Median Age Analysis

Costa Rica's median age is 35.7 years

Half the population is younger than 35.7 years and half is older, which makes Costa Rica a middle-aged society.

Current Median Age
35.7
years (2026)
World Average
31.1
4.6 years older
Generation at the median age
Millennials

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Complete Age Distribution & Youth Demographics

Youth (0-14)
17.8%
922,834
Under 25
31.8%
1,646,547
Working Age
68.9%
3,563,967
Elderly (65+)
13.3%
687,989
Age GroupPopulation%Category
0-4256,6115.0%Youth
5-9314,9216.1%Youth
10-14351,3026.8%Youth
15-19360,3607.0%Young Adult
20-24363,3537.0%Young Adult
25-29394,8737.6%Working Age
30-34406,4557.9%Working Age
35-39414,3968.0%Working Age
40-44395,8377.6%Working Age
45-49349,2346.7%Working Age
50-54306,6095.9%Working Age
55-59291,4935.6%Working Age
60-64281,3565.4%Working Age
65-69236,5874.6%Senior
70-74177,1483.4%Senior
75-79126,8762.5%Senior
80-8479,5701.5%Senior
85-8943,4430.8%Senior
90-9418,3250.4%Senior
95-995,1750.1%Senior
100+8650.0%Senior

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Demographic Transition Model (DTM) Stage

Stage 4 (low birth and death rates): fertility is below the replacement level of 2.1 (1.31 children per woman), and births still exceed deaths (9.7 vs 5.8 per 1,000). Read more about Stage 4 of the Demographic Transition Model.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Fertility Rate & Birth Statistics

Costa Rica Total Fertility Rate: 1.31 children per woman

Below the replacement level of 2.1

Total Fertility Rate
1.31
children per woman
Crude Birth Rate
9.7
per 1,000 people
Replacement Level
2.1
children per woman
Global Rank
177
of 194 (1 = highest)

Fertility Rate Trends

Historical data (solid line) and future projections (dashed line)

Highest TFR since 1950
6.73
1959
Current TFR
1.31
2026
Projected 2050
1.38
UN projection

Historical Fertility Trends

YearTotal Fertility RateBirth RateChange
20211.3510.5
20221.3410.3↓0.01
20231.3310.2↓0.01
20241.3210.0↓0.01
20251.319.8↓0.01
20261.319.70.00

Global Context

  • World Average: 2.23 children per woman
  • Comparison: Below global average
  • UN projection for 2030: 1.31

Costa Rica's total fertility rate is 1.31 children per woman in 2026, below the replacement level of 2.1. Costa Rica ranks 177 of 194 for fertility rate (1 = highest), in the lowest third of countries. Since 1950 the fertility rate has changed by −79.3%.

Historical Demographic Changes

Between 1950 and 2026, Costa Rica's population grew by 458.4%.

The median age rose from 16.8 in 1950 to 35.7 in 2026.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Understanding Costa Rica's Demographics

Costa Rica has a constrictive population pyramid: a base narrower than the middle, so younger cohorts are smaller than the ones above them.

Children under 15 make up 17.8% of the population and people aged 65 and over 13.3%.

The largest five-year age band is 35–39, at 8.0% of the population, compared with 5.0% in the 0–4 band.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Demographic Analysis: Costa Rica's Population Structure

Demographic Dividend Window

Costa Rica's working-age share is projected to peak in 2024 at 69.0%.

Fertility Transition Stage

Costa Rica's total fertility rate is 1.31 children per woman (2026, UN WPP 2024), which is below replacement.

Population Aging Speed

Costa Rica's median age changed by +5.1 years from 2016 to 2026, faster than the world average (+2.6 years).

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Key Demographics

Total Population5,174,790
Male Population2,556,037(49.4%)
Female Population2,618,753(50.6%)
Median Age35.7 years
Sex Ratio97.6 males per 100 females
Youth (0-14)922,834(17.8%)
Working Age (15-64)3,563,967(68.9%)
Elderly (65+)687,989(13.3%)
Total Dependency Ratio45.2
Youth Dependency Ratio25.9
Old Age Dependency Ratio19.3
Pyramid TypeConstrictive

Dependency Ratios: Number of dependents per 100 working-age individuals.

Demographic Data Visualizations

Total population, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Median age, 1950–2026 (UN WPP 2024; 2024 onward are projections).

Youth, working-age and elderly shares, 1950 vs 2026 (UN WPP 2024).

Age distribution in 2026: youth, working-age and elderly shares (UN WPP 2024; projection).

Life Expectancy in Costa Rica

How long the average person in Costa Rica is expected to live · sourced from UN WPP 2024

Source: UN WPP 2024 medium-variant projection (2026)
Life expectancy 2026 (UN projection)
81.4
years · world rank #38 of 194
vs world avg
+7.6
world: 73.8 yrs
Men
78.8
world avg: 71.2 yrs
Women
83.9
world avg: 76.4 yrs
Gender gap: +5.1 years
Women live 5.1 yrs longer than men
Men 78.8 yrs · Women 83.9 yrs
Since 1950: +23.9 years
From 57.5 years (1950) to 81.4 years (2026, UN projection)

Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024

Solid: actual · Dashed: medium-variant projection
60708090195020002050210057.5 (1950)91.2 (2100, proj.)
1950 baseline
57.5 yrs
2026 today
81.4 yrs
+ gained 1950–2026
+23.9 yrs
2050 (UN proj.)
85.3 yrs
Looking ahead
The UN's medium-variant projection reaches 85.3 years by 2050 (+3.9 yrs), and 91.2 by 2100.
Source: UN World Population Prospects 2024. Life expectancy at birth, mid-year estimates. Medium-variant projections to 2100.
See the full world ranking

Future Demographic Trends

Costa Rica is projected to grow to 5.4 million people by 2050 (+3.5% from 2026).

The median age rises from 35.7 in 2026 to 47.0 by 2050.

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Costa Rica's Demographic Evolution by Decade

In the 2020s, 2024 to 2026 are UN projections.

1.8M
Start Population
2.4M
End Population
16.4
Start Median Age
19.3
End Median Age

The population grew 30.0%, from 1.8 million in 1970 to 2.4 million by 1980

Median age increased by 2.9 years

The youth population share contracted by 7.0 percentage points

Meanwhile, the elderly population proportion grew by 0.6 percentage points.

Key Demographic Highlights

  • Population changed from 1.8M to 2.4M
  • Growth rate of 30% over the decade
  • Median age shifted from 16.4 to 19.3 years (+2.9y)
  • 65+ share changed by +0.6 points; under-15 share by −7.0 points

Frequently Asked Questions About Costa Rica

How does Costa Rica rank globally by population?

Costa Rica ranks 125th in the world by population with 5.17 million people as of 2026, representing 0.06% of the global total of 8.30 billion.

comparison

What does Costa Rica's age structure reveal about its development?

With 17.8% under 15, 68.9% working-age (15–64) and 13.3% aged 65+, Costa Rica's age structure is that of a country in Stage 4 of the demographic transition, with a constrictive population pyramid. The median age is 35.7 years.

age

What is the dependency ratio in Costa Rica?

Costa Rica has 45.2 people under 15 or aged 65+ per 100 people aged 15–64 in 2026.

economic

Is Costa Rica experiencing a demographic dividend?

Costa Rica is at the peak of its demographic-dividend window. Costa Rica's working-age share is projected to peak in 2024 at 69.0%. A demographic dividend occurs when falling fertility creates a bulge in the working-age population while dependency ratios stay manageable.

economic

What are the gender dynamics in Costa Rica's population?

Costa Rica has more females than males, with 97.6 males per 100 females.

social

Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).

Compare with Other Countries

About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July. The UN has postponed its next revision from 2026 to 2027 (UN document E/CN.9/2026/CRP.1); these pages will be updated when it is published.

Data Sources & Methodology

All population data is sourced from the United Nations Department of Economic and Social Affairs, Population Division. Figures up to 2023 are UN estimates; 2024 and later are medium-variant projections.

Cite this page: Population Pyramids. (2026). Costa Rica Population Pyramid and Demographic Analysis. Retrieved from https://www.populationpyramids.org/costa-rica

View UN World Population Prospects data