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