The World Factbook

Costa Rica flag Costa Rica

Key facts and a structured country profile. 🧾 Change log πŸ“ True Size

Costa Rica locator map
Capital

San JosΓ©

Population

5,304,932 (2025 est.)

Area

51,100 sq km

Location

Central America, bordering both the Caribbean Sea and the North Pacific Ocean, between Nicaragua and Panama

🧭 Background

Although explored by the Spanish early in the 16th century, initial attempts at colonizing Costa Rica proved unsuccessful due to a combination of factors, including disease from mosquito-infested swamps, brutal heat, resistance from Indigenous populations, and pirate raids. It was not until 1563 that a permanent settlement of Cartago was established in the cooler, fertile central highlands. The area remained a colony for some two-and-a-half centuries. In 1821, Costa Rica was one of several Central American provinces that jointly declared independence from Spain. Two years later it joined the United Provinces of Central America, but this federation disintegrated in 1838, at which time Costa Rica proclaimed its sovereignty and independence. Since the late 19th century, only two brief periods of violence have marred the country's democratic development. General Federico TINOCO Granados led a coup in 1917, but the threat of US intervention pushed him to resign in 1919. In 1948, landowner Jose FIGUERES Ferrer raised his own army and rebelled against the government. The brief civil war ended with an agreement to allow FIGUERES to remain in power for 18 months, then step down in favor of the previously elected Otilio ULATE. FIGUERES was later elected twice in his own right, in 1953 and 1970. Costa Rica experienced destabilizing waves of refugees from Central American civil wars in the 1970s and 1980s, but peace in the region has since helped the economy rebound. Although it still maintains a large agricultural sector, Costa Rica has expanded its economy to include strong technology and tourism industries.

πŸ—ΊοΈ Geography

Location

Central America, bordering both the Caribbean Sea and the North Pacific Ocean, between Nicaragua and Panama

Geographic coordinates

10 00 N, 84 00 W

Map references

Central America and the Caribbean

Area β€” total

51,100 sq km

Area β€” land

51,060 sq km

Area β€” water

40 sq km

Area - comparative

Slightly smaller than West Virginia

Land boundaries β€” total

661 km

Land boundaries β€” border countries

Nicaragua 313 km; Panama 348 km

Coastline

1,290 km

Maritime claims β€” territorial sea

12 nm

Maritime claims β€” exclusive economic zone

200 nm

Maritime claims β€” continental shelf

200 nm

Climate

Tropical and subtropical; dry season (December to April); rainy season (May to November); cooler in highlands

Terrain

Coastal plains separated by rugged mountains including over 100 volcanic cones, of which several are major active volcanoes

Elevation β€” highest point

Cerro Chirripo 3,819 m

Elevation β€” lowest point

Pacific Ocean 0 m

Elevation β€” mean elevation

746 m

Natural resources

Hydropower

Land use β€” agricultural land

33.1% (2023 est.)

Land use β€” agricultural land: arable land

Arable land: 3.3% (2023 est.)

Land use β€” agricultural land: permanent crops

Permanent crops: 7.4% (2023 est.)

Land use β€” agricultural land: permanent pasture

Permanent pasture: 22.5% (2023 est.)

Land use β€” forest

58.4% (2023 est.)

Land use β€” other

8.4% (2023 est.)

Irrigated land

1,015 sq km (2012)

Population distribution

Roughly half of the nation's population resides in urban areas; the capital of San Jose is the largest city and home to approximately one fifth of the population

Natural hazards

Occasional earthquakes, hurricanes along Atlantic coast; frequent flooding of lowlands at onset of rainy season and landslides; active volcanoes volcanism: Arenal (1,670 m) is the most active volcano in Costa Rica; a 1968 eruption destroyed the town of Tabacon; Irazu (3,432 m), situated just east of San Jose, has the potential to spew ash over the capital city, as it did between 1963 and 1965; other historically active volcanoes include Miravalles, Poas, Rincon de la Vieja, and Turrialba

Geography - note

Four volcanoes, two of them active, rise near the capital of San Jose in the center of the country; one of the volcanoes, Irazu, erupted destructively in 1963-65

Population β€” total

5,304,932 (2025 est.)

Population β€” male

2,654,314

