The conflict between Mexico and the United States in the 1830s and 1840s stemmed from a convergence of territorial ambition, disputed boundaries, and ideological fervor. Three key factors drove the two nations toward war.
After winning independence from Spain in 1821, Mexico established a federal republic. In 1836, Texas declared its own independence and functioned as a sovereign republic for nearly a decade. When the U.S. annexed Texas in 1845, Mexico viewed the move as a direct act of war, having never recognized Texan sovereignty.
The boundary between the two countries was never clearly settled. The United States claimed the Rio Grande as the southern border, while Mexico insisted the border lay farther north at the Nueces River. The contested strip of land between the two rivers became a flashpoint, with American settlers and Mexican ranchers clashing over territory and resources.
The widely held belief that the U.S. was destined to expand across the North American continent—Manifest Destiny—fueled public and political support for annexation and, ultimately, war. Expansionists saw Mexican territory as a natural extension of American democracy and economic opportunity.
These tensions culminated in the Mexican–American War (1846–1848), which resulted in Mexico ceding vast territories—including present-day California, Nevada, Utah, Arizona, and New Mexico—to the United States under the Treaty of Guadalupe Hidalgo.