Costa Rica: cities by population
Costa Rica has a population of 5,174,789 (UN estimate, 2026), with San Jose as its capital. The 50 largest of its 115 recorded towns and cities, ranked.
+31%
since 2000 (3,937,739)
+3%
projected by 2050 (5,354,150)
101
people per km²
Figures are the latest available in GeoNames (CC BY 4.0), which draws on national censuses of varying dates — treat them as recent, not same-year. Country totals are UN World Population Prospects 2024 (medium variant) where the UN lists the country separately; the handful it reports under a parent state keep a GeoNames figure and are marked as such. Sources & method.
Largest cities in Costa Rica
| # | Place | Region | Population |
|---|---|---|---|
| 1 | San José | San José | 335,007 |
| 2 | Limón | Limón Province | 63,081 |
| 3 | Alajuela | Alajuela Province | 47,494 |
| 4 | Liberia | Guanacaste Province | 45,380 |
| 5 | Paraíso | Cartago Province | 39,702 |
| 6 | Puntarenas | Puntarenas Province | 35,650 |
| 7 | San Isidro | San José | 34,877 |
| 8 | Curridabat | San José | 34,586 |
| 9 | San Vicente | San José | 34,447 |
| 10 | San Vicente de Moravia | San José | 34,447 |
| 11 | San José | Alajuela Province | 31,430 |
| 12 | Purral | San José | 30,034 |
| 13 | Turrialba | Cartago Province | 28,955 |
| 14 | San Miguel | San José | 28,827 |
| 15 | San Pedro | San José | 27,477 |
| 16 | San Rafael Abajo | San José | 27,419 |
| 17 | Quesada | Alajuela Province | 27,310 |
| 18 | Cartago | Cartago Province | 26,594 |
| 19 | Chacarita | Puntarenas Province | 26,354 |
| 20 | San Juan | San José | 26,047 |
| 21 | Guadalupe | San José | 26,005 |
| 22 | Aserrí | San José | 25,874 |
| 23 | San Rafael | San José | 25,410 |
| 24 | San Felipe | San José | 24,985 |
| 25 | Patarrá | San José | 23,983 |
| 26 | Tejar | San José | 22,433 |
| 27 | Heredia | Heredia Province | 21,947 |
| 28 | San Pablo | Heredia Province | 21,662 |
| 29 | Cañas | Guanacaste Province | 20,306 |
| 30 | Guápiles | Limón Province | 19,092 |
| 31 | Siquirres | Limón Province | 18,231 |
| 32 | San Diego | Cartago Province | 16,991 |
| 33 | Esparza | Puntarenas Province | 15,575 |
| 34 | San Juan de Dios | San José | 15,469 |
| 35 | Nicoya | Guanacaste Province | 15,313 |
| 36 | San Rafael Arriba | San José | 15,051 |
| 37 | Desamparados | Alajuela Province | 14,448 |
| 38 | Concepción | Cartago Province | 14,000 |
| 39 | Alajuelita | San José | 13,845 |
| 40 | Sabanilla | San José | 13,251 |
| 41 | Santa Cruz | Guanacaste Province | 12,281 |
| 42 | San Josecito | Heredia Province | 12,195 |
| 43 | Escazú | San José | 12,071 |
| 44 | Naranjo | Alajuela Province | 11,853 |
| 45 | Buenos Aires | Puntarenas Province | 11,680 |
| 46 | San Antonio | Heredia Province | 10,938 |
| 47 | San Ramón | Alajuela Province | 10,765 |
| 48 | Tres Ríos | Cartago Province | 10,430 |
| 49 | Río Segundo | Alajuela Province | 9,853 |
| 50 | Colón | San José | 9,687 |
Twenty years earlier: Costa Rica in the 2005 World Gazetteer — population then 4,301,172.
Common questions
What is the population of Costa Rica?
Costa Rica has a population of 5,174,789, the UN World Population Prospects estimate for 2026. The UN's medium-variant projection for 2050 is 5,354,150 — a forecast, not a measurement.
What is the capital of Costa Rica?
San Jose. The largest place we record there is San José, with 335,007 people.