Population β€” female

2,650,618

Nationality β€” noun

Costa Rican(s)

Nationality β€” adjective

Costa Rican

Ethnic groups

White or Mestizo 83.6%, Mulatto 6.7%, Indigenous 2.4%, Black or African descent 1.1%, other 1.1%, none 2.9%, unspecified 2.2% (2011 est.)

Languages β€” Languages

Spanish (official), English

Languages β€” major-language sample(s)

La Libreta Informativa del Mundo, la fuente indispensable de informaciΓ³n bΓ‘sica. (Spanish) The World Factbook, the indispensable source for basic information.

Religions

Roman Catholic 47.5%, Evangelical and Pentecostal 19.8%, Jehovah's Witness 1.4%, other Protestant 1.2%, other 3.1%, none 27% (2021 est.)

Age structure β€” 0-14 years

18.8% (male 506,041/female 482,481)

Age structure β€” 15-64 years

70.2% (male 1,862,872/female 1,832,024)

Age structure β€” 65 years and over

11.1% (2024 est.) (male 266,568/female 315,589)

Dependency ratios β€” total dependency ratio

42.7 (2025 est.)

Dependency ratios β€” youth dependency ratio

26.2 (2025 est.)

Dependency ratios β€” elderly dependency ratio

16.5 (2025 est.)

Dependency ratios β€” potential support ratio

6.1 (2025 est.)

Median age β€” total

36 years (2025 est.)

Median age β€” male

34.9 years

Median age β€” female

36.1 years

Population growth rate

0.75% (2025 est.)

Birth rate

10.86 births/1,000 population (2025 est.)

Death rate

5.24 deaths/1,000 population (2025 est.)

Net migration rate

1.89 migrant(s)/1,000 population (2025 est.)

Population distribution

Roughly half of the nation's population resides in urban areas; the capital of San Jose is the largest city and home to approximately one fifth of the population

Urbanization β€” urban population

82.6% of total population (2023)

Urbanization β€” rate of urbanization

1.5% annual rate of change (2020-25 est.)

Major urban areas - population

1.462 million SAN JOSE (capital) (2023)

Sex ratio β€” at birth

1.05 male(s)/female

Sex ratio β€” 0-14 years

1.05 male(s)/female

Sex ratio β€” 15-64 years

1.02 male(s)/female

Sex ratio β€” 65 years and over

0.84 male(s)/female

Sex ratio β€” total population

1 male(s)/female (2024 est.)

Maternal mortality ratio

24 deaths/100,000 live births (2023 est.)

Infant mortality rate β€” total

6.3 deaths/1,000 live births (2025 est.)

Infant mortality rate β€” male

7 deaths/1,000 live births

Infant mortality rate β€” female

6.3 deaths/1,000 live births

Life expectancy at birth β€” total population

80.3 years (2024 est.)

Life expectancy at birth β€” male

77.7 years

Life expectancy at birth β€” female

82.9 years

Total fertility rate

1.45 children born/woman (2025 est.)

Gross reproduction rate

0.71 (2025 est.)

Drinking water source β€” improved: urban

Urban: 99.8% of population (2022 est.)

Drinking water source β€” improved: rural

Rural: 99.6% of population (2022 est.)

Drinking water source β€” improved: total

Total: 99.8% of population (2022 est.)

Drinking water source β€” unimproved: urban

Urban: 0.2% of population (2022 est.)

Drinking water source β€” unimproved: rural

Rural: 0.4% of population (2022 est.)

Drinking water source β€” unimproved: total

Total: 0.2% of population (2022 est.)

Health expenditure β€” Health expenditure (as % of GDP)

7.6% of GDP (2021)

Health expenditure β€” Health expenditure (as % of national budget)

25.8% of national budget (2022 est.)

Physician density

2.69 physicians/1,000 population (2022)

Hospital bed density

1.2 beds/1,000 population (2021 est.)

Sanitation facility access β€” improved: urban

Urban: 99.2% of population (2022 est.)

Sanitation facility access β€” improved: rural

Rural: 97.6% of population (2022 est.)

Sanitation facility access β€” improved: total

Total: 98.9% of population (2022 est.)

Sanitation facility access β€” unimproved: urban

