edgi

CoffeaThe plant that makes caffeine to poison bugs

Coffea is a genus of tropical flowering shrubs and trees in the madder family, Rubiaceae. Its seeds, commonly known as coffee beans, are roasted and ground to create the global coffee supply. The plant naturally produces caffeine in its seeds and leaves to paralyze plant-eating insects, while using it in flowers to help pollinators remember its scent.

By the edgi team We find the most surprising true thing about an idea and build a 60-second lesson around it.

Coffea lesson Play the 60-second lessonThe coffee plant makes caffeine to poison insects, and puts a trace in its nectar so bees remember its flowers.

The toxic defense

The caffeine in your morning cup isn't a gift for humans. It's a pesticide. The Coffea genus produces caffeine in its seeds and leaves specifically to paralyze and kill insects that try to eat them.

The arms race

Different species evolved different levels of defense. The hardier Coffea canephora, or Robusta, evolved nearly double the caffeine of its cousins. It had to. Robusta grows in pest-ridden lowlands where the defense needs to be stronger to survive.

A composite image shows a branch of Coffea canephora with leaves and small flowers, alongside an inset of a single flower and a label identifying it as "COFFEA ROBUSTA CAFEIRO ROBUSTA COFFEE RUBIACEAE AFRICA OCCIDENTAL."
A composite image shows a branch of Coffea canephora with leaves and small flowers, alongside an inset of a single flower and a label identifying it as "COFFEA ROBUSTA CAFEIRO ROBUSTA COFFEE… CC BY-SA 3.0, via Wikimedia Commons

The dancing goats

Legend traces our discovery to 9th-century Ethiopia. A goat herder named Kaldi reportedly noticed his flock dancing after eating bright red coffee cherries. He tried the fruit himself, and the modern global coffee industry was born from that first accidental buzz.

A scenic view of the Ethiopian Highlands, featuring basalt formations and a goat standing on a rocky outcrop in the foreground. The landscape shows rolling hills, green valleys, and distant mountains under a cloudy sky.
A scenic view of the Ethiopian Highlands, featuring basalt formations and a goat standing on a rocky outcrop in the foreground. CC BY-SA 2.0, via Wikimedia Commons

What is a coffee cherry?

A coffee cherry is the red or purple fruit produced by a Coffea tree, taking about nine months to ripen. Despite common culinary terms, the plant produces neither true cherries nor true beans. Botanically, the fruit is an edible epigynous berry or indehiscent drupe, and the coffee beans inside are its seeds.

A cross-section of a Coffea fruit, or coffee cherry, held between two fingers, reveals the inner structure including the coffee beans.
A cross section shows the interior of a coffee fruit, displaying the twin seeds known as coffee beans. Michael.C.Wright, CC BY-SA 4.0, via Wikimedia Commons

Most coffee cherries develop with two seeds nestled together. In about 5% to 10% of fruits, only a single, rounder seed forms, known as a peaberry. Beyond the roasted beans, the sweet surrounding fruit and leaves also contain caffeine and are used to brew fruit and leaf teas.

Which Coffea species do we drink?

The global coffee trade relies almost entirely on just two of the more than 130 recognized species: Coffea arabica and Coffea canephora. Arabica makes up about 55% of world production and is prized for its sweeter flavor, while canephora, also called Robusta, makes up roughly 45% and carries higher caffeine levels.

A close-up photograph displays freshly harvested coffee cherries, predominantly red and purple, mixed with green and yellow leaves.
Freshly harvested red coffee cherries contain the seeds destined for roasting and brewing. PilotChicago, CC BY-SA 4.0, via Wikimedia Commons

Arabica originated in the highlands of Ethiopia and the Boma Plateau of Sudan as a natural hybrid of Coffea canephora and Coffea eugenioides. Cultivated trees usually grow 3 to 3.5 meters tall, begin fruiting within three to five years, and can continue producing crops for 50 to 100 years.

How did coffee evolve caffeine?

Coffee plants make caffeine using a completely different set of genes from tea or cacao plants, showing that the chemical evolved independently across different plant families. The earliest Coffea species carried little to no caffeine.

A dense cluster of white coffee flowers blooms on a coffee plant, surrounded by dark green leaves.
Scented white flowers bloom in clusters, using trace caffeine to help pollinating bees remember their location. Marcelo Corrêa, CC BY-SA 3.0, via Wikimedia Commons

The trait evolved across separate lineages in Africa, likely as a response to heavy insect predation in humid lowlands. While toxic to pests like the coffee borer beetle and leafminer, caffeine also creates an olfactory memory in honeybees, signaling them to return to the plant's white, scented flowers.

Test yourself

Why does Coffea produce caffeine in its leaves and seeds?

To deter insects that eat the plant. Caffeine evolved as a chemical defense against insect pests, not as a stimulant for humans.

Why might Coffea canephora benefit from producing more caffeine?

It grows where pest pressure is higher. Stronger insect defenses can help Coffea canephora survive in pest-ridden lowlands.

In Coffea, what does caffeine do as a plant defense?

It harms insects that eat the plant. Coffea produces caffeine in its seeds and leaves to paralyze and kill insects that eat them.

Collectible card

Claim the Coffea card

Play the lesson in edgi and the card is yours. It lands on your Map next to the ideas it connects to, and turns from matte to foil to gold as you learn more around it.

Questions people ask

Are there any naturally decaffeinated Coffea species?

Yes. Researchers discovered Coffea charrieriana in Cameroon in 2008, which is completely caffeine-free. Crossing this wild species with commercial coffee plants could allow growers to produce naturally decaffeinated beans.

Where did the Coffea genus originate?

Coffea species are native to tropical and southern Africa, tropical Asia, and Australasia. Genetic studies suggest the ancestral origin of the genus lies in Africa or Asia, followed by radiations into the Western Indian Ocean Islands.

What climate conditions do coffee plants need?

Most cultivated coffee species thrive at high elevations in the tropics. They are sensitive to freezing temperatures and are vulnerable to shifts in their growing zones caused by climate change.

Part of the Set · 8 cards

What Caffeine Is Actually Doing to You

From a shrub in Ethiopia to the drug 2 billion people take daily.

  1. Coffee
  2. CoffeaReading now
  3. Coffee Bean
  4. Caffeine
  5. Espresso
  6. Cold brew coffee
  7. Decaffeination
  8. Instant Coffee
Learn the whole Set

Where this leads