Skip to main content
CountryReports

Expanded History

History of Costa Rica

From antiquity to the modern era — the historical eras, key events, and narrative that shaped Costa Rica.

Speed

Overview

In 1502, on his fourth and last voyage to the New World, Christopher Columbus made the first European landfall in the area. Settlement of Costa Rica began in 1522. For nearly three centuries, Spain administered the region as part of the Captaincy General of Guatemala under a military governor. The Spanish optimistically called the country "Rich Coast." Finding little gold or other valuable minerals in Costa Rica, however, the Spanish turned to agriculture.

The small landowners’ relative poverty, the lack of a large indigenous labor force, the population’s ethnic and linguistic homogeneity, and Costa Rica’s isolation from the Spanish colonial centers in Mexico and the Andes all contributed to the development of an autonomous and individualistic agrarian society. An egalitarian tradition also arose. This tradition survived the widened class distinctions brought on by the 19th-century introduction of banana and coffee cultivation and consequent accumulations of local wealth.

Costa Rica joined other Central American provinces in 1821 in a joint declaration of independence from Spain. Although the newly independent provinces formed a Federation, border disputes broke out among them, adding to the region’s turbulent history and conditions. Costa Rica’s northern Guanacaste Province was annexed from Nicaragua in one such regional dispute. In 1838, long after the Central American Federation ceased to function in practice, Costa Rica formally withdrew and proclaimed itself sovereign.

An era of peaceful democracy in Costa Rica began in 1899 with elections considered the first truly free and honest ones in the country’s history. This began a trend continued until today with only two lapses: in 1917-19, Federico Tinoco ruled as a dictator, and, in 1948, Jose Figueres led an armed uprising in the wake of a disputed presidential election.

With more than 2,000 dead, the 44-day civil war resulting from this uprising was the bloodiest event in 20th-century Costa Rican history, but the victorious junta drafted a constitution guaranteeing free elections with universal suffrage and the abolition of the military. Figueres became a national hero, winning the first election under the new constitution in 1953. Since then, Costa Rica has held 13 presidential elections, the latest in 2002.

Historical Eras

The major periods of {country}’s history at a glance.

  1. Pre-Columbian Era

    1000 BCE – 1502

    Before European contact, Costa Rica was home to diverse indigenous peoples, including the Chorotega, Bribri, and Boruca, who lived in small chiefdoms sustained by agriculture, trade, and craft. The region served as a cultural corridor between Mesoamerican and Andean civilizations. Relatively small population sizes and the absence of large centralized empires shaped the social landscape that Spanish colonizers would later encounter.

  2. Spanish Colonial Period

    1502 – 1821

    Christopher Columbus made the first European landfall on Costa Rica's Caribbean coast in 1502, and permanent Spanish settlement began in 1522. Administered as part of the Captaincy General of Guatemala, the colony yielded little gold, pushing settlers toward smallholder agriculture. This scarcity fostered an unusually egalitarian society, ethnically homogeneous and geographically isolated from the major colonial centers of Mexico and Peru.

  3. Independence & Federation

    1821 – 1838

    Costa Rica joined the Central American provinces in declaring independence from Spain in 1821, subsequently becoming part of the United Provinces of Central America in 1823. Border disputes and political instability plagued the Federation from its inception, including the annexation of the Guanacaste Province from Nicaragua. By 1838, as the Federation dissolved in practice, Costa Rica formally proclaimed full sovereignty.

  4. Export & Nation-Building

    1838 – 1899

    As an independent republic, Costa Rica experienced transformative economic growth driven first by coffee exports from the 1840s and later by banana cultivation introduced by the United Fruit Company in the 1870s. These export booms widened class distinctions but also funded public infrastructure and education. The era was punctuated by the 1856 campaign against American filibuster William Walker, which became a defining moment of national identity.

  5. Democratic Consolidation

    1899 – 1949

    The elections of 1899 marked the beginning of genuine democratic governance, establishing a tradition interrupted only twice: by Federico Tinoco's dictatorship from 1917 to 1919 and by the disputed 1948 election that triggered a six-week civil war led by José Figueres Ferrer. The conflict, the bloodiest of the twentieth century in Costa Rica with over 2,000 deaths, ended with a landmark constitution in 1949 that abolished the military and guaranteed universal suffrage.

  6. Modern Democratic Era

    1949 – present

    Under the 1949 constitution, Costa Rica established itself as a stable, demilitarized democracy, with José Figueres winning the first election in 1953. The country diversified its economy beyond agriculture to include technology and tourism, achieving one of the highest standards of living in Latin America. Costa Rica also emerged as a regional peacemaker, with President Óscar Arias Sánchez earning the 1987 Nobel Peace Prize for brokering the Central American peace accords.

Timeline Preview

The first 7 key events. View the full chronology on the timeline page.

  1. 1502

    Christopher Columbus landed on the Caribbean shore of Costa Rica.

    Christopher Columbus landed on the Caribbean shore of Costa Rica on his fourth and last voyage to the New World.

  2. 1540

    Costa Rica becomes part of the vice-royalty of New Spain.

    Costa Rica becomes part of the vice-royalty of New Spain. Throughout the colonial period, Costa Rica remained one of the provinces ruled by the Spanish viceroyalty in Guatemala

  3. 1808

    Coffee plants are first brought to Costa Rica from Cuba.

    Coffee plants are first brought to Costa Rica from Cuba, and coffee quickly becomes the principal crop.

  4. 1821

    Central America declares itself independent from Spain.

    Central America declares itself independent from Spain.

  5. 1823

    Costa Rica joins the United Provinces of Central America.

    Costa Rica joins the United Provinces of Central America with El Salvador, Guatemala, Honduras and Nicaragua.

  6. 1838

    Costa Rica becomes fully independent.

    Costa Rica becomes fully independent.

  7. 1849

    Costa Rica ousts American William Walker, who wanted to extend slavery .

    Costa Rica ousts American William Walker, who wanted to extend slavery to Central American countries in an expression of Manifest destiny. He invaded and named himself president of Nicaragua. Costa Rica, with the help of Guatemala, El Salvador and Honduras, defeated Walker and his supporters with 9,000 soldiers.