Urban: 0.8% of population (2022 est.)

Sanitation facility access β€” unimproved: rural

Rural: 2.4% of population (2022 est.)

Sanitation facility access β€” unimproved: total

Total: 1.1% of population (2022 est.)

Obesity - adult prevalence rate

25.7% (2016)

Alcohol consumption per capita β€” total

3.07 liters of pure alcohol (2019 est.)

Alcohol consumption per capita β€” beer

2.17 liters of pure alcohol (2019 est.)

Alcohol consumption per capita β€” wine

0.15 liters of pure alcohol (2019 est.)

Alcohol consumption per capita β€” spirits

0.36 liters of pure alcohol (2019 est.)

Alcohol consumption per capita β€” other alcohols

0.39 liters of pure alcohol (2019 est.)

Tobacco use β€” total

8.1% (2025 est.)

Tobacco use β€” male

12.2% (2025 est.)

Tobacco use β€” female

4.1% (2025 est.)

Children under the age of 5 years underweight

2.9% (2018 est.)

Currently married women (ages 15-49)

41.7% (2022 est.)

Child marriage β€” women married by age 15

2% (2018)

Child marriage β€” women married by age 18

17.1% (2018)

Education expenditure β€” Education expenditure (% GDP)

6.2% of GDP (2021 est.)

Education expenditure β€” Education expenditure (% national budget)

31.2% national budget (2021 est.)

Literacy β€” female

94.1% (2018 est.)

School life expectancy (primary to tertiary education) β€” total

16 years (2019 est.)

School life expectancy (primary to tertiary education) β€” male

15 years (2019 est.)

School life expectancy (primary to tertiary education) β€” female

16 years (2019 est.)

Environmental issues

Deforestation, largely from clearing land for cattle ranching and agriculture; soil erosion; coastal marine pollution; fisheries protection; solid waste management; air pollution

International environmental agreements β€” party to

Biodiversity, Climate Change, Climate Change-Kyoto Protocol, Climate Change-Paris Agreement, Comprehensive Nuclear Test Ban, Desertification, Endangered Species, Environmental Modification, Hazardous Wastes, Law of the Sea, Marine Dumping-London Convention, Nuclear Test Ban, Ozone Layer Protection, Tropical Timber 2006, Wetlands, Whaling

International environmental agreements β€” signed, but not ratified

Marine Life Conservation

Climate

Tropical and subtropical; dry season (December to April); rainy season (May to November); cooler in highlands

Land use β€” agricultural land

33.1% (2023 est.)

Land use β€” agricultural land: arable land

Arable land: 3.3% (2023 est.)

Land use β€” agricultural land: permanent crops

Permanent crops: 7.4% (2023 est.)

Land use β€” agricultural land: permanent pasture

Permanent pasture: 22.5% (2023 est.)

Land use β€” forest

58.4% (2023 est.)

Land use β€” other

8.4% (2023 est.)

Urbanization β€” urban population

82.6% of total population (2023)

Urbanization β€” rate of urbanization

1.5% annual rate of change (2020-25 est.)

Carbon dioxide emissions β€” total emissions

7.91 million metric tonnes of CO2 (2023 est.)

Carbon dioxide emissions β€” from coal and metallurgical coke

58,000 metric tonnes of CO2 (2023 est.)

Carbon dioxide emissions β€” from petroleum and other liquids

7.852 million metric tonnes of CO2 (2023 est.)

Particulate matter emissions

15.1 micrograms per cubic meter (2019 est.)

Waste and recycling β€” municipal solid waste generated annually

1.46 million tons (2024 est.)

Waste and recycling β€” percent of municipal solid waste recycled

5.4% (2022 est.)

Total water withdrawal β€” municipal

1.109 billion cubic meters (2022 est.)

Total water withdrawal β€” industrial

245.34 million cubic meters (2022 est.)

Total water withdrawal β€” agricultural

2.093 billion cubic meters (2022 est.)

Total renewable water resources

113 billion cubic meters (2022 est.)

Country name β€” conventional long form

Republic of Costa Rica

Country name β€” conventional short form

Costa Rica

Country name β€” local long form

RepΓΊblica de Costa Rica

Country name β€” local short form

Costa Rica

Country name β€” etymology

