Skip to content
WorldPop

Costa Rica

Rank #127 by populationNorth America

Officially Republic of Costa Rica

Population 2025
5,152,950
0.06% of world population
World Bank, 2025
Annual Growth
+0.45%
+23,085 people a year
World Bank, 2025
Density
100/km²
51,060 km² land area
World Bank, 2023
Median Age
35.2 years
Life expectancy 81.0 years
Our World in Data, 2025

About Costa Rica

With a population of 5,152,950, Costa Rica ranks 125th globally and spans 51,060 km² across North America between Nicaragua and Panama. The country's 80% urban population and median age of 35.2 years reflect a mature, primarily city-based society. Annual growth of just 0.4% and a fertility rate of 1.3 births per woman indicate demographic stability, while a life expectancy of 81 years is notably high for the region.

The nation achieved independence in 1821 and operates with a GDP per capita of $19,970. Spanish is the official language, and the Costa Rican colón serves as currency. Population density averages 100 people per km², with San José as the capital.

This summary is AI-generated from the indicators on this page. The figures themselves come from the sources cited beside each value.

Country Facts

Capital
San José
Continent
North America
ISO codes
CR · CRI
Demonym
Costa Rican
Currency
Costa Rican colón (CRC ₡)
State inception
1821
Time zone
UTC−06:00
Driving side
Right
Calling code
+506
Internet TLD
.cr
Land neighbours
2

Languages

  • Spanish

Demographics

Urban Population69th of 240
79.7%
World Bank, 2025
Fertility Rate209th of 240
1.32 births per woman
World Bank, 2024
Birth Rate155th of 213
10.0 per 1,000
World Bank, 2024
Death Rate172nd of 213
5.6 per 1,000
World Bank, 2024

Economy

GDP per Capita90th of 240
$19,970
World Bank, 2025
GDP Growth61st of 210
+4.6%
World Bank, 2025
Unemployment Rate64th of 186
6.8%
World Bank, 2025
Inflation Rate177th of 191
-0.1%
World Bank, 2025
Poverty Rate108th of 164
17.1%
World Bank, 2025
Gini Index16th of 170
45.5
World Bank, 2025

Health

Infant Mortality117th of 194
9.1 per 1,000 live births
World Bank, 2024
Health Spending87th of 192
6.9% of GDP
World Bank, 2023
Physicians70th of 206
2.69 per 1,000
World Bank, 2022
Hospital Beds147th of 199
1.14 per 1,000
World Bank, 2022
Maternal Mortality119th of 193
24 per 100,000 live births
World Bank, 2023
Obesity Rate47th of 198
33.4%
Our World in Data, 2024

Education

Literacy Rate58th of 175
97.4%
World Bank, 2011
Education Spending48th of 202
5.3% of GDP
World Bank, 2023
School Enrollment13th of 207
121.8% gross, secondary
World Bank, 2024
Mean Years of Schooling82nd of 148
9.1 years
Our World in Data, 2020

Environment

Renewable Energy72nd of 211
34.2% of final consumption
World Bank, 2021
Forest Coverage27th of 211
60.4% of land area
World Bank, 2023
Protected Areas55th of 211
26.6% of land area
World Bank, 2025
CO₂ Emissions138th of 212
1.71 tonnes per capita
Our World in Data, 2024

Infrastructure

Internet Penetration79th of 211
87.2%
World Bank, 2024
Mobile Subscriptions47th of 212
136.0 per 100 people
World Bank, 2024

Quality of Life

Human Development Index61st of 192
0.833
Our World in Data, 2023
Happiness Index4th of 164
7.44/ 10
Our World in Data, 2025

Geography

Land Area130th of 240
51,060 km²
World Bank, 2023

Military

None of our sources publish these indicators for Costa Rica.

Age & Gender Distribution

Population by five-year age band, UN World Population Prospects 2024.

Male Female
100+95-9990-9485-8980-8475-7970-7465-6960-6455-5950-5445-4940-4435-3930-3425-2920-2415-1910-145-90-4208K208KAge
Age 0–14
18.8%
Age 15–64
69.0%
Age 65+
12.2%
Source: UN World Population Prospects 2024, medium variant.
Costa Rica population pyramid
Age bandMaleFemale
100+118600
95-991,1213,404
90-945,33411,102
85-8915,48224,042
80-8431,19240,732
75-7952,63762,730
70-7475,19086,885
65-69101,844114,728
60-64129,666142,644
55-59139,621152,745
50-54143,613155,909
45-49161,677170,226
40-44188,048190,465
35-39208,496205,587
30-34208,017202,713
25-29203,056196,794
20-24192,370184,810
15-19184,770177,157
10-14180,853173,200
5-9173,472166,308
0-4138,148132,405

Population History & Projection (1950–2100)

Observed population to 2024, then the UN medium-variant projection.

01M2M3M4M5M1950197520002025205020752100projected →
Costa Rica's population was 927K in 1950 and is projected at 3.78M by 2100. Peak of 5.38M in 2044. Source: UN World Population Prospects 2024 (estimates to 2024, medium variant thereafter).
Costa Rica population, 1950 to 2100
YearPopulation
1950926,758
19601,327,496
19701,838,949
19802,390,633
19903,121,706
20003,937,739
20104,555,962
20205,034,320
20305,251,497
20405,369,806
20505,354,150
20605,189,194
20704,921,499
20804,572,927
20904,171,460
21003,776,474

How Costa Rica Compares

Population against the ten most populous countries.

  1. India1.46B
  2. China1.41B
  3. United States341.8M
  4. Indonesia285.7M
  5. Pakistan255.2M
  6. Nigeria237.5M
  7. Brazil212.8M
  8. Bangladesh175.7M
  9. Russia143.5M
  10. Ethiopia135.5M
  11. Costa Rica5.15M
Sources as cited on each country page.
Costa Rica compared with the ten largest countries by population
NamePopulation
India1.46B
China1.41B
United States341.8M
Indonesia285.7M
Pakistan255.2M
Nigeria237.5M
Brazil212.8M
Bangladesh175.7M
Russia143.5M
Ethiopia135.5M
Costa Rica5.15M

Countries Bordering Costa Rica

2 land borders.

Costa Rica Population FAQ

What is the population of Costa Rica in 2026?

Costa Rica has a population of 5,152,950 people (2025 estimate), which is 127th in the world and about 0.06% of the global total.

Is the population of Costa Rica growing or shrinking?

Costa Rica's population is growing at +0.45% per year, a change of roughly 23,085 people annually.

What is the capital of Costa Rica?

The capital of Costa Rica is San José.

How densely populated is Costa Rica?

Costa Rica has 100/km² across 51,060 km² of land area.

What is life expectancy in Costa Rica?

Life expectancy at birth in Costa Rica is 81.0 years (2024).

What is the median age in Costa Rica?

The median age in Costa Rica is 35.2 years, meaning half the population is younger than that and half older.

Which continent is Costa Rica in?

Costa Rica is in North America.

Explore More Countries