Slavery is abolished in Costa Rica.

Costa Rica (UK: , US: (listen); Spanish: [kosta rika]; literally "Rich Coast"), officially the Republic of Costa Rica (Spanish: Repblica de Costa Rica), is a country in Central America, bordered by Nicaragua to the north, the Caribbean Sea to the northeast, Panama to the southeast, the Pacific Ocean to the southwest, and maritime border with Ecuador to the south of Cocos Island. It has a population of around five million in a land area of 51,060 km2 (19,710 sq mi). An estimated 333,980 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 unitary presidential constitutional republic. It has a long-standing and stable 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 62nd in the world as of 2020, 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 also performs well in comparisons of the state of democracy, press freedom and subjective happiness. It has the 7th freest press according to the Press Freedom Index, it is the 37th most democratic country according to the Freedom in the World index and it is the 12th happiest country in the World Happiness Report.

Slavery and enslavement are both the state and the condition of being a slave, who is someone forbidden to quit their service for an enslaver, and who is treated by the enslaver as their property. Slavery typically involves the enslaved person being made to perform some form of work while also having their location dictated by the enslaver. Historically, when people were enslaved, it was often because they were indebted, broke the law, or suffered a military defeat: The duration of their enslavement might be for life, or for a fixed period of time after which their freedom was granted. Individuals, then, usually became slaves involuntarily, due to force or coercion, although there was also voluntary slavery to pay a debt or obtain money for some purpose. In the course of human history, slavery was a typical feature of civilization, and legal in most societies, but it is now outlawed in all countries of the world, except as punishment for crime.In chattel slavery, the enslaved person is legally rendered the personal property (chattel) of the slave owner. In economics, the term de facto slavery describes the conditions of unfree labour and forced labour that most slaves endure.In 2019, approximately 40 million people, of whom 26 percent were children, were enslaved throughout the world despite its being illegal. In the modern world, more than 50 percent of enslaved people provide forced labour, usually in the factories and sweatshops of the private sector of a country's economy. In industrialised countries, human trafficking is a modern variety of slavery; in non-industrialised countries, enslavement by debt bondage is a common form of enslaving a person, such as captive domestic servants, forced marriage, and child soldiers.