Key takeaway: Botanically, coffee isn't a bean. Real beans are seeds of legumes, plants that grow pods. A coffee "bean" is the seed of a cherry-like fruit from the coffee plant, usually two per cherry. Scientists think the plant makes caffeine partly as a natural defense: studies found it deters insects and slugs.
Here's a fun one for your next coffee break: you've never actually brewed a bean.
That bag in your pantry is full of seeds. Each one grew inside a little red fruit on a flowering shrub in the same plant family as gardenias. And the caffeine you love? The plant probably didn't make it for you at all.
Let's crack open the coffee cherry and see what's really in your mug.
Is coffee a bean?
Not in the botanical sense.
True beans come from legumes, plants that grow their seeds in pods. The USDA describes beans, peas and lentils as the edible seeds of legumes, found in those pods (USDA MyPlate). Think kidney beans, black beans and chickpeas.
Coffee doesn't grow in pods. It belongs to the Rubiaceae family (the same plant family as gardenias), and what we call coffee beans are the two seeds inside the coffee plant's fruit (Klingel et al., 2020). The researchers at Kew who study wild coffee put it simply: every coffee species has the characteristic "coffee bean (seed)" shape (Davis et al., 2019).
So why "bean"? A roasted coffee seed looks a lot like a small bean, and the name stuck. Botanists may wince, but nobody is ordering a "cup of seed."
Is coffee a fruit?
The coffee plant makes a fruit, and your coffee comes from its seed. So coffee is a fruit product in the same way an almond or a cocoa bean grows inside a fruit.
Here's how it happens, according to a 2020 review of the coffee plant by German food scientists (Klingel et al., 2020):
- Coffee plants are evergreen shrubs that bloom with white flowers.
- After pollination, each flower can become a fruit called a coffee cherry, green at first and usually red when ripe. About 3% of Arabica ripens to yellow cherries instead, and some other coffee species grow black or even black-and-yellow-striped ones.
- Most varieties take about 210 days to go from blossom to ripe cherry.
That's seven months of growing for one cherry and two seeds. Worth savoring.
What's inside a coffee cherry?
A coffee cherry is built like a set of nesting dolls. From the outside in (Klingel et al., 2020):
| Layer | Botanical name | What it's like |
|---|---|---|
| Skin | Epicarp (exocarp) | Leathery; turns from green to red as it ripens |
| Pulp | Mesocarp | Soft and sweet |
| Mucilage | Part of the pulp layer | Sticky, sugary coating on the parchment |
| Parchment | Endocarp | A tough, papery hull around each seed |
| Silver skin | Seed coat (tegument) | A thin film hugging the seed |
| The "bean" | Seed (mostly endosperm) | The part we roast and brew, usually two per cherry |
That sweet, wet pulp is also why farms have to work fast after harvest. Anything sweet and moist is an open invitation to mold, which we explain in Is Coffee Moldy?
How does a coffee cherry become a roasted coffee bean?
Farmers have to peel away all those layers to get to the seed. The 2020 review describes two main routes (Klingel et al., 2020):
- Dry (natural) processing. Whole cherries are spread out and dried in the sun. Machines then remove the dried skin, pulp and parchment, together called the husk.
- Wet processing. A pulper squeezes the fresh pulp off the seeds first. Then the sticky mucilage is either left on to dry (sometimes called "pulped natural"), scrubbed off (semi-washed) or fully removed (fully washed).
Either way, the result is green coffee, the raw seeds traded around the world. When those seeds hit the roaster, the last bits of silver skin flake off as a papery by-product. Roasting is where the magic happens: plain-smelling seeds turn into the chocolatey, roasty beans you know. Here's what changes from light to dark roast and why coffee smells so good.
Why do coffee plants make caffeine?
Plot twist: caffeine is probably part of the plant's defense system.
- It deters insects. In a 1984 Science paper, a researcher found that caffeine and related compounds stopped insects from feeding and acted as natural pesticides at concentrations known to occur in plants. He suggested they may work as natural insecticides (Nathanson, 1984).
- It repels slugs and snails. USDA scientists in Hawaii reported in Nature that caffeine solutions killed or repelled slugs and snails when applied to plant leaves or soil (Hollingsworth et al., 2002).
But here's the coolest part. Coffee flowers also put a tiny dose of caffeine in their nectar. A team led by Newcastle University measured it in Arabica, Robusta and Liberica coffee flowers (and in citrus flowers). Then they tested honeybees. Bees rewarded with nectar-level caffeine were three times as likely to remember a flower's scent 24 hours later, and twice as likely after 72 hours, compared with bees given sugar alone (Wright et al., 2013).
The dose is the trick. Nectar caffeine never went above about 0.06 mg per milliliter, below the level that bees found bitter enough to avoid. Coffee leaves and seeds, by comparison, have been reported to contain as much as 24 mg per milliliter, roughly 400 times more (Wright et al., 2013). In other words, the plant seems to use a big dose to protect itself and a tiny dose to keep its pollinators coming back.
Humans, it turns out, are the plant's most loyal customers. How much caffeine ends up in your cup depends on species, roast and brew. We break that down in Arabica vs Robusta and Does Dark Roast Have More Caffeine?
Can you drink other parts of the coffee plant?
Yes, and people have for a long time. The 2020 review rounded up the traditional uses (Klingel et al., 2020):
- Cascara (coffee cherry tea). Dried coffee cherry husks steeped in hot water. Cáscara is Spanish for "husk," and in Yemen a traditional version is called qishr. One analysis the review cited measured about 226 mg of caffeine per liter of cascara.
- Coffee leaf tea. Coffee leaves have been brewed as a tea in places including Ethiopia, Indonesia (Sumatra and Java), India and Jamaica. In a European Food Safety Authority assessment, an infusion made from 20 grams of dried leaves per liter had about 10 to 11 mg of caffeine per liter, far less than brewed coffee.
- Coffee blossom tea. Even the flowers have been dried and brewed as tea.
The review also noted that rules for these products vary. In the European Union, some coffee by-products need novel food approval before they can be sold.
How many kinds of coffee plants are there?
Way more than two. Scientists at the Royal Botanic Gardens, Kew, assessed all 124 known wild coffee species, which grow naturally across tropical Africa, Madagascar and nearby islands, Asia and Australasia (Davis et al., 2019).
What they found is a wake-up call:
- At least 60% of coffee species are threatened with extinction.
- 45% aren't held in any seed bank or living collection.
- Wild Arabica itself was listed as Endangered once climate change projections were included.
Those wild relatives matter. The Kew team notes they carry traits like drought tolerance, disease resistance and even naturally low caffeine that breeders may need in the future. Arabica's own family tree is a story too. It's an ancient hybrid, which we covered in Arabica vs Robusta.
What's in a cup of Edge?
I started Edge in St. Paul in 2020 because I wanted coffee I could drink every day and feel good about. Our Pure Health Coffee starts as ripe cherries on Peruvian Arabica plants. It's single-origin and medium roasted for notes of chocolate, caramel and roasted nuts.
Because coffee begins as a sweet, wet fruit, how it's handled after harvest matters. That's why every lot is tested by Eurofins, and our posted sample reports showed no detectable mycotoxins, including ochratoxin A below 1 ppb. You can read them on our lab results page and see what we test for on our mold-free coffee page. Results apply to the samples tested. Shipping is free on every order, always.
FAQ
Is coffee a bean or a seed? Coffee is a seed. True beans are the seeds of legumes, which grow in pods. A coffee "bean" is one of usually two seeds inside the coffee plant's cherry-like fruit. It got the name because it looks like a bean.
Is coffee a fruit? Coffee comes from a fruit. The coffee plant grows small cherries, usually red when ripe, and the seeds inside are dried, roasted and ground to make coffee. Most varieties take about 210 days from blossom to ripe cherry.
What are the parts of a coffee cherry? From the outside in: the skin, the sweet pulp, a sticky mucilage layer, the papery parchment, a thin silver skin and finally the seed, which is the coffee bean. Most cherries hold two seeds.
Why do coffee plants make caffeine? Studies suggest caffeine helps defend the plant. Researchers found it deters insect feeding and kills or repels slugs and snails. In coffee flower nectar, a tiny dose helped honeybees remember the flower's scent, which may encourage pollination.
Is coffee related to beans? No. Beans belong to the legume family, while coffee belongs to the Rubiaceae family, the same family as gardenias. They're not closely related plants.
How many species of coffee are there? Scientists at Kew assessed 124 known wild coffee species and found at least 60% are threatened with extinction. Only a few species, mainly Arabica and Robusta, are grown for most of the world's coffee.
This article is general information about coffee botany and research. Results from individual studies apply to the plants, animals, samples and conditions they tested.
Sources
- Klingel T, Kremer JI, Gottstein V, Rajcic de Rezende T, Schwarz S, Lachenmeier DW. A review of coffee by-products including leaf, flower, cherry, husk, silver skin, and spent grounds as novel foods within the European Union. Foods. 2020;9(5):665. PMID: 32455549. DOI: 10.3390/foods9050665. https://pubmed.ncbi.nlm.nih.gov/32455549/
- Davis AP, Chadburn H, Moat J, O'Sullivan R, Hargreaves S, Nic Lughadha E. High extinction risk for wild coffee species and implications for coffee sector sustainability. Sci Adv. 2019;5(1):eaav3473. PMID: 30746478. DOI: 10.1126/sciadv.aav3473. https://pubmed.ncbi.nlm.nih.gov/30746478/
- Wright GA, Baker DD, Palmer MJ, et al. Caffeine in floral nectar enhances a pollinator's memory of reward. Science. 2013;339(6124):1202-1204. PMID: 23471406. DOI: 10.1126/science.1228806. https://pubmed.ncbi.nlm.nih.gov/23471406/
- Nathanson JA. Caffeine and related methylxanthines: possible naturally occurring pesticides. Science. 1984;226(4671):184-187. PMID: 6207592. DOI: 10.1126/science.6207592. https://pubmed.ncbi.nlm.nih.gov/6207592/
- Hollingsworth RG, Armstrong JW, Campbell E. Caffeine as a repellent for slugs and snails. Nature. 2002;417(6892):915-916. PMID: 12087394. DOI: 10.1038/417915a. https://pubmed.ncbi.nlm.nih.gov/12087394/
- U.S. Department of Agriculture, MyPlate. Beans, Peas, and Lentils. https://www.myplate.gov/eat-healthy/protein-foods/beans-peas-lentils
- Edge Coffee sample Eurofins report AR-24-JF-015481-01 (Pure Health Coffee green beans, Mar 2024), via /pages/lab-results
