Costa Rica

Country in Central America

Read the original on Wikipedia ↗ Last updated from Wikipedia: 30 November 2026

This article is about the country. For other uses, see Costa Rica (disambiguation) (opens on Wikipedia).
Republic of Costa Rica
República de Costa Rica (Spanish)
Motto: "¡Vivan siempre el trabajo y la paz!"
"May work and peace always live!"
Anthem: Himno Nacional de Costa Rica (opens on Wikipedia)
"National Anthem of Costa Rica"
Location of Costa Rica
Capital
and largest city
San José (opens on Wikipedia)
9°56′N 84°5′W / 9.933°N 84.083°W
Official languagesSpanish (opens on Wikipedia)
Recognized regional languages
Ethnic groups
(2021[1])
Religion
(2021)[3]
Demonyms
Government (opens on Wikipedia)Unitary presidential republic
Laura Fernández (opens on Wikipedia)
Francisco Gamboa (opens on Wikipedia)
Douglas Soto (opens on Wikipedia)
LegislatureLegislative Assembly (opens on Wikipedia)
Independence (opens on Wikipedia)
• from Spain
15 September 1821
1 July 1823
14 November 1838
• Recognized by Spain
10 May 1850
7 November 1949[1]
Area (opens on Wikipedia)
• Total
51,179.92 km2 (19,760.68 sq mi) (126th)
• Water (%)
1.05 (as of 2015)[5]
Population (opens on Wikipedia)
• 2026 estimate
Neutral increase 5,160,700[6] (127th)
• 2022 census
5,044,197[7]
• Density
220/sq mi (84.9/km2) (107th)
GDP (PPP)2026 estimate
• Total
Increase $185.286 billion[8] (90th)
• Per capita
Increase $34,214[8] (66th)
GDP (nominal)2026 estimate
• Total
Increase $115.254 billion[8] (85th)
• Per capita
Increase $21,282[8] (64th)
Gini (2025)Positive decrease 45.5[9]
medium inequality
HDI (2023)Increase 0.833[10]
very high (62nd)
CurrencyCosta Rican colón (opens on Wikipedia) (CRC)
Time zoneUTC−6 (CST (opens on Wikipedia))
Date formatdd/mm/yyyy
Calling code (opens on Wikipedia)+506 (opens on Wikipedia)
ISO 3166 codeCR (opens on Wikipedia)
Internet TLD.cr (opens on Wikipedia)
.co.cr

Costa Rica,[a] officially the Republic of Costa Rica,[b] is a country in Central America. It borders Nicaragua (opens on Wikipedia) to the north, the Caribbean Sea (opens on Wikipedia) to the northeast, Panama (opens on Wikipedia) to the southeast, and the Pacific Ocean to the southwest, sharing a maritime border with Ecuador to the south of Cocos Island. It has a population of around five million[11][12] in a land area of nearly 51,180 km2 (19,760 sq mi);[13] the capital and largest city is San José (opens on Wikipedia), home to around 350,000 residents and two million people in the surrounding metropolitan area.[14]

Humans have been in Costa Rica (opens on Wikipedia) since between 7,000 and 10,000 BC. Various indigenous peoples (opens on Wikipedia) lived in the territory before it was colonized by Spain in the 16th century. Costa Rica was a peripheral colony of the Spanish Empire until independence in 1821 as part of the First Mexican Empire (opens on Wikipedia), followed by membership in the Federal Republic of Central America (opens on Wikipedia) in 1823, from which it formally declared independence in 1847. The country underwent gradual modernization under relatively stable authoritarian rule until the late 19th century, when it promulgated a liberal constitution and held the first free and fair national election in Central America.[15]

