Population of Costa Rica (2026)
The population of Costa Rica is 5,174,789 in 2026 (UN mid-year projection).
Costa Rica has the 124th largest population of 195 ranked countries (2026, UN).
Between 2025 and 2026, the population of Costa Rica rose by 21,839 people, or 0.42% (UN).
Costa Rica holds 0.062% of the world population in 2026; the world total is 8,300,678,396 (UN).
Population density in Costa Rica is 101 people per km² (2024, World Bank).
79.7% of the population of Costa Rica lives in urban areas (2025, World Bank).
The median age in Costa Rica is 34.1 years (2023, UN).
Live estimate: a straight-line interpolation between the UN mid-year figures for 2026 and 2027. It is not a count.
Key figures
- Population, UN mid-year projection
- 5,174,789 people2026, UN
- Population, World Bank
- 5,152,950 people2025, World Bank, 124 of 194
- Change 2025-2026
- +21,839 people+0.42%, UN
- World rank
- 124 of 1952026, UN
- Share of world population
- 0.062%2026, UN
- Population density
- 101 people per km²2024, World Bank
- Urban population share
- 79.7%2025, World Bank
- Median age
- 34.1 years2023, UN
Population, 1950-2100
Solid line: UN values to 2023. Dashed line: projection to 2100 (Medium variant).
Population by year
| Year | Value (people) | Change | Change, % | Basis |
|---|---|---|---|---|
| 2026 | 5,174,789 | +21,839 | +0.42% | projection |
| 2025 | 5,152,950 | +23,040 | +0.45% | projection |
| 2024 | 5,129,910 | +24,384 | +0.48% | projection |
| 2023 | 5,105,526 | +23,762 | +0.47% | estimate |
| 2022 | 5,081,764 | +21,776 | +0.43% | estimate |
| 2021 | 5,059,988 | +25,668 | +0.51% | estimate |
| 2020 | 5,034,320 | +34,766 | +0.70% | estimate |
| 2019 | 4,999,554 | +41,736 | +0.84% | estimate |
| 2018 | 4,957,818 | +44,641 | +0.91% | estimate |
| 2017 | 4,913,177 | +46,179 | +0.95% | estimate |
| 2016 | 4,866,998 | +48,960 | +1.02% | estimate |
| 2015 | 4,818,038 | +50,919 | +1.07% | estimate |
| 2014 | 4,767,119 | +50,972 | +1.08% | estimate |
| 2013 | 4,716,147 | +52,213 | +1.12% | estimate |
| 2012 | 4,663,934 | +54,101 | +1.17% | estimate |
| 2011 | 4,609,833 | +53,871 | +1.18% | estimate |
| 2010 | 4,555,962 | +56,171 | +1.25% | estimate |
| 2009 | 4,499,791 | +59,735 | +1.35% | estimate |
| 2008 | 4,440,056 | +59,808 | +1.37% | estimate |
| 2007 | 4,380,248 | +58,908 | +1.36% | estimate |
| 2006 | 4,321,340 | +60,100 | +1.41% | estimate |
| 2005 | 4,261,240 | +61,162 | +1.46% | estimate |
| 2004 | 4,200,078 | +61,294 | +1.48% | estimate |
| 2003 | 4,138,784 | +63,079 | +1.55% | estimate |
| 2002 | 4,075,705 | +66,758 | +1.67% | estimate |
| 2001 | 4,008,947 | +71,208 | +1.81% | estimate |
| 2000 | 3,937,739 | +75,638 | +1.96% | estimate |
| 1999 | 3,862,101 | +79,263 | +2.10% | estimate |
| 1998 | 3,782,838 | +81,127 | +2.19% | estimate |
| 1997 | 3,701,711 | +82,698 | +2.29% | estimate |
| 1996 | 3,619,013 | +83,837 | +2.37% | estimate |
| 1995 | 3,535,176 | +84,054 | +2.44% | estimate |
| 1994 | 3,451,122 | +83,688 | +2.49% | estimate |
| 1993 | 3,367,434 | +83,176 | +2.53% | estimate |
| 1992 | 3,284,258 | +82,082 | +2.56% | estimate |
| 1991 | 3,202,176 | +80,470 | +2.58% | estimate |
| 1990 | 3,121,706 | +77,879 | +2.56% | estimate |
| 1989 | 3,043,827 | +75,724 | +2.55% | estimate |
| 1988 | 2,968,103 | +75,404 | +2.61% | estimate |
| 1987 | 2,892,699 | +75,483 | +2.68% | estimate |
| 1986 | 2,817,216 | +75,322 | +2.75% | estimate |
| 1985 | 2,741,894 | +74,299 | +2.79% | estimate |
| 1984 | 2,667,595 | +72,442 | +2.79% | estimate |
| 1983 | 2,595,153 | +70,347 | +2.79% | estimate |
| 1982 | 2,524,806 | +68,169 | +2.77% | estimate |
| 1981 | 2,456,637 | +66,003 | +2.76% | estimate |
| 1980 | 2,390,634 | +64,144 | +2.76% | estimate |
| 1979 | 2,326,490 | +61,980 | +2.74% | estimate |
| 1978 | 2,264,510 | +59,485 | +2.70% | estimate |
| 1977 | 2,205,025 | +57,251 | +2.67% | estimate |
| 1976 | 2,147,774 | +55,055 | +2.63% | estimate |
| 1975 | 2,092,719 | +53,076 | +2.60% | estimate |
| 1974 | 2,039,643 | +51,300 | +2.58% | estimate |
| 1973 | 1,988,343 | +50,095 | +2.58% | estimate |
| 1972 | 1,938,248 | +49,709 | +2.63% | estimate |
| 1971 | 1,888,539 | +49,590 | +2.70% | estimate |
| 1970 | 1,838,949 | +49,673 | +2.78% | estimate |
| 1969 | 1,789,276 | +49,545 | +2.85% | estimate |
| 1968 | 1,739,731 | +50,208 | +2.97% | estimate |
| 1967 | 1,689,523 | +51,407 | +3.14% | estimate |
| 1966 | 1,638,116 | +51,908 | +3.27% | estimate |
| 1965 | 1,586,208 | +52,248 | +3.41% | estimate |
| 1964 | 1,533,960 | +52,356 | +3.53% | estimate |
| 1963 | 1,481,604 | +52,159 | +3.65% | estimate |
| 1962 | 1,429,445 | +51,525 | +3.74% | estimate |
| 1961 | 1,377,920 | +50,424 | +3.80% | estimate |
| 1960 | 1,327,496 | +48,908 | +3.83% | estimate |
| 1959 | 1,278,588 | +47,037 | +3.82% | estimate |
| 1958 | 1,231,551 | +44,918 | +3.79% | estimate |
| 1957 | 1,186,633 | +42,786 | +3.74% | estimate |
| 1956 | 1,143,847 | +40,798 | +3.70% | estimate |
| 1955 | 1,103,049 | +38,930 | +3.66% | estimate |
| 1954 | 1,064,119 | +37,114 | +3.61% | estimate |
| 1953 | 1,027,005 | +35,211 | +3.55% | estimate |
| 1952 | 991,794 | +33,385 | +3.48% | estimate |
| 1951 | 958,409 | +31,651 | +3.42% | estimate |
| 1950 | 926,758 | - | - | estimate |
Costa Rica through history
Costa Rica became independent on September 15, 1821.
The nearest world map in the atlas to that year is 1820.
Map quizzes that include Costa Rica
Population projection to 2100
| Year | Population | Change from 2026 |
|---|---|---|
| 2030 | 5,251,496 | +1.5% |
| 2040 | 5,369,806 | +3.8% |
| 2050 | 5,354,150 | +3.5% |
| 2060 | 5,189,194 | +0.3% |
| 2070 | 4,921,499 | -4.9% |
| 2080 | 4,572,927 | -11.6% |
| 2090 | 4,171,460 | -19.4% |
| 2100 | 3,776,474 | -27.0% |
Costa Rica in context
| Country | Population | Year | Density | Rank | Relation |
|---|---|---|---|---|---|
| Nicaragua | 7,097,329 | 2026 | 56.7 people per km² (2023) | 106 of 195 | land neighbour |
| Ireland | 5,356,950 | 2026 | 78.3 people per km² (2024) | 122 of 195 | similar size |
| New Zealand | 5,287,479 | 2026 | 20.1 people per km² (2024) | 123 of 195 | similar size |
| Costa Rica | 5,174,789 | 2026 | 101 people per km² (2024) | 124 of 195 | this country |
| Kuwait | 5,102,773 | 2026 | 275 people per km² (2024) | 125 of 195 | similar size |
| Panama | 4,625,718 | 2026 | 60.9 people per km² (2024) | 126 of 195 | land neighbour |
| Croatia | 3,822,345 | 2026 | 69.1 people per km² (2024) | 127 of 195 | similar size |
Frequently asked questions
How many people live in Costa Rica?
The population of Costa Rica is 5,174,789 in 2026 (UN mid-year projection).
How does Costa Rica rank in the world by population?
Costa Rica has the 124th largest population of 195 ranked countries (2026, UN).
Is the population of Costa Rica growing?
Yes. The UN data show a rise from 926,758 in 1950 to 5,174,789 in 2026, a change of +458.4%.
What is the population density of Costa Rica?
Population density in Costa Rica is 101 people per km² (2024, World Bank).
What will the population of Costa Rica be in 2050?
The UN medium-variant projection for Costa Rica is 5,354,150 in 2050. A projection is not a forecast of certainty: it depends on assumptions about births, deaths and migration.
What it measures
Total population counts all residents of a country regardless of legal status or citizenship. The UN figure is for 1 July of the year; the World Bank figure is its latest annual value.
Sources and method
- UN - World Population Prospects 2024, Licence: CC BY 3.0 IGO
- World Bank - World Development Indicators, Licence: CC BY 4.0
UN figures are from UN - World Population Prospects 2024, Medium variant, World Population Prospects 2024 (revision 1): Interim update, released 19 January 2026 (Togo replaced; all other locations as released 11 July 2024); downloaded 2026-11-24. They count people on 1 July of each year. Values up to 2023 are estimates; later values are projections.
World Bank figures are the latest annual value in the data (World Development Indicators). Where the two sources give a population for the same year and differ by more than 2%, the page says so.
The population rank is computed from the UN values for 2026 among the 195 independent states that have a value; territories and dependencies are not ranked.
The yearly table lists the UN values for each year where the source has one; years without a value are left out.
Last updated:
More about Costa Rica
More statistics for Costa Rica
- Population density
- Population growth
- Urban population
- Life expectancy
- Fertility rate
- Median age
- Internet users
- GDP
- GDP per capita
- GDP per capita, PPP
- GDP growth
- Inflation
- Unemployment
- Human Development Index
- Income inequality (Gini)
- Area
- Forest area
- Arable land
- Coastline
- CO2 emissions per person
Every year has a map
Drag a timeline across 2,500 years in the free Geographic History app - every province, ruler and battle, also offline.