The name means "rich coast" in Spanish; Christopher COLUMBUS named it in 1502, referring to the region's abundant vegetation and water

Government type

Presidential republic

Capital β€” name

San JosΓ©

Capital β€” geographic coordinates

9 56 N, 84 05 W

Capital β€” time difference

UTC-6 (1 hour behind Washington, DC, during Standard Time)

Capital β€” etymology

Spanish settlers originally named the city Villa Nueva in 1736; it was later renamed for Saint Joseph

Administrative divisions

7 provinces (provincias, singular - provincia); Alajuela, Cartago, Guanacaste, Heredia, Limon, Puntarenas, San Jose

Legal system

Civil law system based on Spanish civil code; Supreme Court reviews legislative acts

Constitution β€” history

Many previous; latest effective 8 November 1949

Constitution β€” amendment process

Proposals require the signatures of at least 10 Legislative Assembly members or petition of at least 5% of qualified voters; consideration of proposals requires two-thirds majority approval in each of three readings by the Assembly, followed by preparation of the proposal as a legislative bill and its approval by simple majority of the Assembly; passage requires at least two-thirds majority vote of the Assembly membership; a referendum is required only if approved by at least two thirds of the Assembly

International law organization participation

Accepts compulsory ICJ jurisdiction; accepts ICCt jurisdiction

Citizenship β€” citizenship by birth

Yes

Citizenship β€” citizenship by descent only

Yes

Citizenship β€” dual citizenship recognized

Yes

Citizenship β€” residency requirement for naturalization

7 years

Suffrage

18 years of age; universal and compulsory

Executive branch β€” chief of state

President Rodrigo CHAVES Robles (since 8 May 2022)

Executive branch β€” head of government

President Rodrigo CHAVES Robles (since 8 May 2022)

Executive branch β€” cabinet

Cabinet selected by the president

Executive branch β€” election/appointment process

President and vice presidents directly elected on the same ballot by modified majority popular vote (40% threshold) for a 4-year term (eligible for non-consecutive terms)

Executive branch β€” most recent election date

6 February 2022, with a runoff on 3 April 2022

Executive branch β€” election results

2022: Rodrigo CHAVES Robles elected president in second round; percent of vote in first round - Jose Maria FIGUERES Olsen (PLN) 27.3%, Rodrigo CHAVES Robles (PPSD) 16.8%, Fabricio ALVARADO Munoz (PNR) 14.9%, Eliecer FEINZAIG Mintz (PLP) 12.4%, Lineth SABORIO Chaverri (PUSC) 12.4%, Jose Maria VILLALTA Florez-Estrada 8.7% (PFA), other 7.5%; percent of vote in second round - Rodrigo CHAVES Robles (PPSD) 52.8%, Jose Maria FIGUERES Olsen (PLN) 47.2% 2018: Carlos ALVARADO Quesada elected president in second round; percent of vote in first round - Fabricio ALVARADO Munoz (PRN) 25%; Carlos ALVARADO Quesada (PAC) 21.6%; Antonio ALVAREZ (PLN) 18.6%; Rodolfo PIZA (PUSC) 16%; Juan Diego CASTRO (PIN) 9.5%; Rodolfo HERNANDEZ (PRSC) 4.9%, other 4.4%; percent of vote in second round - Carlos ALVARADO Quesada (PAC) 60.7%; Fabricio ALVARADO Munoz (PRN) 39.3%

Executive branch β€” expected date of next election

1 February 2026 (a runoff, if needed, will take place in April 2026)

Legislative branch β€” legislature name

Legislative Assembly (Asamblea Legislativa)

Legislative branch β€” legislative structure

Unicameral

Legislative branch β€” number of seats

57 (all directly elected)

Legislative branch β€” electoral system

Proportional representation

Legislative branch β€” scope of elections

Full renewal

Legislative branch β€” term in office

4 years

Legislative branch β€” most recent election date

2/6/2022

Legislative branch β€” parties elected and seats per party

National Liberation Party (PLN) (19); Democratic Social Progress Party (PPSD) (10); Christian Social Unity Party (USC) (9); New Republic Party (NR) (7); Broad Front (FA) (6); Progressive Liberal Party (LP) (6)