Following a brief civil war (opens on Wikipedia) in 1948, Costa Rica adopted its current constitution (opens on Wikipedia) in 1949, which granted universal suffrage, provided various social, economic, and educational guarantees for all citizens, and permanently abolished the army (opens on Wikipedia), becoming one of the few sovereign nations without a standing military (opens on Wikipedia).[16][17][18] Costa Rica is a presidential republic with a robust and stable democracy.[19] About one-fourth of the national budget is spent on education—which has been free and compulsory since 1886—equal to about 6.2% of the country's GDP, compared to a global average of 3.8%;[20] the economy, once heavily dependent on agriculture, has diversified to include finance, corporate services for foreign companies, pharmaceuticals, and ecotourism.[21][22]

Costa Rica has consistently performed favorably in the Human Development Index (HDI), placing 62nd globally, and fifth in Latin America, in 2023. Costa Rica is classified by the World Bank as a high-income economy (opens on Wikipedia)[23] and is the only OECD (opens on Wikipedia) country in Central America and the Caribbean.[24] It has been cited by the United Nations Development Programme (UNDP) as having attained much higher human development (opens on Wikipedia) than other countries at the same income levels, with a better record on human development and inequality than the regional median.[25] Costa Rica performs well in metrics of democratic governance, press freedom, subjective happiness and sustainable wellbeing (opens on Wikipedia);[26] it has one of the highest literacy rates in the Americas,[27] and is considered a regional leader in human rights and environmentalism.[27]

Stone spheres of Costa Rica. Museo Nacional.jpg
Stone spheres (opens on Wikipedia) created by the Diquis (opens on Wikipedia) culture at the National Museum of Costa Rica (opens on Wikipedia). The sphere (opens on Wikipedia) is the icon of the country's cultural identity. Image: Rodtico21, CC BY-SA 3.0, via Wikimedia Commons

Pre-Columbian period

Historians have classified the Indigenous people (opens on Wikipedia) of Costa Rica as belonging to the Intermediate Area (opens on Wikipedia), where the peripheries of the Mesoamerican and Andean (opens on Wikipedia) native cultures overlapped. More recently, pre-Columbian (opens on Wikipedia) Costa Rica has also been described as part of the Isthmo-Colombian Area (opens on Wikipedia).

Stone tools, the oldest evidence of human occupation in Costa Rica, are associated with the arrival of various groups of hunter-gatherers about 10,000 to 7,000 years BCE (opens on Wikipedia) in the Turrialba Valley (opens on Wikipedia). The presence of Clovis culture (opens on Wikipedia) type spearheads and arrows from South America opens the possibility that, in this area, two different cultures coexisted.[28]

Agriculture became evident in the populations that lived in Costa Rica about 5,000 years ago. They mainly grew tubers (opens on Wikipedia) and roots. For the first and second millennia BCE there were already settled farming communities. These were small and scattered, although the timing of the transition from hunting and gathering to agriculture as the main livelihood in the territory is still unknown.[29]

The earliest use of pottery appears around 2,000 to 3,000 BCE. Shards of pots, cylindrical vases, platters, gourds, and other vases decorated with grooves, prints, and some modeled after animals have been found.[30]

The influence of Indigenous peoples on modern Costa Rican culture has been relatively small compared to other nations since the country lacked a strong native civilization to begin with. Most of the native population was absorbed into the Spanish-speaking colonial society through inter-marriage, except for some small remnants, the most significant of which are the Bribri (opens on Wikipedia) and Boruca (opens on Wikipedia) tribes who still inhabit the mountains of the Cordillera de Talamanca (opens on Wikipedia), in the southeastern part of Costa Rica, near the frontier with Panama (opens on Wikipedia).

Spanish colonization

The name la costa rica, meaning "rich coast" in the Spanish language, was in some accounts first applied by Christopher Columbus, who sailed to the eastern shores of Costa Rica during his final voyage in 1502,[31] and reported vast quantities of gold jewelry worn by natives.[32] The name may also have come from conquistador Gil González Dávila (opens on Wikipedia), who landed on the west coast in 1522, encountered natives, and obtained some of their gold, sometimes by violent theft and sometimes as gifts from local leaders.[33]

