Age composition in 2026:
| Costa Rica | El Salvador | |
|---|---|---|
| Young Population | 17.83%922,831 | 23.96%1,531,157 |
| Working Age Population | 68.87%3,563,963 | 67.56%4,318,068 |
| Elderly Population | 13.29%687,987 | 8.48%542,030 |
In 2026, the median age is 36.7 years in Costa Rica and 29.4 years in El Salvador.Costa Rica already reached El Salvadorโs current median age in 2011, about 15 years ahead in population aging.
The total population of Costa Rica peaks in 2044 at 5,381,723.The total population of El Salvador peaks in 2047 at 6,669,838.
By 2050, the dependency ratio of Costa Rica will be 61.0%, and 25.28% of the population will be elderly.By 2050, the dependency ratio of El Salvador will be 46.6%, and 14.68% of the population will be elderly.
| Costa Rica | El Salvador | ||
|---|---|---|---|
| Demographic dividend (dependency ratio below 50%) | 2007โ2039 | 2023โ2056 | |
| Aging society (65+ reaches 7%) | 2009 | 2014 5 years later | |
| Aged society (65+ reaches 14%) | 2028 | 2048 20 years later | |
| Super-aged society (65+ reaches 20%) | 2040 | 2061 21 years later |