Legislative branch β€” percentage of women in chamber

49.1%

Legislative branch β€” expected date of next election

February 2026

Judicial branch β€” highest court(s)

Supreme Court of Justice (consists of 22 judges organized into 3 cassation chambers each with 5 judges and the Constitutional Chamber with 7 judges)

Judicial branch β€” judge selection and term of office

Supreme Court of Justice judges elected by the National Assembly for 8-year terms with renewal decided by the National Assembly

Judicial branch β€” subordinate courts

Appellate courts; trial courts; first instance and justice of the peace courts; Superior Electoral Tribunal

Political parties

Accessibility Without Exclusion or PASE Broad Front (Frente Amplio) or PFA Citizen Action Party or PAC Costa Rican Renewal Party or PRC Here Costa Rica Commands Party or ACRM Liberal Progressive Party or PLP Libertarian Movement Party or ML National Integration Party or PIN National Liberation Party or PLN National Restoration Party or PRN New Generation or PNG New Republic Party or PNR Social Christian Republican Party or PRSC Social Christian Unity Party or PUSC of UNIDAD Social Democratic Progress Party or PPSD

Diplomatic representation in the US β€” chief of mission

Ambassador Catalina CRESPO SANCHO (since 19 April 2023)

Diplomatic representation in the US β€” chancery

2114 S Street NW, Washington, DC 20008

Diplomatic representation in the US β€” telephone

[1] (202) 499-2980

Diplomatic representation in the US β€” FAX

[1] (202) 265-4795

Diplomatic representation in the US β€” email address and website

Embcr-us@rree.go.cr https://www.embassycr.org/

Diplomatic representation in the US β€” consulate(s) general

Atlanta, Houston, Los Angeles, Miami, New York, Washington DC

Diplomatic representation from the US β€” chief of mission

Ambassador-designate Melinda HILDEBRAND (since 3 December 2025); ChargΓ© d’Affaires Jennifer SAVAGE (since August 2025)

Diplomatic representation from the US β€” embassy

Calle 98 Via 104, Pavas, San Jose

Diplomatic representation from the US β€” mailing address

3180 St. George's Place, Washington DC 20521-3180

Diplomatic representation from the US β€” telephone

[506] 2519-2000

Diplomatic representation from the US β€” FAX

[506] 2519-2305

Diplomatic representation from the US β€” email address and website

Acssanjose@state.gov https://cr.usembassy.gov/

International organization participation

ACS, BCIE, CACM, CD, CELAC, FAO, G-77, IADB, IAEA, IBRD, ICAO, ICC (national committees), ICCt, ICRM, IDA, IFAD, IFC, IFRCS, ILO, IMF, IMO, IMSO, Interpol, IOC, IOM, IPU, ISO, ITSO, ITU, ITUC (NGOs), LAES, LAIA (observer), MIGA, NAM (observer), OAS, OIF (observer), OPANAL, OPCW, Pacific Alliance (observer), PCA, SICA, UN, UNCTAD, UNESCO, UNHCR, UNIDO, Union Latina, UNOOSA, UNWTO, UPU, WCO, WFTU (NGOs), WHO, WIPO, WMO, WTO

Independence

15 September 1821 (from Spain)

National holiday

Independence Day, 15 September (1821)

Flag

Description: five horizontal bands of blue (top), white, red (double-width), white, and blue, with the coat of arms in a white elliptical disk placed toward the left side of the red band meaning: the blue is said to stand for the sky, opportunity, and perseverance; the white for peace, happiness, and wisdom; and the red for the blood shed for freedom, as well as Costa Ricans' generosity and vibrancy history: Costa Rica retained the earlier blue-white-blue flag of Central America until 1848 when, in response to revolutions in Europe, it was decided to incorporate the French colors by adding a central red stripe

National symbol(s)

Yiguirro (clay-colored thrush)

National color(s)

Blue, white, red

National coat of arms

The Costa Rican coat of arms highlights the country’s natural beauty and history; three volcanoes, each topped with a white cloud, are surrounded with water, symbolizing the seaports of the Pacific and Atlantic Oceans; the rising sun in the background stands for the birth of a new nation, and the seven white stars for the country's provinces; the two merchant ships carrying Costa Rica’s flag are a reminder of the maritime trade that shaped the country's history