Iglesia Inmaculada Concepcion Ujarras.jpg
The Ujarrás (opens on Wikipedia) historical site in the Orosí Valley, Cartago province (opens on Wikipedia). The church was built between 1686 and 1693. Image: Creator:Edwin Dalorzo, Public domain, via Wikimedia Commons

During most of the colonial period, Costa Rica was the southernmost province of the Captaincy General of Guatemala (opens on Wikipedia), nominally part of the Viceroyalty of New Spain (opens on Wikipedia). The captaincy general was a largely autonomous entity within the Spanish Empire. Costa Rica's distance from the capital of the captaincy in Guatemala, its legal prohibition under mercantilist (opens on Wikipedia) Spanish law from trade with its southern neighbor Panama, then part of the Viceroyalty of New Granada (opens on Wikipedia) (i.e. Colombia), and lack of resources such as gold and silver, made Costa Rica into a poor, isolated, and sparsely inhabited region within the Spanish Empire.[34] Costa Rica was described as "the poorest and most miserable Spanish colony in all America" by a Spanish governor in 1719.[35]

Independence

Like the rest of Central America, Costa Rica never fought for independence from Spain. On 15 September 1821, after the final Spanish defeat in the Mexican War of Independence (opens on Wikipedia) (1810–1821), the authorities in Guatemala declared the independence of all of Central America. That date is still celebrated as Independence Day in Costa Rica[36] even though, technically, under the Spanish Constitution of 1812 (opens on Wikipedia) that had been readopted in 1820, Nicaragua (opens on Wikipedia) and Costa Rica had become an autonomous province with its capital in León (opens on Wikipedia).[37]

On 3 March 1824, the government of the State of Costa Rica officially proposed to the municipality of Nicoya (opens on Wikipedia) its voluntary incorporation into the country, through a document in which it invited it "if it was convenient to join its Province without going against its will." On 4 July, an open town hall was convened in Nicoya to discuss the matter, but attendees declined the invitation under the argument "that this Party... cannot be dissident."[38]

On 25 July 1824, a second plebiscite was called in the city of Nicoya. After deliberation, the incorporation into Costa Rica was decided in an open town hall meeting, preparing a record in which the main reasons for it were noted, pointing out the advantages in terms of trade, the desire to participate in the advances that are palpable in Costa Rica, the economic, administrative and public service benefits, the creation of schools, security and quiet, referring to the state of war that Nicaragua was experiencing at that time and the fear that it would spread to the Partido populations, in addition to point out the poverty in which its towns find themselves and the geography of the territory as justifications for the union. Three days later, another similar plebiscite was held in Santa Cruz (opens on Wikipedia), with the same result. The election was by majority vote, with 77% of the Party's population in favor of incorporation, and 23% against it. The town of Guanacaste was the only one that declined annexation, due to the ties its residents had with the city of Rivas, Nicaragua (opens on Wikipedia).[39]

Upon independence, Costa Rican authorities faced the issue of officially deciding the future of the country. Two bands formed: the Imperialists, defended by Cartago (opens on Wikipedia) and Heredia cities (opens on Wikipedia), which were in favor of joining (opens on Wikipedia) the Mexican Empire (opens on Wikipedia), and the Republicans, represented by the cities of San José (opens on Wikipedia) and Alajuela (opens on Wikipedia) who defended full independence. Because of the lack of agreement on these two possible outcomes, the first civil war in Costa Rica occurred. The Battle of Ochomogo (opens on Wikipedia) took place on the Hill of Ochomogo (opens on Wikipedia), located in the Central Valley (opens on Wikipedia) in 1823. The conflict was won by the Republicans and, as a consequence, the city of Cartago lost its status as the capital, which moved to San José.[40][41][42]

First postal stamp CR 4 Reales 1863.jpg
1849 national coat of arms (opens on Wikipedia) was featured in the first postal stamp issued in 1862. Image: Issued by the Government of Costa Rica. Edited and uploaded by Mariordo - Mario Roberto Duran Ortiz, Public domain, via Wikimedia Commons

