Ecuador, officially the Republic of Ecuador, is a country in northwestern South America, bordered by Colombia on the north, Peru on the east and south, and the Pacific Ocean on the west. It also includes the Galápagos Province which contains the Galápagos Islands in the Pacific, about 1,000 kilometers (540 nmi; 620 mi) west of the mainland. The country's capital is Quito, and the largest city is Guayaquil.
The land that comprises modern-day Ecuador was once home to several groups of indigenous peoples that were gradually incorporated into the Inca Empire during the 15th century. The territory was colonized by the Spanish Empire during the 16th century, achieving independence in 1820 as part of Gran Colombia, from which it emerged as a sovereign state in 1830. The legacy of both empires is reflected in Ecuador's ethnically diverse population, with most of its 17.8 million people being mestizos, followed by large minorities of European, Indigenous, African, and Asian descent. Spanish is the official language spoken by a majority of the population, although 13 native languages are also recognized, including Quechua and Shuar.
One of 17 megadiverse countries in the world, Ecuador hosts many endemic plants and animals, such as those of the Galápagos Islands. In recognition of its unique ecological heritage, the new constitution of 2008 is the first in the world to recognize legally enforceable rights of nature.
Ecuador is a plurinational representative democratic presidential republic and a developing country whose economy is highly dependent on exports of commodities, primarily petroleum and agricultural products. The country is a founding member of the United Nations, Organization of American States, Mercosur, PROSUR, and the Non-Aligned Movement. According to the Center for Economic and Policy Research, between 2006 and 2016, poverty decreased from 36.7% to 22.5% and annual per capita GDP growth was 1.5 percent (as compared to 0.6 percent over the prior two decades). At the same time, the country's Gini index of economic inequality improved from 0.55 to 0.47.
In the 2024 Global Hunger Index (GHI), Ecuador ranks 58th out of 127 countries with a score of 11.6, which indicates a moderate level of hunger. In 2026 the United Nations reported that 2.6 million people in Ecuador are facing acute hunger amid an unprecedented crisis.
Etymology
The country's name means literally "Equator" in the Spanish language, truncated from the Spanish official name, República del Ecuador (lit. "Republic of the Equator"), derived from the former Ecuador Department of Gran Colombia established in 1824 as a division of the former territory of the Royal Audience of Quito. Quito, which remained the capital of the department and republic, is located on the equator.
History
Pre-Inca era
Various peoples had settled in the area of future Ecuador before the arrival of the Incas. The archeological evidence suggests that the Paleo-Indians' first dispersal into the Americas occurred near the end of the last glacial period, around 16,500–13,000 years ago. The first people who reached Ecuador may have journeyed by land from North and Central America or by boat down the Pacific Ocean coastline.
Even though their languages were unrelated, these groups developed similar groups of cultures, each based in different environments. The people of the coast combined agriculture with fishing, hunting, and gathering; the people of the highland Andes developed a sedentary agricultural way of life; and peoples of the Amazon basin relied on hunting and gathering; in some cases, this is combined with agriculture and arboriculture.
Many civilizations arose in Ecuador, such as the Valdivia Culture and Machalilla Culture on the coast, the Quitus (near present-day Quito), and the Cañari (near present-day Cuenca).
In the highland Andes mountains, where life was more sedentary, groups of tribes cooperated and formed villages; thus the first nations based on agricultural resources and the domestication of animals formed. Eventually, through wars and marriage alliances of their leaders, groups of nations formed confederations.
When the Incas arrived, they found that these confederations were so developed that it took the Incas two generations of rulers—Topa Inca Yupanqui and Huayna Capac—to absorb them into the Inca Empire. People belonging to the confederations that gave them the most problems were deported to distant areas of Peru, Bolivia, and north Argentina. Similarly, a number of loyal Inca subjects from Peru and Bolivia were brought to Ecuador to prevent rebellion. Thus, the region of highland Ecuador became part of the Inca Empire in 1463 sharing the same language.
In contrast, when the Incas made incursions into coastal Ecuador and the eastern Amazon jungles of Ecuador, they found both the environment and indigenous people more hostile. Moreover, when the Incas tried to subdue them, these indigenous people withdrew to the interior and resorted to guerrilla tactics. As a result, Inca expansion into the Amazon Basin and the Pacific coast of Ecuador was hampered. The indigenous people of the Amazon jungle and coastal Ecuador remained relatively autonomous until the Spanish soldiers and missionaries arrived in force. The Amazonian people and the Cayapas of Coastal Ecuador were the only groups to resist both Inca and Spanish domination, maintaining their languages and cultures well into the 21st century.
Before the arrival of the Spaniards, the Inca Empire was involved in a civil war. The untimely death of both the heir Ninan Cuyochi and the Emperor Huayna Capac, from a European disease that spread into Ecuador, created a power vacuum between two factions and led to a civil war. The army stationed north headed by Atahualpa marched south to Cuzco and massacred the royal family associated with his brother. In 1532, a small band of Spaniards headed by Francisco Pizarro reached Cajamarca and lured Atahualpa into a trap (battle of Cajamarca). Pizarro promised to release Atahualpa if he made good his promise of filling a room full of gold. But, after a mock trial, the Spaniards executed Atahualpa by strangulation.
Spanish colonization
New infectious diseases such as smallpox, endemic to the Europeans, caused high fatalities among the Amerindian population during the first decades of Spanish rule, as they had no immunity. At the same time, the natives were forced into the encomienda labor system for the Spanish. In 1563, Quito became the seat of a real audiencia (administrative district) of Spain and part of the Viceroyalty of Peru and later the Viceroyalty of New Granada.
The 1797 Riobamba earthquake, which caused up to 40,000 casualties, was studied by Alexander von Humboldt, when he visited the area in 1801–1802.
After nearly 300 years of Spanish rule, Quito still remained small with a population of 10,000 people. On 10 August 1809, the city's criollos called for independence from Spain (first among the peoples of Latin America). They were led by Juan Pío Montúfar, Quiroga, Salinas, and Bishop Cuero y Caicedo. Quito's nickname, "Luz de América" ("Light of America"), is based on its leading role in trying to secure an independent, local government. Although the new government lasted no more than two months, it had important repercussions and was an inspiration for the independence movement of the rest of Spanish America. Today, 10 August is celebrated as Independence Day, a national holiday.
Independence
On 9 October 1820, the Department of Guayaquil became the first territory in Ecuador to gain its independence from Spain, and it spawned most of the Ecuadorian coastal provinces, establishing itself as an independent state. Its inhabitants celebrated what is now Ecuador's official Independence Day on 24 May 1822. The rest of Ecuador gained its independence after Antonio José de Sucre defeated the Spanish Royalist forces at the Battle of Pichincha, near Quito. Following the battle, Ecuador joined Simón Bolívar's Republic of Gran Colombia, also including modern-day Colombia, Venezuela, and Panama. In 1830, Ecuador separated from Gran Colombia and became an independent republic. Two years later, it annexed the Galapagos Islands.
The 19th century was marked by instability for Ecuador with a rapid succession of rulers. The first president of Ecuador was the Venezuelan-born Juan José Flores, who was ultimately deposed. Leaders who followed him included Vicente Rocafuerte; José Joaquín de Olmedo; José María Urbina; Diego Noboa; Pedro José de Arteta; Manuel de Ascásubi; and Flores's own son, Antonio Flores Jijón, among others. The conservative Gabriel García Moreno unified the country in the 1860s with the support of the Roman Catholic Church. In the late 19th century, world demand for cocoa tied the economy to commodity exports and led to migrations from the highlands to the agricultural frontier on the coast.
Ecuador abolished slavery in 1851. The descendants of enslaved Ecuadorians are among today's Afro-Ecuadorian population. Also abolished during this time was indigenous tribute in 1857. Upon this, the indigenous were now equal under the law compared to everyone else. They were now registered as contributors to the nation, and became roles such as property holders, taxpayers, and potential military recruits just as everyone else.
Liberal Revolution
The Liberal Revolution of 1895 under Eloy Alfaro reduced the power of the clergy and the conservative land owners. This liberal wing retained power until the military "Julian Revolution" of 1925. The 1930s and 1940s were marked by instability and emergence of populist politicians, such as five-time President José María Velasco Ibarra.
Loss of claimed territories since 1830
After Ecuador's separation from Colombia on 13 May 1830, its first President, General Juan José Flores, laid claim to the territory that had belonged to the Real Audiencia of Quito, also referred to as the Presidencia of Quito. He supported his claims with Spanish Royal decrees, or real cedulas, that delineated the borders of Spain's former overseas colonies. In the case of Ecuador, Flores based Ecuador's de jure claims on the Real Cedulas of 1563, 1739, and 1740; with modifications in the Amazon Basin and Andes Mountains that were introduced through the Treaty of Guayaquil (1829) which Peru reluctantly signed, after the overwhelmingly outnumbered Gran Colombian force led by Antonio José de Sucre defeated President and General La Mar's Peruvian invasion force in the Battle of Tarqui. In addition, Ecuador's eastern border with the Portuguese colony of Brazil in the Amazon Basin was modified before the Wars of Independence by the First Treaty of San Ildefonso (1777) between the Spanish Empire and the Portuguese Empire. Moreover, to add legitimacy to his claims, on 16 February 1840, Flores signed a treaty with Spain, whereby Flores convinced Spain to officially recognize Ecuadorian independence and its sole rights to colonial titles over Spain's former colonial territory known anciently to Spain as the Kingdom and Presidency of Quito.
Ecuador during its long and turbulent history has lost most of its contested territories to each of its more powerful neighbors, such as Colombia in 1832 and 1916, Brazil in 1904 through a series of peace treaties, and Peru after a short war in which the Protocol of Rio de Janeiro was signed in 1942.
Struggle for independence
During the struggle for independence, before Peru or Ecuador became independent, areas of the former Vice Royalty of New Granada declared themselves independent from Spain. A few months later, a part of the Peruvian liberation army of San Martín decided to occupy the independent cities of Tumbez and Jaén, with the intention of using them as springboards to occupy the independent city of Guayaquil and then liberate the rest of the Audiencia de Quito (Ecuador). It was common knowledge among officers of the liberation army from the south that their leader San Martín wished to liberate present-day Ecuador and add it to the future republic of Peru, since it had been part of the Inca Empire before the Spaniards conquered it. However, Bolívar's intention was to form a new republic known as the Gran Colombia, out of the liberated Spanish territory of New Granada which consisted of Colombia, Venezuela, and Ecuador. San Martín's plans were thwarted when Bolívar descended from the Andes mountains and occupied Guayaquil; they also annexed the newly liberated Audiencia de Quito to the Republic of Gran Colombia.
In the south, Ecuador had claims to a small piece of land beside the Pacific Ocean known as Tumbes. In Ecuador's southern Andes Mountain region where the Marañon cuts across, Ecuador had claims to an area it called Jaén de Bracamoros. These areas were included as part of the territory of Gran Colombia by Bolivar on 17 December 1819, during the Congress of Angostura when the Republic of Gran Colombia was created. Tumbes declared itself independent from Spain on 17 January 1821, and Jaén de Bracamoros on 17 June 1821, without any outside help from revolutionary armies. However, that same year, Peruvian forces participating in the Trujillo revolution occupied both Jaén and Tumbes. Peruvian generals, without any legal titles backing them up and with Ecuador still federated with the Gran Colombia, had the desire to annex Ecuador to the Republic of Peru at the expense of the Gran Colombia, feeling that Ecuador was once part of the Inca Empire.
On 28 July 1821, Peruvian independence was proclaimed in Lima by San Martín, and Tumbes and Jaén, which were included as part of the revolution of Trujillo by the Peruvian occupying force, had the whole region swear allegiance to the new Peruvian flag and incorporated itself into Peru. Gran Colombia had always protested Peru for the return of Jaén and Tumbes for almost a decade, then finally Bolivar after long and futile discussion over the return of Jaén, Tumbes, and part of Mainas, declared war. President and General José de La Mar, who was born in Ecuador, believing his opportunity had come to annex the District of Ecuador to Peru, personally, with a Peruvian force, invaded and occupied Guayaquil and a few cities in the Loja region of southern Ecuador on 28 November 1828.