National anthem(s) β€” title

"Himno Nacional de Costa Rica" (National Anthem of Costa Rica)

National anthem(s) β€” lyrics/music

Jose Maria ZELEDON Brenes/Manuel Maria GUTIERREZ

National anthem(s) β€” history

Adopted 1949; the music was originally written for a welcome ceremony in 1852 for the US and UK diplomatic missions; the lyrics were added in 1900

National heritage β€” total World Heritage Sites

4 (1 cultural, 3 natural)

National heritage β€” selected World Heritage Site locales

Guanacaste Conservation Area (n); Cocos Island National Park (n); Precolumbian Stone Spheres (c); La Amistad International Park (n)

Economic overview

Trade-based upper middle-income economy; green economy leader, having reversed deforestation; investing in blue economy infrastructure; declining poverty until hard impacts of COVID-19; lingering inequality and growing government debts have prompted a liquidity crisis

Real GDP (purchasing power parity) β€” Real GDP (purchasing power parity) 2024

$138.371 billion (2024 est.)

Real GDP (purchasing power parity) β€” Real GDP (purchasing power parity) 2023

$132.64 billion (2023 est.)

Real GDP (purchasing power parity) β€” Real GDP (purchasing power parity) 2022

$126.189 billion (2022 est.)

Real GDP growth rate β€” Real GDP growth rate 2024

4.3% (2024 est.)

Real GDP growth rate β€” Real GDP growth rate 2023

5.1% (2023 est.)

Real GDP growth rate β€” Real GDP growth rate 2022

4.6% (2022 est.)

Real GDP per capita β€” Real GDP per capita 2024

$27,000 (2024 est.)

Real GDP per capita β€” Real GDP per capita 2023

$26,000 (2023 est.)

Real GDP per capita β€” Real GDP per capita 2022

$24,800 (2022 est.)

GDP (official exchange rate)

$95.35 billion (2024 est.)

Inflation rate (consumer prices) β€” Inflation rate (consumer prices) 2024

-0.4% (2024 est.)

Inflation rate (consumer prices) β€” Inflation rate (consumer prices) 2023

0.5% (2023 est.)

Inflation rate (consumer prices) β€” Inflation rate (consumer prices) 2022

8.3% (2022 est.)

GDP - composition, by sector of origin β€” agriculture

3.6% (2024 est.)

GDP - composition, by sector of origin β€” industry

19.7% (2024 est.)

GDP - composition, by sector of origin β€” services

68.8% (2024 est.)

GDP - composition, by end use β€” household consumption

63.9% (2024 est.)

GDP - composition, by end use β€” government consumption

14.7% (2024 est.)

GDP - composition, by end use β€” investment in fixed capital

15.8% (2024 est.)

GDP - composition, by end use β€” investment in inventories

-0.1% (2024 est.)

GDP - composition, by end use β€” exports of goods and services

38.5% (2024 est.)

GDP - composition, by end use β€” imports of goods and services

-32.8% (2024 est.)

Agricultural products

Sugarcane, pineapples, bananas, oil palm fruit, milk, fruits, oranges, chicken, cassava, beef (2023)

Industries

Medical equipment, food processing, textiles and clothing, construction materials, fertilizer, plastic products

Industrial production growth rate

4.1% (2024 est.)

Labor force

2.357 million (2024 est.)

Unemployment rate β€” Unemployment rate 2024

7.9% (2024 est.)

Unemployment rate β€” Unemployment rate 2023

8.4% (2023 est.)

Unemployment rate β€” Unemployment rate 2022

11.4% (2022 est.)

Youth unemployment rate (ages 15-24) β€” total

23% (2024 est.)

Youth unemployment rate (ages 15-24) β€” male

20.7% (2024 est.)

Youth unemployment rate (ages 15-24) β€” female

26.2% (2024 est.)

Population below poverty line

24.4% (2023 est.)

Gini Index coefficient - distribution of family income β€” Gini Index coefficient - distribution of family income 2024

45.8 (2024 est.)

Average household expenditures β€” on food

21.3% of household expenditures (2023 est.)

Average household expenditures β€” on alcohol and tobacco

1.7% of household expenditures (2023 est.)

