When Did the First Cactus Evolve and How Did They Adapt?

The earliest cacti appeared roughly 30 million years ago, during the mid-Tertiary period, when the Americas were warmer and wetter than they are today. That estimate comes from a combination of DNA evidence and the fossil record, and it places cactus origins well before the great American deserts existed. The family’s later explosion in diversity happened as those deserts took shape, making cacti one of the clearest examples of a plant lineage that rode a changing climate to spectacular success.

Pinning Down the Timeline

Determining exactly when cacti first appeared is tricky because they don’t fossilize well. Fleshy, water-filled stems decompose quickly, and the few cactus fossils that exist are mostly seeds and pollen. Researchers have relied heavily on molecular clock methods, using the rate at which DNA accumulates mutations to estimate when lineages split apart. A synthesis of nuclear DNA sequences (from a region called ITS), chloroplast DNA, and physical traits pointed to an origin around 30 million years ago, with the family’s big diversification happening later in the Tertiary as American deserts expanded.1Taxon. On the evolutionary origins of the cacti

That 30-million-year figure isn’t universally agreed upon. Some analyses have pushed the origin back somewhat further, and others have suggested a slightly younger date, depending on which genes are sampled and how the molecular clock is calibrated. But the broad consensus places the family’s emergence somewhere in the Oligocene to early Miocene, long after the dinosaurs were gone but well before the modern landscape of the Sonoran or Atacama deserts existed.

The Closest Living Relatives

If you want to understand where cacti came from, look at their nearest cousins. Molecular studies consistently place cacti inside a broader group of succulent and semi-succulent plants in the order Caryophyllales. For years, the purslane family (Portulacaceae) was considered the sister group. More recent work, using chloroplast and mitochondrial DNA, found that a small group of plants called the Anacampseroteae is actually the closest living relative of all cacti.2PubMed. The closest relatives of cacti: insights from phylogenetic analyses of chloroplast and mitochondrial sequences with special emphasis on relationships in the tribe Anacampseroteae Anacampseroteae are modest, ground-hugging succulents found mostly in southern Africa and the Americas. They share some features with cacti, such as fleshy tissues and a tendency toward drought tolerance, but they never developed the full cactus body plan.

Studies using larger datasets, including transcriptome and hybrid enrichment data, have refined this picture further, placing Portulacaceae and Anacampserotaceae together in a clade that is sister to Cactaceae.3Journal of Heredity. Phylogenetic Relationships and Evolutionary Trends in the Cactus Family The practical upshot: the ancestors of cacti were already somewhat succulent before the cactus lineage split off. They didn’t go from ordinary thin-leaved plant to barrel cactus in a single leap. They started from a body plan that was already partway down the road to drought tolerance.

Pereskia and the First Cacti

The best living window into what early cacti looked like is the genus Pereskia, a group of about 17 species that look nothing like what most people picture when they hear “cactus.” Pereskia species are trees or shrubs with broad, flat leaves, thin woody stems, and no obvious succulence. They do, however, have areoles, the small cushion-like structures unique to cacti from which spines emerge. That single shared trait places them firmly inside the cactus family, at its base.

Physiological studies of Pereskia guamacho, a leafy cactus from tropical dry forests, reveal a plant that uses the normal C3 photosynthesis pathway during the rainy season but can switch to a form of crassulacean acid metabolism (CAM) during prolonged drought, opening its stomata at night instead of during the day to reduce water loss.4PubMed. Ecological physiology of Pereskia guamacho, a cactus with leaves This facultative, drought-induced CAM behavior suggests that the metabolic toolkit for surviving dry conditions was already present in the earliest cacti, even before the stems became swollen and the leaves disappeared. It wasn’t an all-or-nothing switch; the ancestral capacity for nighttime carbon fixation was there to be ramped up as conditions demanded it.

Pereskia guamacho also has very low stomatal density on its leaves and keeps water use tightly controlled, maintaining high leaf water potentials year-round.4PubMed. Ecological physiology of Pereskia guamacho, a cactus with leaves Even before the dramatic physical transformations that define modern desert cacti, the lineage was already conservative with water at the cellular level.

From Leafy Shrub to Swollen Stem

The transition from a Pereskia-like ancestor to the barrel-shaped, columnar, or pad-shaped cacti we recognize today involved a series of gradual changes rather than a sudden reinvention. Research on functional morphology shows that shifts in two geometric properties of the stem, compaction (how tightly the tissue is packed) and the divergence angle (the spiral pattern in which new growth units emerge), can explain much of the evolutionary transition from primitive woody, leafy plants to the succulent stem shapes found across the family.5Journal of Arid Environments. Functional morphology and evolution of stem succulence in cacti

As stems grew thicker and fleshier, leaves became progressively smaller and eventually vestigial. The photosynthetic burden shifted from leaves to the green outer cortex of the stem, which is packed with chloroplasts. At the same time, the internal architecture of the stem changed. The pith and cortex expanded to accommodate water-storage tissue, a spongy matrix of large, thin-walled cells that can soak up rainfall like a reservoir and then slowly release it during drought.

