Nicaragua occupies 130,373 square kilometers between the Pacific Ocean and Caribbean Sea, making it the largest Central American country by land area. The population reached 6.85 million according to 2023 estimates. Approximately 69 percent identify as mestizo, 17 percent as white, 9 percent as Black or Afro-Caribbean, and 5 percent as indigenous. Spanish serves as the official language, though English Creole predominates on the Caribbean coast and multiple indigenous languages persist in isolated communities. Roman Catholicism claims roughly 50 percent of the population while evangelical Protestantism has grown to approximately 33 percent since the 1990s.
Human habitation in Nicaragua dates to at least 6,000 years ago. Las Huellas de Acahualinca near Managua preserves footprints in volcanic mud that archaeologists date between 2,000 and 6,000 years old. Before Spanish contact, distinct cultural zones existed: Mesoamerican-influenced groups including the Nicarao and Chorotega occupied the Pacific region after migrating southward around 1200 CE, while Chibcha-influenced groups inhabited the Caribbean lowlands. The Nicarao people gave the territory its name. Spanish conquistador Gil González Dávila first explored the Pacific coast in 1522. Francisco Hernández de Córdoba founded Granada in 1524 and León in 1524, establishing permanent Spanish control. Granada holds recognition as the oldest continuously inhabited colonial city on the American mainland.
Colonial Nicaragua remained a backwater within the Captaincy General of Guatemala. The concentration of indigenous population in the Pacific lowlands created a labor base for agriculture, while the Caribbean coast remained beyond effective Spanish control. British influence expanded on the Mosquito Coast during the seventeenth and eighteenth centuries, establishing a protectorate over the Miskito kingdom that persisted until 1894. Nicaragua gained independence from Spain in 1821, briefly joined the Mexican Empire until 1823, then became part of the United Provinces of Central America until that federation collapsed in 1838.
The nineteenth century established patterns that dominated the next 150 years. Political power concentrated between liberal elites in León and conservative elites in Granada, producing frequent armed conflicts. The California Gold Rush from 1849 made Nicaragua a crucial transit route: passengers sailed up the San Juan River, crossed Lake Nicaragua, then traveled overland to the Pacific. American adventurer William Walker exploited liberal-conservative divisions to invade Nicaragua with a private army in 1855, declared himself president in 1856, legalized slavery, and made English an official language before a Central American coalition defeated him in 1857. Coffee cultivation expanded through the highlands after 1860, creating an export economy that enriched landowners while dispossessing peasants.
United States intervention shaped twentieth-century Nicaragua more than any internal force. American Marines occupied the country from 1912 to 1933 to protect American business interests and maintain order. The Bryan-Chamorro Treaty of 1914 gave the United States exclusive rights to build a canal through Nicaragua for $3 million, though the canal was never constructed. Augusto César Sandino led a guerrilla resistance against the American occupation from 1927 to 1933, becoming a symbol of anti-imperialist struggle throughout Latin America. After American withdrawal, National Guard commander Anastasio Somoza García ordered Sandino assassinated in 1934, then seized power in 1936, establishing a family dictatorship that lasted 43 years.
The Somoza dynasty controlled Nicaragua until 1979 through a combination of American support, National Guard repression, and personal ownership of perhaps 25 percent of cultivable land plus major industries. Anastasio Somoza García ruled until his assassination in 1956. His son Luis Somoza Debayle governed until 1963, followed by Anastasio Somoza Debayle who held power directly or through proxies until 1979. The 1972 Managua earthquake that killed approximately 10,000 people exposed regime corruption when the Somoza family diverted international relief aid. Armed opposition coalesced around the Sandinista National Liberation Front (FSLN), founded in 1961 and named after Sandino. The Sandinista insurgency gained broad support after National Guard forces assassinated newspaper editor Pedro Joaquín Chamorro in 1978, triggering an uprising that overthrew Somoza in July 1979.
The Sandinista government under Daniel Ortega implemented literacy campaigns, land reform, and expanded health services during its first years. Literacy rates increased from approximately 50 percent to 88 percent between 1979 and 1981 according to UNESCO figures. The Reagan administration opposed the Sandinista government, enforcing an economic embargo and funding counterrevolutionary forces known as Contras from 1981 through 1989. The conflict killed approximately 30,000 Nicaraguans and devastated the economy. The International Court of Justice ruled in 1986 that American support for the Contras violated international law and awarded Nicaragua $17 billion in reparations, which the United States never paid. Violeta Barrios de Chamorro, widow of the assassinated editor, defeated Ortega in 1990 elections that ended Sandinista rule.