The Mexican War of Independence (1810–1821) didn't erupt overnight. It was the culmination of centuries of mounting frustration under Spanish colonial rule. By the early 19th century, a convergence of economic, social, political, and intellectual forces had created a powder keg ready to explode.
Spain maintained a stranglehold on Mexico's economy through the comercio libre system, which restricted trade to Spanish ports and merchants. Mexican producers—whether indigenous farmers, mestizo artisans, or Creole landowners—were forced to sell raw materials at depressed prices to Spanish buyers and purchase manufactured goods at inflated costs. The repartimiento system compelled indigenous communities to provide labor for Spanish enterprises, while crushing taxation (tributo) kept native populations in perpetual poverty. Meanwhile, the Crown siphoned vast silver wealth from mines like Zacatecas and Guanajuato directly to Madrid.
Colonial society was stratified by race and birthplace. At the apex stood peninsulares—Spaniards born in Spain—who monopolized high government posts, ecclesiastical positions, and military commands. Below them were criollos (American-born Spaniards), wealthy but politically excluded. Mestizos (mixed Spanish-indigenous ancestry) and mulatos (mixed African-European) occupied a precarious middle, while indigenous peoples and enslaved Africans formed the exploited base. This sistema de castas denied upward mobility regardless of talent or wealth.
Mexico had zero representation in the Spanish Cortes. All authority flowed from Madrid through viceroys and audiencias staffed by peninsulares. Local cabildos (town councils) offered limited self-governance but were dominated by Spanish loyalists. The 1808 Napoleonic invasion of Spain—when Napoleon installed his brother Joseph on the Spanish throne—shattered the legitimacy of colonial authority, creating a crisis of sovereignty that criollos exploited.
The Catholic Church, hand-in-glove with the Crown, systematically dismantled indigenous spiritual practices, languages, and educational systems. Franciscan and Jesuit missions functioned as instruments of cultural assimilation. While Christianity took root, it was a top-down imposition that eroded native identity and fueled resentment.
Works by Locke, Rousseau, and Voltaire circulated clandestinely among educated criollos, challenging divine-right monarchy. The American Revolution (1776) and Haitian Revolution (1791–1804) proved colonial independence was achievable. When Napoleon occupied Spain in 1808, the resulting power vacuum allowed Mexican elites to form juntas claiming loyalty to the deposed Ferdinand VII while effectively governing themselves—a rehearsal for full independence.
Criollos like Miguel Hidalgo, José María Morelos, and Agustín de Iturbide led the independence movement. Their grievance was specific: they wanted the political power their wealth and education warranted but which the caste system denied them. They initially sought autonomy within the empire; only when reform proved impossible did they pursue total separation.
By 1810, these pressures ignited Hidalgo's Grito de Dolores. Eleven years of warfare later, the Treaty of Córdoba recognized Mexican sovereignty—a victory forged from centuries of accumulated injustice.