edgi

Coffee BeanThe fruit seed loaded with insect defense

A coffee bean is not a true bean, but the seed of a fruit called a coffee cherry grown on the Coffea plant. Most cherries contain two seeds pressed flat against each other, consisting primarily of endosperm. The plant fills these seeds with caffeine as a natural neurotoxin to paralyze or kill insects that attempt to eat its fruit.

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

Coffee Bean lesson Play the 60-second lessonA coffee bean is a seed, one of two in a red fruit. Roasting makes its taste and barely touches its caffeine.

Not a bean

Coffee is not a bean. It is the pit of a fruit called a coffee cherry. Inside every cherry, you usually find two seeds pressed flat against each other.

A cross-section of a coffee cherry held between two fingers, revealing the internal structure of the fruit. The red outer skin, yellow pulp, and two green coffee beans (seeds) encased in parchment are visible.
A cross-section of a coffee cherry held between two fingers, revealing the internal structure of the fruit. Michael.C.Wright, CC BY-SA 4.0, via Wikimedia Commons

We call them beans only because they happen to look like legumes.

The chemical war

The caffeine you crave is actually a potent neurotoxin produced by the Coffea plant. The plant packs the seeds with this chemical to paralyze or kill insects that try to eat its fruit.

A ball-and-stick representation of the caffeine molecule (C8H10N4O2), showing carbon atoms in black, oxygen in red, nitrogen in blue, and hydrogen in white. The molecule features a fused ring system with methyl groups attached.
A ball-and-stick representation of the caffeine molecule (C8H10N4O2), showing carbon atoms in black, oxygen in red, nitrogen in blue, and hydrogen in white. Jynto (talk), CC0, via Wikimedia Commons

Humans are essentially the only species that learned to take a plant's defensive artillery and turn it into a breakfast drink.

The oddity

Sometimes, a cherry only develops one seed instead of two. This round, lonely seed is called a peaberry.

Roasters once tossed them out as defects. Today, they are sold as a premium product because their shape promotes more even heat distribution.

The transformation

Raw coffee seeds are bitter, green, and essentially inedible. Roasting triggers the Maillard reaction, a complex chemical process that breaks down those harsh defenses and creates the aroma we love.

Six clear plastic bags display the color progression of coffee beans during the roasting process, from green to very dark brown. The bags are labeled with roasting stages and percentage loss: "Grn Nat Green 0%", "Yellow 3% loss", "1st 10% loss", "1st 11% loss", "Nat 2nd 15% loss", and "Nat 2nd 19% loss".
Six clear plastic bags display the color progression of coffee beans during the roasting process, from green to very dark brown. Nachotacl, CC BY-SA 4.0, via Wikimedia Commons

Your morning cup is a feat of culinary chemistry.

What is inside a coffee cherry?

A typical coffee cherry contains two flat-sided seeds facing each other. Around 10% to 15% of all coffee cherries develop a single, rounded seed known as a peaberry.

Like white rice and Brazil nuts, coffee beans consist mostly of endosperm, the nutrient tissue that feeds a plant embryo. Raw seeds are green, bitter, and inedible until heat triggers the Maillard reaction, which breaks down harsh compounds and creates the final flavor.

Arabica vs. Robusta

Two species dominate global production: Coffea arabica and Coffea canephora, commonly called robusta. Arabica accounts for roughly 60% of worldwide coffee and contains 0.8% to 1.4% caffeine. It grows best at cooler temperatures between 15 and 24 °C (59 and 75 °F).

Robusta accounts for the remaining 40% and packs a higher caffeine content of 1.7% to 4.0%. It thrives in warmer temperatures between 24 and 30 °C (75 and 86 °F). Other minor cultivated species include Coffea liberica and Coffea racemosa.

How are coffee beans harvested and processed?

Coffee plants grow in the tropical region between the Tropics of Cancer and Capricorn, known as the coffee belt or bean belt. Workers harvest the fruit by selective picking, which takes only ripe cherries, or strip-picking, which pulls all cherries from a branch at once.

World map illustrating the "bean belt" in yellow, which represents the regions where coffee is typically grown. The 20 largest coffee-producing countries in 2011 are highlighted in green within this belt.
The coffee belt spans the tropics between Cancer and Capricorn, showing where global coffee production concentrates. jonkerz ♠talk 06:34, 29 April 2013 (UTC), Public domain, via Wikimedia Commons

Farmers remove the fruit pulp and mucilage using wet or dry methods. The wet method ferments seeds in water for about two days to wash off sticky residue. The dry method spreads whole cherries in the sun on concrete, bricks, or raised beds for two to three weeks.

A third niche method occurs in Asia with kopi luwak. The Asian palm civet eats the ripest cherries, its digestive tract breaks down the surrounding pulp, and workers harvest the excreted beans.

Test yourself

Coffee cherries are fruits, despite the name coffee bean.

True. A coffee cherry is a fruit; the familiar “bean” is a seed inside it.

Why does roasting change raw coffee seeds into aromatic coffee?

Heat drives reactions that create aroma compounds. Roasting triggers chemical reactions, including the Maillard reaction, that create coffee’s aroma; it does not simply remove caffeine or make more of it.

Why does the Coffea plant put caffeine in its seeds?

To deter insects from eating them. Caffeine acts as chemical defense against insects; it is not there to attract seed dispersers or support roasting.

Collectible card

Claim the Coffee Bean 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

Which countries produce the most coffee beans?

Brazil is the largest producer, responsible for roughly 45% of total coffee exports. Other major exporters include Colombia, Vietnam, and Ethiopia.

What is a peaberry coffee bean?

A peaberry is a single, rounded coffee seed that forms when only one seed develops inside the cherry instead of the usual two. They make up roughly 10% to 15% of all harvested coffee beans.

Where did coffee originate?

According to legend, an Ethiopian goat herder named Kaldi discovered the plant around 850 AD after noticing his goats grew energetic from eating the cherries. Coffee plants originally grew wild in African forests before spreading across global trade routes.

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. Coffea
  3. Coffee BeanReading now
  4. Caffeine
  5. Espresso
  6. Cold brew coffee
  7. Decaffeination
  8. Instant Coffee
Learn the whole Set

Where this leads