The ribs and tubercles that run along most cactus stems are not just ornamental. They function like accordion pleats, letting the stem expand when water is abundant and contract during dry spells without tearing the outer skin. Theoretical analysis of surface-to-volume ratios shows that having roughly 8 to 15 ribs, each about as tall as the inner stem’s radius, provides large water-storage capacity with a moderate increase in surface area, striking a balance between holding water and not losing too much of it to evaporation.6American Journal of Botany. Theoretical aspects of surface‐to‐volume ratios and water‐storage capacities of succulent shoots Plants with many low ribs are best suited to places where droughts are short, while very tall ribs offer greater expandability but at the cost of more exposed surface.

Spines, Areoles, and the Question of Modified Leaves

Cactus spines are one of the family’s most recognizable features, but what exactly they are, developmentally speaking, has been debated for over a century. The areole, a structure unique to cacti, is the small pad-like organ from which spines, flowers, and new branches emerge.7PubMed Central. How and why does the areole meristem move in Echinocereus (Cactaceae)? Early histological studies proposed that areoles are modified axillary buds and that spines are modified leaves. That interpretation made intuitive sense: if the ancestor had leaves at each node, the spines might simply be what those leaves became as the plant no longer needed flat photosynthetic surfaces.

More recent developmental work on saguaro seedlings complicates this neat story. Detailed observations of the shoot tip confirm the absence of clear leaf-like structures and the presence of a distinct type of growth organ that, while hypothesized to be foliar in origin, lacks definitive leaf features.8PubMed Central. Are Cactus Spines Modified Leaves? Morphological and Anatomical Characterization of Saguaro Seedlings (Carnegiea gigantea) with Special Focus on Aerial Organ Primordia The upshot is that calling spines “modified leaves” is a reasonable shorthand, but the developmental reality is murkier than textbooks suggest. Whatever their precise origin, spines serve multiple survival functions: they shade the stem, reduce air movement across the surface (which slows evaporation), deter herbivores, and in some species even channel dew or fog droplets toward the base of the plant.

Why the Deserts Mattered

Having an ancestor that was already somewhat drought-tolerant was necessary but not sufficient to explain the cactus family’s remarkable radiation into more than 1,500 species. The environmental push came from global climate changes during the Miocene and into the Pliocene. As atmospheric carbon dioxide levels fell and temperatures in much of the Americas dropped, arid and semi-arid environments expanded dramatically. A large-scale analysis of the world’s major succulent plant lineages found that this global expansion of aridity provided new ecological opportunity for succulents, and that lowered CO₂ would have worsened water stress for plants in marginally dry areas, giving already-adapted succulents a sharp competitive advantage and promoting rapid diversification.9PubMed Central. Contemporaneous and recent radiations of the world’s major succulent plant lineages

This is a key point: cacti didn’t simply tolerate deserts. They thrived because the combination of declining CO₂ and spreading aridity penalized plants that relied on conventional photosynthesis and transpiration, while rewarding plants that had already evolved water-conserving tricks. The playing field tilted in their favor, and they filled the newly open ecological space with an astonishing range of forms, from tiny button-shaped species a few centimeters across to towering columnar giants.

How the Stem Holds Itself Up

When your body plan is a column of water-filled tissue that can stand several meters tall, structural engineering matters. Large columnar cacti like the cardón (Pachycereus pringlei), which can reach heights of nearly 6 meters, solve this problem with a combination of wood and ribs. Detailed mechanical tests on specimens up to 5.9 meters tall showed that the stiffness of internal wood strands increases toward the base of the plant, where bending forces are greatest, and that the accumulation of wood causes the wood’s overall contribution to mechanical stability to increase exponentially from tip to base.10American Journal of Botany. Biomechanics of the columnar cactus Pachycereus pringlei

In the younger upper portions of the stem, where less wood has accumulated, the fleshy outer ribs themselves serve as the principal stiffening agents. This two-tier system, with ribs carrying the load near the top and wood near the base, lets a columnar cactus grow tall without sacrificing the water-storing bulk that is its whole survival strategy. It also explains why young cacti are soft and pliable while old ones feel almost rock-hard at the base.

Below-Ground Strategies

Most attention goes to the above-ground spectacle of cacti, but what happens underground is equally important. Desert plants in general have evolved specialized root systems, and cacti are no exception. Many species produce shallow, widely spreading roots that sit just below the soil surface, positioned to intercept even brief rainfalls before the water evaporates. Cacti have evolved determinate root meristems, meaning their root tips stop growing after reaching a set point, which promotes a branched, compact root architecture ideal for rapid water uptake during short wet windows.11PubMed Central. Rooting in the Desert: A Developmental Overview on Desert Plants

