In the center of the Mexican flag is an image: a golden eagle, perched on a nopal cactus, devouring a serpent. The cactus is the nopal — Opuntia ficus-indica, the same plant that produces the pads eaten as nopales and the fruit pressed for cactus water. It is, as far as historians can tell, the only plant ever placed at the center of a national flag.

The image is older than Mexico itself. It is, by the country's own account, a depiction of the founding of its capital city — a place called Tenochtitlan, in the year 1325, on a small island in the middle of a lake.

The founding myth

The story comes from the Aztec creation tradition, recorded in sixteenth-century codices that drew on oral histories.

The Mexica — the people who would later be called Aztec — were a nomadic group from somewhere north of the Valley of Mexico (the mythical homeland was called Aztlán; its real location is debated). For generations they wandered, looking for the place their patron god, Huitzilopochtli, had told them to settle.

The sign would be unmistakable. Huitzilopochtli told them: when you see a great eagle perched on a nopal cactus, devouring a serpent, that is the place. Build a city there.

After roughly two centuries of wandering, the Mexica arrived at Lake Texcoco. On a small marshy island near the western shore, they saw it: the eagle on the nopal, holding a serpent in its beak. They built their city on that spot. They called it Tenochtitlan — from the Náhuatl tetl (rock) and nochtli (prickly pear cactus): "place of the prickly pear cactus on the rock."

Within two centuries, Tenochtitlan was one of the largest cities in the world — perhaps 200,000 people, larger than any contemporary European capital. When Spanish conquistadors arrived in 1519, they described it in letters as a city more remarkable than anything they had seen in Spain.

What the image meant to the Mexica

The mythological image worked on several layers:

  • The eagle was associated with Huitzilopochtli himself, and with the sun. It represented divine sanction of the city's founding.
  • The serpent carried complicated meanings — sometimes evil defeated, sometimes wisdom consumed, sometimes simply the union of earth and sky.
  • The nopal cactus was the rooted, fertile thing the eagle stood on. It was also a practical reality: nopal grew abundantly in the Valley of Mexico, fed people, provided water, and tolerated the drought-prone, salt-rich soils around the lake. The cactus was both sacred symbol and central to daily life.

In the Mendoza Codex, an early colonial-era manuscript that records Aztec history and tribute lists, the founding scene is depicted explicitly: the eagle on the nopal, framed by water, with shields and arrows beneath — the founding warriors. The image was the city's glyph, the way Tenochtitlan was identified in Aztec writing.

From conquest to flag

After the Spanish conquest in 1521, Tenochtitlan was destroyed and rebuilt as Mexico City — capital of the Spanish viceroyalty of New Spain. The eagle-on-cactus image was preserved through the colonial period, partly because the Spanish administration tolerated indigenous heraldic continuity and partly because the image had become a marker of place rather than purely a religious icon.

When Mexico declared independence from Spain in 1810 and began the process of becoming a republic, the founders needed a national symbol. The eagle-on-cactus had three things going for it:

  1. It was indigenous, not Spanish — important after a war of independence
  2. It was already understood as the symbol of the capital
  3. It connected the new nation to a continuous history reaching back to the founding of Tenochtitlan

The first Mexican flag, adopted in 1821, placed the eagle on the nopal at center, with a crown above the eagle's head (Mexico was, at that brief moment, a monarchy under Agustín de Iturbide). When the monarchy fell and Mexico became a republic in 1823, the crown came off; the eagle, the cactus, and the serpent stayed.

How the image has evolved

The flag's central emblem has been redrawn repeatedly across two centuries. Each version reflects something about the Mexico that designed it.

  • 1821-1823 (Iturbide): Eagle facing right with a crown, perched on a stylized nopal.
  • 1823-1864 (early republic): Crown removed. Eagle facing left, no serpent in early versions, then with serpent restored.
  • 1864-1867 (Maximilian): Heraldic European-style eagle with imperial regalia. Brief and unpopular.
  • 1867-1916 (post-Maximilian republic): Return to a more realistic eagle, now consistently with serpent.
  • 1916-1968 (Carranza period): Profile eagle, more stylized cactus, symmetrical composition.
  • 1968-present: The current design, by Francisco Eppens Helguera, unifies the proportions and the cactus's botanical accuracy.

The current design shows the cactus in profile, with multiple pads clearly visible, the fruit (tunas) prominent on the upper edges. It's the most botanically faithful version in two centuries — close enough to a real Opuntia ficus-indica that you could identify the species from the flag alone.

Why this matters for the cactus

The nopal's place on the flag is not symbolic decoration. It reflects the plant's actual centrality to Mexican civilization across nine millennia. Archaeological sites in central Mexico contain Opuntia pollen and fruit remains dating back at least to 7,000 BCE. The plant fed the people who built the pyramids of Teotihuacán; the Toltec empire that followed; the Mexica who built Tenochtitlan; the colonial populations that descended from all of them; modern Mexico.

Three things sustain that long relationship:

  • Productivity in marginal land. Opuntia grows in soils where almost nothing else productive will grow. It's drought-tolerant, cold-tolerant, and improves the soil it sits in over time. For an agricultural civilization in central Mexico's variable climate, that mattered.
  • Multi-purpose harvest. The pads are a vegetable. The fruits are a sweet, hydrating snack and a juice base (the modern bottled cactus water is the latest expression of an ancient practice). The pads also yield a soluble fiber used in everything from food thickening to wound dressings. The plant hosts the cochineal insect, which produces the most prized red dye in the pre-industrial world.
  • Symbolic continuity. The cactus was already sacred to the Mexica before Christian arrival. After conversion, it remained acceptable as a national emblem because it was a plant — useful in daily life, not specifically religious in any troublesome way to the Spanish church.

The flag, then, is not telling Mexicans what to think of a cactus. It is telling the world what Mexicans already think of one.

A small irony

The Spanish, when they encountered nopal in 1519, did not know what to make of it. They wrote about it in their letters as a strange thing the natives ate. Within a century, they had carried the plant across the Atlantic to North Africa, the Mediterranean, and as far as India, where it became a successful cash crop — first for cochineal dye production, later for fruit and fodder.

Today, nopal grows on every inhabited continent. Most of the prickly pear cultivated for fruit outside Mexico originally came from cuttings the Spanish moved during the 1500s and 1600s. The plant on the Mexican flag is also one of the most successful colonizing crops in human history.

Bottom line

The nopal cactus is on the Mexican flag because the city of Tenochtitlan was founded on the spot where, by the founding myth, an eagle stood on a nopal devouring a serpent. The image dates to 1325, predates the modern nation by nearly five hundred years, and reflects the plant's actual nine-thousand-year role in feeding, sustaining, and symbolizing the people of central Mexico.

When you eat a nopalito or drink a glass of cactus water, you're participating in the same food culture that put the plant on a national flag. To go deeper on what to do with the plant in a kitchen, see How to Clean and Prepare Nopal Pads. For the modern bottled-juice version, What is Cactus Water? is the place to start. For the full nutritional case, the evidence-based benefits piece covers what the plant does.