Household income or consumption by percentage share β€” lowest 10%

1.7% (2024 est.)

Household income or consumption by percentage share β€” highest 10%

34.2% (2024 est.)

Remittances β€” Remittances 2024

0.8% of GDP (2024 est.)

Remittances β€” Remittances 2023

0.8% of GDP (2023 est.)

Remittances β€” Remittances 2022

0.9% of GDP (2022 est.)

Budget β€” revenues

$26.333 billion (2023 est.)

Budget β€” expenditures

$25.953 billion (2023 est.)

Public debt β€” Public debt 2017

48.9% of GDP (2017 est.)

Taxes and other revenues

13.9% (of GDP) (2023 est.)

Current account balance β€” Current account balance 2024

-$1.291 billion (2024 est.)

Current account balance β€” Current account balance 2023

-$1.239 billion (2023 est.)

Current account balance β€” Current account balance 2022

-$2.272 billion (2022 est.)

Exports β€” Exports 2024

$36.77 billion (2024 est.)

Exports β€” Exports 2023

$33.683 billion (2023 est.)

Exports β€” Exports 2022

$29.392 billion (2022 est.)

Exports - partners

USA 40%, Netherlands 6%, China 5%, Guatemala 4%, Belgium 3% (2023)

Exports - commodities

Medical instruments, integrated circuits, orthopedic appliances, bananas, tropical fruits (2023)

Imports β€” Imports 2024

$30.459 billion (2024 est.)

Imports β€” Imports 2023

$28.413 billion (2023 est.)

Imports β€” Imports 2022

$27.095 billion (2022 est.)

Imports - partners

USA 38%, China 15%, Mexico 6%, Brazil 3%, Guatemala 3% (2023)

Imports - commodities

Refined petroleum, plastic products, cars, medical instruments, broadcasting equipment (2023)

Reserves of foreign exchange and gold β€” Reserves of foreign exchange and gold 2024

$14.177 billion (2024 est.)

Reserves of foreign exchange and gold β€” Reserves of foreign exchange and gold 2023

$13.225 billion (2023 est.)

Reserves of foreign exchange and gold β€” Reserves of foreign exchange and gold 2022

$8.554 billion (2022 est.)

Debt - external β€” Debt - external 2023

$15.574 billion (2023 est.)

Exchange rates β€” Currency

Costa Rican colones (CRC) per US dollar -

Exchange rates β€” Exchange rates 2024

515.11 (2024 est.)

Exchange rates β€” Exchange rates 2023

544.051 (2023 est.)

Exchange rates β€” Exchange rates 2022

647.136 (2022 est.)

Exchange rates β€” Exchange rates 2021

620.785 (2021 est.)

Exchange rates β€” Exchange rates 2020

584.901 (2020 est.)

Electricity access β€” electrification - total population

100% (2022 est.)

Electricity β€” installed generating capacity

3.751 million kW (2023 est.)

Electricity β€” consumption

9.957 billion kWh (2023 est.)

Electricity β€” exports

774 million kWh (2023 est.)

Electricity β€” imports

54 million kWh (2023 est.)

Electricity β€” transmission/distribution losses

1.039 billion kWh (2023 est.)

Electricity generation sources β€” fossil fuels

0.1% of total installed capacity (2023 est.)

Electricity generation sources β€” solar

0.7% of total installed capacity (2023 est.)

Electricity generation sources β€” wind

12.7% of total installed capacity (2023 est.)

Electricity generation sources β€” hydroelectricity

72.9% of total installed capacity (2023 est.)

Electricity generation sources β€” geothermal

13.1% of total installed capacity (2023 est.)

Electricity generation sources β€” biomass and waste

0.5% of total installed capacity (2023 est.)

Coal β€” consumption

23,000 metric tons (2023 est.)

Coal β€” imports

24,000 metric tons (2023 est.)

Petroleum β€” total petroleum production

400 bbl/day (2023 est.)

Petroleum β€” refined petroleum consumption

60,000 bbl/day (2023 est.)

Energy consumption per capita β€” Total energy consumption per capita 2023

30.725 million Btu/person (2023 est.)

Telephones - fixed lines β€” total subscriptions

610,000 (2024 est.)