Some cacti go further. Discocactus placentiformis, a species that grows in nutrient-poor soils in Brazil, has no mycorrhizal associations, the fungal partnerships that most plants use to scavenge phosphorus. Instead, it forms a sand-binding root specialization and exudes organic acids, predominantly oxalic acid, that chemically dissolve phosphorus out of the soil.12SpringerLink / Oecologia. Convergence of a specialized root trait in plants from nutrient-impoverished soils: phosphorus-acquisition strategy in a nonmycorrhizal cactus When phosphorus supply drops, the plant ramps up acid exudation. This chemical mining strategy is more commonly associated with plants from ancient, nutrient-leached soils in Australia and South Africa, so finding it in a cactus highlights how adaptable the family has been, independently evolving solutions that have appeared in unrelated lineages on other continents.

Waxy Armor and Surface Protection

The epidermis of a cactus is far from a passive barrier. Most species are coated in a layer of epicuticular wax, a hydrophobic coating that reduces water loss through the skin and reflects excess solar radiation. Scanning electron microscopy of prickly pear cladodes (Opuntia streptacantha) at different growth stages shows amorphous wax particles covering the surface at every stage of maturation.13Journal of the Professional Association for Cactus Development. Extraction and thermal characterization of epicuticular wax from Opuntia streptacantha at different stages of maturation The wax layer serves double duty: it slows cuticular transpiration (water escaping through the skin rather than through stomata) and shields underlying tissues from ultraviolet damage. Some species also develop a thick cuticle underneath the wax, adding another barrier. Together, these surface defenses mean that a well-adapted cactus can lose remarkably little water through its skin even when air temperatures exceed 40 °C.

Look-Alikes on Other Continents

Cacti are almost exclusively New World plants. Yet walk through the arid parts of southern Africa, and you’ll see plants that look eerily similar: round, spiny, leafless succulents sitting in rocky soils. These are members of the ice-plant, spurge, and milkweed families, not cacti at all. The resemblance is a textbook example of convergent evolution, with unrelated lineages arriving at similar body plans under similar environmental pressures. Quantitative work comparing the environments occupied by globular cacti in the Americas with those of their African counterparts found that, while the physical resemblance is striking, the environmental similarity between these groups had never been rigorously tested from a quantitative perspective.14Annals of Botany. To converge or not to converge in environmental space: testing for similar environments between analogous succulent plants of North America and Africa In other words, the assumption that these plants live in identical conditions because they look alike may be an oversimplification. Convergent shape doesn’t necessarily mean convergent habitat, which raises interesting questions about how tightly form tracks function versus how much chance and historical contingency matter.

Gene Duplication and Genomic Clues

At the molecular level, the origin of the cactus family was accompanied by a wave of gene duplications. An analysis of the broader Portulacineae group, the lineage that includes cacti and their closest relatives, identified a large number of gene duplications, with about 7.3 percent of gene families showing duplications at the origin of Cactaceae.15Molecular Biology and Evolution. Evolution of Portulacineae Marked by Gene Tree Conflict and Gene Family Expansion Associated with Adaptation to Harsh Environments Gene duplication is one of evolution’s favorite ways to innovate: one copy of a gene keeps doing its original job while the other is free to take on new functions. Whether these duplications directly enabled specific cactus adaptations like enhanced water storage or CAM photosynthesis is still being investigated, but the timing is suggestive. The expanded gene families in Portulacineae are broadly associated with adaptation to harsh environments.

Cacti and People

Humans have been interacting with cacti for thousands of years, and in some cases those interactions have shaped the plants’ evolution. The prickly pear Opuntia ficus-indica, now cultivated for its fruit and pads across arid regions worldwide, was domesticated in central Mexico. Molecular evidence points to a group of tree-like, fleshy-fruited prickly pears from central and southern Mexico as its closest wild relatives, and the domesticated species may actually include clones derived from multiple independent lineages, making it polyphyletic in the strict taxonomic sense.16PubMed. The origins of an important cactus crop, Opuntia ficus-indica (Cactaceae): new molecular evidence Ancient cultivation and naturalization have so thoroughly scrambled the plant’s geographic range that its original wild distribution is no longer clear.

Domestication has also left measurable marks on other cactus species. Studies of the columnar cactus Stenocereus stellatus in the Tehuacán Valley of Mexico compared wild, in-situ managed, and fully cultivated populations. Cultivated populations showed higher levels of herbivore and pathogen damage, lower resistance to that damage, and lower genetic diversity compared to their wild counterparts.17Genetic Resources and Crop Evolution. Evolution under domestication of correlated characters in populations of Stenocereus stellatus (Pfeiff.) Riccob., under different forms of management in central Mexico: genetic diversity, damage, and defense mechanisms Human selection for traits like larger fruits inadvertently weakened the plants’ defenses, a pattern well known in crop domestication but documented here in a group of plants whose relationship with people often gets overlooked. The Tehuacán Valley itself is one of the world’s richest hotspots for cactus diversity, and the interplay between wild populations and millennia of human management makes it a living laboratory for understanding how domestication reshapes a lineage in real time.

Catherine Hedlund

Catherine Hedlund is a public educator at a metropolitan botanical garden, where she organizes school visits and classes on plant diversity. She managed children's greenhouse workshops for a municipal park system and has a BS in Horticulture. Hedlund is certified as an Extension Master Gardener.