Costa Rica Population Pyramid 2040
Year
2040Costa Rica in 2040
In 2040, Costa Rica is projected to have a population of 5,369,806 people. Compared with 2030, when the projection stands at 5,251,496, that represents growth of 2.3% over ten years.
With a projected median age of 43.7 years, Costa Rica would have a youth dependency ratio of 20.3 and an old-age dependency ratio of 30.2 per 100 people of working age. The pyramid is constrictive: cohorts of children are smaller than those of their parents, reflecting low fertility and an ageing population.
Data source: United Nations World Population Prospects, 2024 revision (medium variant) — last updated July 2024.
The fertility rate of Costa Rica was 1.33 births per woman in 2023, under the 2.1 needed to replace each generation.
Source: World Bank World Development Indicators, latest available year.
Life expectancy at birth was 80.8 years in 2023: 83.4 for women and 78.1 for men.
Source: World Bank World Development Indicators, latest available year.
608,121 immigrants live in Costa Rica, 11.9% of the population.
| Nicaragua | 423,401 |
| Venezuela | 34,048 |
| Colombia | 30,809 |
| El Salvador | 20,131 |
| United States of America | 18,354 |
50,821 people born in Costa Rica live in other countries.
| Panama | 14,218 |
| Nicaragua | 11,707 |
| Canada | 5,117 |
| Mexico | 4,592 |
| Colombia | 2,070 |
Source: United Nations International Migrant Stock 2024.
| Country | Population | Median age | Relative size |
|---|---|---|---|
| Costa Rica | 5,369,806 | 43.7 | |
| Panama | 5,286,592 | 36.1 | |
| El Salvador | 6,640,752 | 35.8 | |
| Nicaragua | 8,189,915 | 32.3 | |
| Belize | 491,595 | 34.9 |





