The cactus that most commonly bears edible fruit is the prickly pear (Opuntia), whose sweet, magenta-fleshed fruits are called tunas in Mexico. Dragon fruit comes from a climbing cactus too, and several other cactus species produce smaller edible berries. Both fruits are easy to recognize once you know what the plant looks like in bloom.

Prickly pear fruit is roughly egg-sized, about 2 to 3 inches (5 to 8 cm) long, and grows at the edges of flat green pads. Dragon fruit is larger, typically 4 to 6 inches (10 to 15 cm) long, and hangs from a long, three-sided stem. The fruit you are most likely to meet at a US grocery store is dragon fruit; prickly pear shows up more often at farmers markets and Latin American groceries.

Know Which Cactus Fruit You Are Looking At

Three cactus fruits account for nearly every cactus fruit you will encounter, and each looks different enough to identify on sight.

Prickly pear (tuna)

Grown on flat, oval pads that stack into a shrubby plant. The fruit sits on the pad's upper edge, often in clusters. Skin color runs from green to yellow to deep red or purple, and the flesh inside matches the skin. Flavor is like watermelon crossed with kiwi, with small hard seeds throughout. The pads themselves are eaten as nopales, a vegetable, so a prickly pear plant gives you two crops.

Dragon fruit (pitaya)

Comes from a vining cactus with triangular stems that climbs a trellis. The fruit is a scaly oval with bright pink or yellow skin and white or red flesh. Flavor is mild and slightly sweet, closer to a soft pear than to a berry. The tiny black seeds are edible and give a light crunch.

Smaller cactus berries

Some column and hedgehog cacti produce small, seedy fruits that ripen in late summer. They are edible but fiddly, mostly used for jelly or eaten out of hand in the field. They are not sold commercially in the US, so treat them as a foraging curiosity rather than a kitchen ingredient.

Harvest Prickly Pear Without Getting Glochids in Your Hands

The tiny hair-like spines called glochids are the real hazard, not the big obvious needles. They detach at a touch, work into skin, and stay irritating for days. Never pick a prickly pear fruit with bare hands, even with thick gardening gloves, because glochids pass through woven fabric.

  1. Wait until the fruit's skin is fully colored and gives slightly when pressed. Green fruit stays sour and never ripens well off the plant.
  2. Use long tongs or leather gloves to twist the fruit off the pad. A quarter turn usually frees it.
  3. Drop fruit straight into a bucket, not a cloth bag, so glochids do not transfer to the fabric.
  4. At home, hold each fruit with tongs under cold running water and scrub the skin with a stiff brush. Do this outdoors or over a sink you can rinse well.
  5. Cut off both ends, score the skin lengthwise, and peel it away with a knife rather than your fingers.

If a glochid does get into your skin, do not rub. Try pressing a strip of tape over the spot and peeling it off, then wash with soap and water. See a doctor if the area becomes hot, swollen or shows signs of infection.

Peel and Cut Dragon Fruit for the Best Texture

Dragon fruit is easiest to eat when it is fully ripe, which means the skin yields to gentle pressure and the scales at the tips have started to dry and brown slightly. A rock-hard fruit will be bland; leave it on the counter for 2 to 3 days to soften.

To cut one, slice off both ends, score the skin from top to bottom in four or five lines, then peel the skin back in strips like a banana. Slice the flesh into 1-inch (2.5 cm) cubes. One medium fruit yields about 1 to 1.5 cups (roughly 150 to 220 g) of cubes. Red-fleshed varieties bleed a strong magenta juice that stains cutting boards and cloth, so use a plastic board and rinse it right away.

Use the Fruit Before It Turns: Storage and Simple Prep

Whole prickly pear keeps about 1 to 2 weeks in the refrigerator crisper drawer, and dragon fruit keeps about 5 to 7 days. Both are best eaten within a few days of ripening, since the flesh turns soft and watery beyond that.

Once peeled and cut, refrigerate the fruit in a covered container and use it within 3 to 4 days. Neither fruit freezes well as cubes because the cell walls break down and the texture goes mushy, but the puree freezes fine in a sealed container for up to 3 months.

Prickly pear is usually cooked down into a syrup or jelly because of the seeds. Simmer 2 cups (about 300 g) of peeled fruit with 1/2 cup (100 g) sugar and 2 tablespoons (30 ml) lemon juice for 10 to 15 minutes, then strain through a fine sieve. The result is about 1 cup (240 ml) of syrup for drinks, yogurt or pancakes. Refrigerate it and use within 1 week. Do not water-bath or pressure-can this syrup at home; refrigerate or freeze it instead.

Dragon fruit needs no cooking. Cube it into fruit salad, blend it into smoothies, or spoon it over yogurt. Its mild flavor disappears in baked goods, so it works better fresh than cooked.

Watch for These Cactus Fruit Mistakes

The most common error is handling prickly pear bare-handed, which turns a pleasant harvest into an hour of tweezers. Wear leather gloves and use tongs for every step until the fruit is peeled.

A second mistake is judging ripeness by size. A large prickly pear can still be green and sour inside; color and slight softness are the reliable signs. Dragon fruit is the opposite trap: a bright pink skin looks ripe but the fruit may still be firm and flavorless, so press it gently before buying.

Finally, do not assume every cactus fruit is sweet. Some ornamental varieties are bred for flowers, not flavor, and their fruit is dry and seedy. If you are buying a plant to grow for fruit, ask for a named fruiting variety rather than a decorative one.

Grow a Fruiting Cactus in a Warm, Sunny Spot

Prickly pear is hardy in USDA zones 8 to 11 and needs at least 6 hours of direct sun a day plus sharply draining soil, such as a mix with half grit or pumice. Water deeply but infrequently, letting the soil dry completely between waterings. In containers, use a pot with a drainage hole and move it indoors before the first hard freeze.

Dragon fruit needs warmth year-round and is usually grown in a large pot in zones below 9, brought inside for winter. Give it a sturdy trellis, since the stems can reach 10 feet (3 m) or more, and keep it in full sun. Both plants flower in warm weather and fruit follows within a few months. Wear gloves whenever you handle them, and keep both out of reach of children and pets, since the spines and glochids cause injury.