In 1838, long after the Federal Republic of Central America (opens on Wikipedia) ceased to function in practice, Costa Rica formally withdrew and proclaimed itself sovereign. The considerable distance and poor communication routes between Guatemala City (opens on Wikipedia) and the Central Plateau, where most of the Costa Rican population lived then and still lives now, meant the local population had little allegiance to the federal government in Guatemala. Since colonial times, Costa Rica has been reluctant to become economically tied with the rest of Central America. Even today, despite most of its neighbors'[c] efforts to increase regional integration,[43] Costa Rica has remained more independent.

Until 1849, when it became part of Panama (opens on Wikipedia), Chiriquí was part of Costa Rica. Costa Rican pride was assuaged for the loss of this eastern (or southern) territory with the acquisition of Guanacaste (opens on Wikipedia), in the north.

Economic growth in the 19th century

Coffee was first planted in Costa Rica in 1808,[44] and by the 1820s, it surpassed tobacco, sugar, and cacao as a primary export. Coffee production remained Costa Rica's principal source of wealth well into the 20th century, creating a wealthy class of growers, the so-called Coffee Barons.[45] The revenue helped to modernize the country.[46][47]

Most of the coffee exported was grown around the main centers of population in the Central Plateau and then transported by oxcart to the Pacific port of Puntarenas (opens on Wikipedia) after the main road was built in 1846.[47] By the mid-1850s the main market for coffee was Britain.[48] It soon became a high priority to develop an effective transportation route from the Central Plateau to the Atlantic Ocean. For this purpose, in the 1870s, the Costa Rican government contracted with U.S. businessman Minor C. Keith (opens on Wikipedia) to build a railroad from San José to the Caribbean port of Limón (opens on Wikipedia). Despite enormous difficulties with construction, disease, and financing, the railroad was completed in 1890.[49]

Most Afro-Costa Ricans descend from Jamaican immigrants who worked in the construction of that railway and now make up about 3% of Costa Rica's population. U.S. convicts, Italians, and Chinese immigrants also participated in the construction project. In exchange for completing the railroad, the Costa Rican government granted Keith large tracts of land and a lease on the train route, which he used to produce bananas and export them to the United States. As a result, bananas came to rival coffee as the principal Costa Rican export, while foreign-owned corporations (including the United Fruit Company (opens on Wikipedia) later) began to hold a major role in the national economy and eventually became a symbol of the exploitative export economy.[50] The major labor dispute between the peasants and the United Fruit Company (The Great Banana Strike) was a major event in the country's history and was an important step that would eventually lead to the formation of effective trade unions in Costa Rica (opens on Wikipedia), as the company was required to sign a collective agreement with its workers in 1938.[51][52]

20th century

Historically, Costa Rica has generally enjoyed greater peace and more consistent political stability than many of its fellow Latin American nations. During the 20th century, however, Costa Rica experienced two significant periods of violence. In 1917–1919, General Federico Tinoco Granados (opens on Wikipedia) ruled as a military dictator until he was overthrown and forced into exile. The unpopularity of Tinoco's regime (opens on Wikipedia) led, after he was overthrown, to a considerable decline in the size, wealth, and political influence of the Costa Rican military. In 1948, José Figueres Ferrer led an armed uprising in the wake of a disputed presidential election between Rafael Ángel Calderón Guardia (opens on Wikipedia) (who had been president between 1940 and 1944) and Otilio Ulate Blanco.[53] With more than 2,000 dead, the resulting 44-day Costa Rican Civil War (opens on Wikipedia) was the bloodiest event in Costa Rica during the 20th century.

The victorious rebels formed a government junta that abolished the military (opens on Wikipedia) all together and oversaw the drafting of a new constitution by a democratically elected assembly.[54] Having enacted these reforms, the junta transferred power to Ulate on 8 November 1949. After the coup d'état, Figueres became a national hero, winning the country's first democratic election under the new constitution in 1953 (opens on Wikipedia). Starting in 1958, Costa Rica has held additional presidential elections every four years, the latest in 2026 (opens on Wikipedia). With uninterrupted democracy dating back to at least 1948, the country is the region's most stable.[55][56]

