Is Coffee a Legume? No, Coffee Beans Are Rubiaceae Seeds

Is coffee a legume? No. Coffee beans are the seeds of Coffea plants, which belong to the madder family (Rubiaceae). Legumes belong to a different family, the pea family (Fabaceae), and their seeds grow in pods. A coffee bean grows inside a fleshy cherry instead, so “bean” describes its look, not its botany.

Are coffee beans legumes?

No, a coffee bean is not a legume. World Flora Online records Coffea arabica L. as an accepted name “in the genus Coffea (family Rubiaceae)” and the common bean, Phaseolus vulgaris L., as an accepted name “in the genus Phaseolus (family Fabaceae)”. The classification on those same two records puts coffee in the order Gentianales and the common bean in the order Fabales, so the two differ in family and in order.

Three differences do the work, and only one of them is about taxonomy.

  • The fruit. A legume in the strict botanical sense is a dry fruit that usually splits along two seams to release a row of seeds: the pea pod is the textbook example. A coffee cherry is a drupe (Unigarro et al., Plants, 2025), a fleshy fruit that does not split; it is picked whole, and the seeds are separated from the fruit afterwards.
  • Nitrogen. This is the difference with real agronomic consequences. USDA’s Agricultural Research Service describes Rhizobium as “bacteria that form symbiotic (mutually beneficial) relationships with soybeans, alfalfa, peanuts, beans, and other legumes to convert nitrogen gas from the air into fertilizer for the plants”, a process it names as nitrogen fixation. Coffee does not do this. A 2019 paper in Frontiers in Plant Science calls root-nodule symbiosis “restricted to four plant orders: Fabales (legumes), Fagales, Cucurbitales and Rosales”, and coffee is in none of them (World Flora Online puts it in Gentianales). Legume trees are also planted as coffee shade; a 2022 field study in Ecuador, which used three Fabaceae shade species, says residues of N2-fixing trees “might fulfil coffee nutrient requirements”.
  • The family. Rubiaceae (the madder family, which also holds the gardenia) versus Fabaceae (the pea family), as the two records linked above confirm. Fabaceae has about 22,500 species and, in a 2025 review in Current Biology, is “the third largest family of flowering plants”. Coffea is a genus of tropical trees and shrubs; the 2025 revision that split Liberica into three species put the count at 133 known Coffea species (Davis et al., Nature Plants, 2025). Four of them are grown commercially.

Coffee and legumes are distant relatives. NCBI Taxonomy places Rubiaceae and Fabaceae in the same large group of flowering plants, the eudicots, but on separate branches: asterids for coffee, rosids for legumes.

TraitCoffeeA legume (the common bean)
FamilyRubiaceae (madder family)Fabaceae (pea family)
OrderGentianalesFabales
FruitA fleshy cherry (a drupe) that does not splitA dry pod that usually splits along two seams
SeedsUsually two per cherryA row in the pod
Root-nodule nitrogen fixationNoYes, with Rhizobium bacteria

What is inside a coffee cherry?

From the outside in, the National Coffee Association’s cross-section names five layers:

LayerBotanical nameWhat it is
Outer skinExocarpThe outermost layer; it turns from green to yellow to red as the cherry ripens
PulpMesocarpThe juicy flesh around the beans
ParchmentEndocarpA thin layer that covers and protects the beans as they develop
Silver skinTesta (epidermis)The outer layer of the bean itself
BeanEndospermThe core of the coffee bean

Usually two seeds develop inside one cherry, one in each of its two chambers. Each seed is convex on one side and flattened on the other, with a groove along the flat side (Unigarro et al.). When only one seed develops it fills the cavity by itself and comes out rounded. The NCA puts that at roughly 5% of the world’s coffee and gives it its trade name: “This is called a peaberry (or a caracol, which is ‘snail’ in Spanish).”

Three wooden spoons of dried white, red and speckled beans

Is a coffee bean a bean?

Not in the botanical sense. Dictionary.com defines a bean first as “the edible nutritious seed of various plants of the legume family, especially of the genus Phaseolus“. A coffee “bean” is the seed of a different plant: the NCA says coffee beans are “actually seeds found inside the cherries (also called the fruit) of coffee trees”.

The word was stretched later: the Online Etymology Dictionary gives Old English bean as “bean, pea, legume” and dates “coffee-bean” to the 1680s. The same Dictionary.com entry also lists “any of various other beanlike seeds or plants, as the coffee bean.” Vanilla and cocoa follow the pattern. A vanilla bean is the cured pod of an orchid (Vanilla planifolia, family Orchidaceae), a cocoa bean is the seed of Theobroma cacao (family Malvaceae), and neither plant is a legume. “Bean” describes how these things look in the hand, not what family they belong to.

Is a coffee bean a vegetable or a fruit? Neither. The bean is the seed; the cherry around it is the fruit, a drupe; and the bean is not a legume either.

Coffee species and their Latin names

All four commercial coffees are Coffea, and all four are Rubiaceae. Each has its own page here:

  • Arabica: Coffea arabica, the species behind most of the world’s coffee.
  • Robusta: Coffea canephora, lower-grown, higher in caffeine, rounder seed.
  • Liberica: Coffea liberica, a big-seeded species that makes up a minor share of world production.
  • Excelsa: Coffea dewevrei, separated from Liberica as its own species in 2025.

A fifth, Coffea stenophylla, is a West African species that, according to a 2021 study in Nature Plants, grows and crops “at a mean annual temperature 6.2–6.8 °C higher than Arabica coffee”. And if the question behind “are coffee beans legumes” was really a dietary one, see what food group coffee belongs to; the short answer there is none.

Corrections: Early on, this page called the parchment the cherry’s outer layer and coffee and legumes unrelated. It also named the black-eyed Susan vine (Thunbergia alata, family Acanthaceae) as a legume; the legume is the black-eyed pea.

Leave a Comment