Costa Rica

Republic of Costa Rica
República de Costa Rica (Spanish)
Anthem: "Himno Nacional de Costa Rica" (Spanish)
"National Anthem of Costa Rica"
Capital
and largest city
San José
9°56′N 84°5′W / 9.933°N 84.083°W / 9.933; -84.083
Official languagesSpanish
Recognized regional languages
Ethnic groups
(2021)
Religion
(2021)
  • 27.0% no religion
  • 0.4% others
Demonym(s)
GovernmentUnitary presidential republic
 President
Rodrigo Chaves
Stephan Brunner
Mary Munive
LegislatureLegislative Assembly
Independence from
 from Spain
15 September 1821
1 July 1823
14 November 1838
7 November 1949
 Recognized by Spain
10 May 1850
Area
 Total
51,179.92 km2 (19,760.68 sq mi) (126th)
 Water (%)
1.05 (as of 2015)
Population
 2022 census
5,044,197
 Density
220/sq mi (84.9/km2) (107th)
GDP (PPP)2025 estimate
 Total
$169.034 billion (90th)
 Per capita
$31,462 (66th)
GDP (nominal)2025 estimate
 Total
$102.591 billion (85th)
 Per capita
$19,095 (64th)
Gini (2022) 47.2
high inequality
HDI (2023) 0.833
very high (62nd)
CurrencyCosta Rican colón (CRC)
Time zoneUTC−6 (CST)
Calling code+506
ISO 3166 codeCR
Internet TLD.cr
.co.cr

Costa Rica, officially the Republic of Costa Rica, is a country in Central America. It borders Nicaragua to the north, the Caribbean Sea to the northeast, Panama to the southeast, and the Pacific Ocean to the southwest, as well as maritime border with Ecuador to the south of Cocos Island. It has a population of around five million in a land area of nearly 51,180 km2 (19,760 sq mi). An estimated 352,381 people live in the capital and largest city, San José, with around two million people in the surrounding metropolitan area.

The sovereign state is a presidential republic. It has a long-standing and stable constitutional democracy and a highly educated workforce. The country spends roughly 6.9% of its budget (2016) on education, compared to a global average of 4.4%. Its economy, once heavily dependent on agriculture, has diversified to include sectors such as finance, corporate services for foreign companies, pharmaceuticals, and ecotourism. Many foreign manufacturing and services companies operate in Costa Rica's Free Trade Zones (FTZ) where they benefit from investment and tax incentives.

Costa Rica was inhabited by indigenous peoples before coming under Spanish rule in the 16th century. It remained a peripheral colony of the empire until independence as part of the First Mexican Empire, followed by membership in the Federal Republic of Central America, from which it formally declared independence in 1847. Following the brief Costa Rican Civil War in 1948, it permanently abolished its army in 1949, becoming one of only a few sovereign nations without a standing army.

The country has consistently performed favorably in the Human Development Index (HDI), placing 58th in the world as of 2022, and fifth in Latin America. It has also been cited by the United Nations Development Programme (UNDP) as having attained much higher human development than other countries at the same income levels, with a better record on human development and inequality than the median of the region. It performs well in comparisons of democratic governance, press freedom, subjective happiness and sustainable wellbeing. It has the 26th freest press according to the 2024 Press Freedom Index, it is the 35th most democratic country according to the 2021 Freedom in the World index, and it is the 23rd happiest country in the 2023 World Happiness Report. It is also a major tourist destination in the continent.