Koppen-Geiger Map CRI present.svg
Costa Rica map of Köppen climate classification Image: Beck, H.E., Zimmermann, N. E., McVicar, T. R., Vergopolan, N., Berg, A., & Wood, E. F., CC BY 4.0, via Wikimedia Commons

Costa Rica borders the Caribbean Sea (opens on Wikipedia) to the east, and the Pacific Ocean to the west. Costa Rica also borders Nicaragua (opens on Wikipedia) to the north and Panama (opens on Wikipedia) to the south.

The highest point in the country is Cerro Chirripó (opens on Wikipedia), at 3,819 metres (12,530 ft). The highest volcano in the country is the Irazú Volcano (opens on Wikipedia) (3,431 m or 11,257 ft) and the largest lake is Lake Arenal (opens on Wikipedia). There are 14 known volcanoes in Costa Rica, and six of them have been active in the last 75 years.[57]

Climate

Costa Rica experiences a tropical climate year-round. There are two seasons. The dry season is December to April, and the rainy season is May to November. March and April are the hottest months in the country, while December and January are the coldest. However, there are rainy days in the dry season, as well as weeks without rain in the wet season.

Costa Rica is highly vulnerable to extreme weather events, which can be exacerbated by climate change. The majority of Costa Rica's population (78%) and economic activity (80% of GDP) are concentrated in regions highly vulnerable to various natural hazards, such as floods, landslides, cyclones, storm surges, and rising sea levels.[58] The country is facing increasing temperatures (especially at higher elevations), rising sea levels on both coasts, and changing rainfall patterns resulting in increased risk of drought along the Pacific slope and flooding in all regions of the country.[59] Increasing temperatures and extreme heat will have major consequences for human health, agriculture (particularly coffee and banana cultivation), water security, tourism, and the country's distinctive biodiversity and ecosystems.[60]

Flora and fauna

Scarlet Macaw.jpg
The scarlet macaw (opens on Wikipedia) is native to Costa Rica. Image: en:User:Cburnett, CC BY-SA 3.0, via Wikimedia Commons

Despite its size, Costa Rica is one of the countries with the greatest biodiversity (opens on Wikipedia) in all of Latin America.

One national park, the Corcovado National Park (opens on Wikipedia), is internationally renowned among ecologists for its biodiversity (including big cats (opens on Wikipedia) and tapirs (opens on Wikipedia)) and is where visitors can expect to see an abundance of wildlife.[61][62] Corcovado is the one park in Costa Rica where all four Costa Rican monkey species (opens on Wikipedia) can be found.[63] These include the white-headed capuchin (opens on Wikipedia), the mantled howler (opens on Wikipedia), the endangered Geoffroy's spider monkey (opens on Wikipedia),[63][64] and the Central American squirrel monkey (opens on Wikipedia), found only on the Pacific coast of Costa Rica and a small part of Panama (opens on Wikipedia) and considered endangered until 2008 when its status was upgraded to vulnerable. Deforestation, illegal pet trading, and hunting are the main reasons for its threatened status.[65] La Amistad (opens on Wikipedia) and Chirripó (opens on Wikipedia) present the climate of the páramo (opens on Wikipedia), at a height of more than 3000 meters above sea level, providing other types of flora and fauna, such as the white-nosed coati (opens on Wikipedia), the sooty thrush (opens on Wikipedia) and Rogiera amoena (opens on Wikipedia). Costa Rica is the first tropical country to have stopped and reversed deforestation; it has successfully restored its forestry and developed an ecosystem service to teach biologists and ecologists about its environmental protection measures.[66] The country had a 2018 Forest Landscape Integrity Index mean score of 4.65/10, ranking it 118th globally out of 172 countries.[67]

Loading “Government and politics”…

Loading “Economy”…

Loading “Demographics”…

Loading “Culture”…

Loading “See also”…

Loading “Notes”…

Loading “References”…

Loading “Further reading”…

Loading “External links”…

Image credits (33)