Costa Rica Population Pyramid 2018
Year
2018Costa Rica in 2018
The population of Costa Rica in 2018 was 4,957,818. Over the previous ten years the population grew by 11.7%, up from 4,440,056 in 2008.
With a median age of 32.6 years, Costa Rica had a youth dependency ratio of 31.2 and an old-age dependency ratio of 14.2 per 100 people of working age. The pyramid is stationary: cohort sizes are roughly even through the younger ages, reflecting fertility close to replacement level and slow population change.
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 | 4,957,818 | 32.6 | |
| Panama | 4,167,861 | 29.1 | |
| El Salvador | 6,219,808 | 26.0 | |
| Nicaragua | 6,400,080 | 24.7 | |
| Belize | 380,227 | 24.9 |





