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.
Show the numbers
| Age group | Male | Female | Total | Share |
|---|---|---|---|---|
| 100+ | 147 | 718 | 865 | 0.02% |
| 95-99 | 1,312 | 3,863 | 5,175 | 0.10% |
| 90-94 | 6,095 | 12,230 | 18,325 | 0.35% |
| 85-89 | 17,244 | 26,199 | 43,443 | 0.84% |
| 80-84 | 34,630 | 44,940 | 79,570 | 1.54% |
| 75-79 | 57,724 | 69,152 | 126,876 | 2.45% |
| 70-74 | 82,110 | 95,038 | 177,148 | 3.42% |
| 65-69 | 111,383 | 125,204 | 236,587 | 4.57% |
| 60-64 | 133,792 | 147,564 | 281,356 | 5.44% |
| 55-59 | 138,913 | 152,580 | 291,493 | 5.63% |
| 50-54 | 147,526 | 159,083 | 306,609 | 5.93% |
| 45-49 | 171,303 | 177,931 | 349,234 | 6.75% |
| 40-44 | 197,737 | 198,100 | 395,837 | 7.65% |
| 35-39 | 209,119 | 205,277 | 414,396 | 8.01% |
| 30-34 | 205,847 | 200,608 | 406,455 | 7.85% |
| 25-29 | 200,693 | 194,180 | 394,873 | 7.63% |
| 20-24 | 185,229 | 178,124 | 363,353 | 7.02% |
| 15-19 | 184,000 | 176,360 | 360,360 | 6.96% |
| 10-14 | 179,402 | 171,900 | 351,302 | 6.79% |
| 5-9 | 160,739 | 154,182 | 314,921 | 6.09% |
| 0-4 | 131,091 | 125,520 | 256,611 | 4.96% |
| Total | 2,556,037 | 2,618,753 | 5,174,790 | 100.00% |
| 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 RicaPopulation pyramid, 1950 to 2026
Watch how Costa Rica's population structure evolved from 1950 to 2026
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).
How many births, and how often (2026)
In Costa Rica there is about one birth every 10.5 minutes.
Birth-rate and fertility trend, 1950 to 2026
Crude birth rate · total fertility rate (dashed)Birth statistics, 2021 to 2026
| Year | Births | Birth rate (per 1,000) | TFR (children/woman) | Type |
|---|---|---|---|---|
| 2021 | 53,349 | 10.5 | 1.35 | estimate |
| 2022 | 52,440 | 10.3 | 1.34 | estimate |
| 2023 | 51,969 | 10.2 | 1.33 | estimate |
| 2024 | 51,253 | 10.0 | 1.32 | projection |
| 2025 | 50,630 | 9.8 | 1.31 | projection |
| 2026 | 50,203 | 9.7 | 1.31 | projection |
Since 1950
Global context (2026)
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.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024).
Complete Age Distribution & Youth Demographics
| Age Group | Population | % | Category |
|---|---|---|---|
| 0-4 | 256,611 | 5.0% | Youth |
| 5-9 | 314,921 | 6.1% | Youth |
| 10-14 | 351,302 | 6.8% | Youth |
| 15-19 | 360,360 | 7.0% | Young Adult |
| 20-24 | 363,353 | 7.0% | Young Adult |
| 25-29 | 394,873 | 7.6% | Working Age |
| 30-34 | 406,455 | 7.9% | Working Age |
| 35-39 | 414,396 | 8.0% | Working Age |
| 40-44 | 395,837 | 7.6% | Working Age |
| 45-49 | 349,234 | 6.7% | Working Age |
| 50-54 | 306,609 | 5.9% | Working Age |
| 55-59 | 291,493 | 5.6% | Working Age |
| 60-64 | 281,356 | 5.4% | Working Age |
| 65-69 | 236,587 | 4.6% | Senior |
| 70-74 | 177,148 | 3.4% | Senior |
| 75-79 | 126,876 | 2.5% | Senior |
| 80-84 | 79,570 | 1.5% | Senior |
| 85-89 | 43,443 | 0.8% | Senior |
| 90-94 | 18,325 | 0.4% | Senior |
| 95-99 | 5,175 | 0.1% | Senior |
| 100+ | 865 | 0.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
Fertility Rate Trends
Historical data (solid line) and future projections (dashed line)
Historical Fertility Trends
| Year | Total Fertility Rate | Birth Rate | Change |
|---|---|---|---|
| 2021 | 1.35 | 10.5 | |
| 2022 | 1.34 | 10.3 | ↓0.01 |
| 2023 | 1.33 | 10.2 | ↓0.01 |
| 2024 | 1.32 | 10.0 | ↓0.01 |
| 2025 | 1.31 | 9.8 | ↓0.01 |
| 2026 | 1.31 | 9.7 | 0.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 Population | 5,174,790 |
| Male Population | 2,556,037(49.4%) |
| Female Population | 2,618,753(50.6%) |
| Median Age | 35.7 years |
| Sex Ratio | 97.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 Ratio | 45.2 |
| Youth Dependency Ratio | 25.9 |
| Old Age Dependency Ratio | 19.3 |
| Pyramid Type | Constrictive |
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
Life expectancy, 1950 to 2100: UN estimates to 2023, projection from 2024
Solid: actual · Dashed: medium-variant projectionFuture 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.
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.
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.
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.
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.
What are the gender dynamics in Costa Rica's population?
Costa Rica has more females than males, with 97.6 males per 100 females.
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