Telephones - fixed lines β€” subscriptions per 100 inhabitants

12 (2024 est.)

Telephones - mobile cellular β€” total subscriptions

6.98 million (2024 est.)

Telephones - mobile cellular β€” subscriptions per 100 inhabitants

136 (2024 est.)

Broadcast media

Over two dozen privately owned TV stations and 1 publicly owned TV station; cable network services are widely available; more than 100 privately owned radio stations and a public radio network (2022)

Internet country code

.cr

Internet users β€” percent of population

85% (2023 est.)

Broadband - fixed subscriptions β€” total

1.15 million (2023 est.)

Broadband - fixed subscriptions β€” subscriptions per 100 inhabitants

23 (2023 est.)

Civil aircraft registration country code prefix

TI

Airports

132 (2025)

Heliports

8 (2025)

Railways β€” total

278 km (2014)

Railways β€” narrow gauge

278 km (2014) 1.067-m gauge

Merchant marine β€” total

11 (2023)

Merchant marine β€” by type

Other 11

Ports β€” total ports

6 (2024)

Ports β€” large

0

Ports β€” medium

0

Ports β€” small

1

Ports β€” very small

5

Ports β€” ports with oil terminals

4

Ports β€” key ports

Golfito, Puerto Caldera, Puerto Limon, Puerto Moin, Puerto Quepos, Puntarenas

Military and security forces

Ministry of Public Security (Ministerio de Seguridad PΓΊblica de Costa Rica): National Police (Fuerza PΓΊblica), Air Surveillance Service (Servicio de Vigilancia AΓ©rea), National Coast Guard Service (Servicio Nacional de Guardacostas), Drug Control Police (PolicΓ­a Control de Drogas), Border Police (Policia de Fronteras), Professional Migration Police (PolicΓ­a Profesional de MigraciΓ³n) Ministry of Presidency: Directorate of Intelligence and Security (DIS), Special Intervention Unit (UEI) (2025)

Military expenditures β€” Military Expenditures 2024

0.6% of GDP (2024 est.)

Military expenditures β€” Military Expenditures 2023

0.6% of GDP (2023 est.)

Military expenditures β€” Military Expenditures 2022

0.6% of GDP (2022 est.)

Military expenditures β€” Military Expenditures 2021

0.7% of GDP (2021 est.)

Military expenditures β€” Military Expenditures 2020

0.7% of GDP (2020 est.)

Military and security service personnel strengths

Approximately 10-15,000 Ministry of Public Security personnel (2025)

Military equipment inventories and acquisitions

The National Police are lightly armed although small special units are trained and equipped for tactical operations; the US has provided equipment and support to forces such as the Coast Guard, including secondhand US vessels and aircraft (2025)

Military - note

Costa Rica relies on specialized paramilitary units within the Ministry of Public Security (MPS) for internal security missions and countering transnational threats such as narcotics smuggling and organized crime, as well as for participating in regional security operations and exercises; MPS forces have received advisory and training support from the US (2025)

Space agency/agencies

Costa Rican Space Agency (ACE; established by legislation in 2021) (2025)

Space program overview

Has a small, recently established program focused on using space to develop the country’s economy and industry, including acquiring and using satellites; has built a remote sensing (RS) cube satellite; has relations with US space agencies and commercial space industries, as well as with the ESA and the Latin American and Caribbean Space Agency (2025)

Key space-program milestones

2018 - first domestically produced remote sensing cube satellite (IrazΓΊ) for monitoring tropical forests and climate change launched by US and deployed from the International Space Station 2021 - signed protocols for newly established Latin American and Caribbean Space Agency; opened US commercial company’s space radar facility for mapping and space situational awareness 2022 - domestically produced scientific device (Proyecto Musa or Musa Project) launched on European rocket 2024 - participated in first China-Latin America and the Caribbean Space Cooperation Forum

Refugees and internally displaced persons β€” refugees

249,521 (2024 est.)

Refugees and internally displaced persons β€” IDPs

58 (2024 est.)

Refugees and internally displaced persons β€” stateless persons

345 (2024 est.)

Illicit drugs β€” USG identification

Major illicit drug-producing and/or drug-transit country major precursor-chemical producer (2025)

Source: Factbook JSON archive.

Related links