Costa Rica Population Pyramid 2026: 5.2M People by Age & Sex
Costa Rica has a population of 5,174,789 in 2026, according to the UN World Population Prospects 2024 (projection for 1 July). That is the 127th-largest population in the world and 0.06% of the global total of 8.3B. 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.
Embed this pyramid: <a href="https://agepyramids.com/costa-rica"><img src="https://agepyramids.com/images/pyramids/costa-rica-2026.svg" alt="Costa Rica population pyramid 2026"></a>
Show the numbers — Costa Rica population by age group, 2026
| 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,198 | 43,442 | 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,382 | 125,204 | 236,586 | 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,930 | 349,233 | 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,848 | 200,608 | 406,456 | 7.85% |
| 25-29 | 200,693 | 194,180 | 394,873 | 7.63% |
| 20-24 | 185,230 | 178,124 | 363,354 | 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,751 | 5,174,788 | 100.00% |
Women outnumber men by 62,716 (1.2% of the population).
Costa Rica population pyramid, 1950 to 2100
Drag the slider or press play to watch the age structure change. Figures to 2023 are UN estimates; from 2024 they are the UN's medium-variant projection.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Costa Rica sex ratio and gender balance
Costa Rica has 97.6 males for every 100 females in 2026. Women outnumber men by 62,716 (1.2% of the population). The male population is 2,556,036 (49.4%) and the female population is 2,618,752 (50.6%). Sex ratios differ by age: boys slightly outnumber girls at birth, while at older ages women usually outnumber men because of longer female life expectancy — in Costa Rica, life expectancy is 83.9 years for women and 78.8 years for men.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Births and fertility in Costa Rica
In 2026 there are 50,203 births in Costa Rica — about 137 per day, 6 per hour, or roughly one birth every 10.5 minutes. The crude birth rate is 9.7 births per 1,000 people and the total fertility rate is 1.31 children per woman, below the replacement level of 2.1. Costa Rica accounts for 0.0% of all births worldwide. Deaths number 29,901, so births exceed deaths by 20,302.
| Year | Births | Birth rate (per 1,000) | Fertility rate | Type |
|---|---|---|---|---|
| 2021 | 53,349 | 10.5 | 1.35 | estimate |
| 2022 | 52,440 | 10.3 | 1.33 | 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 |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Median age in Costa Rica
The median age in Costa Rica is 35.7 years in 2026 — the 100th-highest of 236 countries. Half the population is younger than 35.7 and half is older. The world median age is 31.1, so Costa Rica is 4.6 years older than the world average. The generation at the median age is the Millennials generation. In 1950 the median age was 16.8; the UN projects it to reach 47.0 by 2050.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Age distribution in Costa Rica
Youth (0–14) make up 17.8% of the population (922,834 people), the working-age group (15–64) 68.9% (3,563,967), and older people (65+) 13.3% (687,987). Costa Rica has a constrictive population pyramid: a base narrower than the middle bands, showing smaller younger cohorts. Its largest five-year band is 35-39, at 8.0% of the population.
| Age group | Population | Share | Category |
|---|---|---|---|
| 100+ | 865 | 0.0% | Senior |
| 95-99 | 5,175 | 0.1% | Senior |
| 90-94 | 18,325 | 0.4% | Senior |
| 85-89 | 43,442 | 0.8% | Senior |
| 80-84 | 79,570 | 1.5% | Senior |
| 75-79 | 126,876 | 2.5% | Senior |
| 70-74 | 177,148 | 3.4% | Senior |
| 65-69 | 236,586 | 4.6% | Senior |
| 60-64 | 281,356 | 5.4% | Working age |
| 55-59 | 291,493 | 5.6% | Working age |
| 50-54 | 306,609 | 5.9% | Working age |
| 45-49 | 349,233 | 6.7% | Working age |
| 40-44 | 395,837 | 7.6% | Working age |
| 35-39 | 414,396 | 8.0% | Working age |
| 30-34 | 406,456 | 7.9% | Working age |
| 25-29 | 394,873 | 7.6% | Working age |
| 20-24 | 363,354 | 7.0% | Young adult |
| 15-19 | 360,360 | 7.0% | Young adult |
| 10-14 | 351,302 | 6.8% | Youth |
| 5-9 | 314,921 | 6.1% | Youth |
| 0-4 | 256,611 | 5.0% | Youth |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Life expectancy in Costa Rica
Life expectancy at birth in Costa Rica is 81.4 years in 2026 — the 49th-highest of 236 countries: 78.8 years for men and 83.9 years for women, a gap of 5.1 years. The world average is 73.8 years. Life expectancy in Costa Rica has risen from 57.5 years in 1950, and the UN projects 85.3 years by 2050.
Solid line: UN estimates to 2023. Dashed: medium-variant projection. Source: UN World Population Prospects 2024.
Dependency ratios and the demographic dividend
Costa Rica's total dependency ratio is 45.2 in 2026 — 25.9 children and 19.3 older people for every 100 working-age people. The working-age share peaked at 69.0% in 2024. The peak of the working-age share has passed, so policy attention shifts toward pensions, healthcare and older workers.
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Future trend: Costa Rica to 2050 and beyond
The UN projects Costa Rica's population to reach 5,354,150 by 2050 (+3.5% from 2026) and 3,776,474 by 2100. Its population is projected to peak at 5,381,722 in 2044. The median age rises to 47.0 by 2050. Full year-by-year figures, including the UN’s low and high variants, are on the Costa Rica population projection page.
How Costa Rica compares with its neighbours
| Country | Population | Median age | Under 15 | 65+ | Pyramid type |
|---|---|---|---|---|---|
| Costa Rica (this page) | 5,174,789 | 35.7 | 17.8% | 13.3% | Constrictive |
| Mexico | 132,997,658 | 30.0 | 23.7% | 8.8% | Stationary |
| Guatemala | 18,967,978 | 23.8 | 30.5% | 5.1% | Expansive |
| Honduras | 11,184,760 | 24.6 | 29.9% | 4.7% | Stationary |
| Nicaragua | 7,097,329 | 26.3 | 27.9% | 5.9% | Stationary |
| El Salvador | 6,391,254 | 28.4 | 24.0% | 8.5% | Stationary |
Source: UN World Population Prospects 2024 (estimates to 2023, medium-variant projections from 2024), 1 July of each year. See methodology.
Frequently asked questions
What is the population of Costa Rica in 2026?
Costa Rica has a population of 5,174,789 on 1 July 2026, according to the UN World Population Prospects 2024 (medium-variant projection). Women make up the majority: there are 2,618,752 women and 2,556,036 men.
What type of population pyramid does Costa Rica have?
Costa Rica has a constrictive population pyramid in 2026. Children under 15 make up 17.8% of the population and people aged 65 and over make up 13.3%. Its largest five-year age group is 35-39, at 8.0% of the population.
What is the median age in Costa Rica?
The median age in Costa Rica is 35.7 years in 2026 — half the population is younger and half is older. The world median age is 31.1 years, so Costa Rica is 4.6 years older than the world average.
Is the population of Costa Rica growing or shrinking?
Costa Rica's population is projected to peak at 5,381,722 in 2044. In 2050 it is projected at 5,354,150, a change of +3.5% from 2026. In 2026 there are 50,203 births and 29,901 deaths.
What is the dependency ratio in Costa Rica?
Costa Rica's total dependency ratio is 45.2 in 2026: for every 100 people of working age (15–64) there are 25.9 children under 15 and 19.3 people aged 65 and over who are supported by them.
How many births are there in Costa Rica each day?
About 137 babies are born in Costa Rica each day in 2026 (50,203 over the year, or roughly one birth every 10.5 minutes). The fertility rate is 1.31 children per woman and the crude birth rate is 9.7 births per 1,000 people.
More on Costa Rica
Population by generation in Costa Rica · Costa Rica population projection to 2100 · Latin America and the Caribbean region page · All countries and areas
About this data: UN World Population Prospects 2024, released 11 July 2024. Figures for 2024 and later are medium-variant projections for 1 July; 1950–2023 are estimates. Cite this page: AgePyramids. (2026). Costa Rica Population Pyramid and Demographic Analysis. Retrieved from https://agepyramids.com/costa-rica
Costa Rica Population Pyramid — Classroom Worksheet
Name: ______________________ Class: ____________ Date: ____________
Use the pyramid and the data tables on this page (1 July 2026, UN World Population Prospects 2024) to answer:
- What is the total population of Costa Rica in 2026?
- Which five-year age group is the largest, and what share of the population is it?
- What percentage of the population is aged 65 or over?
- In the 80–84 age group, are there more men or more women, and by how many?
- Is Costa Rica's pyramid expansive, stationary or constrictive? Use the under-15 share (17.8%) and the shape of the base in your answer.
- Write one sentence describing how this population is likely to change over the next 25 years, using evidence from the pyramid. (Discussion question.)
Answer key (teacher)
- 5,174,789
- 35-39 — 8.0%
- 13.3% (687,987 people)
- Women — by 10,310
- Constrictive
- Open — look for a claim backed by the base width, the 65+ share or the median age.