Are Coffee Beans Legumes? No, They Are Rubiaceae Seeds

No. Coffee beans are not legumes, and they are not even distantly related to them. Coffee is Coffea, a genus in the family Rubiaceae — the madder and gardenia family — while legumes are the family Fabaceae. The 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)”. Different families, different orders, no shared pod.

A coffee “bean” is a seed, and it comes out of a fruit — the coffee cherry — not out of a pod. The word “bean” was doing shape duty, not botany.

What actually separates a legume from a coffee seed

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 splits along two seams to release a row of seeds — the pea pod is the textbook example. A coffee cherry is a fleshy fruit that does not split; it is picked whole and the flesh is stripped off 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 coffee farm gets its nitrogen from fertiliser, mulch or shade trees — which is often why leguminous shade trees are planted among the coffee in the first place.
  • The family. Rubiaceae versus Fabaceae, confirmed on the two records linked above. 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.

Inside a coffee cherry, in the right order

The National Coffee Association’s own cross-section runs from the outside in: outer skin (exocarp), “the outermost layer of the coffee cherry”, which “transitions from green to yellow to red” as it ripens; pulp (mesocarp), “the juicy pulp around the coffee beans”; parchment (endocarp), “a thin layer that covers and protects the beans as they develop within the cherry”; silver skin (testa, epidermis), “the outer layer of the bean”; and bean (endosperm), “the core of the coffee bean” (NCA, What is coffee?).

Usually two seeds develop inside one cherry, sitting face to face. Each is flattened on the side that meets the other, and that flat face with its groove down the middle is exactly what makes a coffee seed look like a bean. 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).”

legumes compared with coffee beans

So why does anyone call it a bean?

Because English has always used “bean” for anything seed-shaped and roughly that size — vanilla beans are orchid seed pods, cocoa beans are the seeds of a Theobroma fruit, and neither is a legume either. The name records what the thing looks like in the hand. It is not a claim about its ancestry, and the label stuck long before anyone was classifying plants by shared descent.

Corrections to an earlier version of this page

The old version got the headline answer right — Rubiaceae versus Fabaceae — and then got several supporting details wrong. Those are fixed above, and named here rather than quietly deleted.

  • It offered the black-eyed Susan vine as an example of a legume. It is not one. World Flora Online records Thunbergia alata Bojer ex Sims as an accepted name “in the genus Thunbergia (family Acanthaceae)” — a different family from Fabaceae. The plant that is a legume and has a similar-sounding name is the black-eyed pea.
  • It described the parchment as “the outer layer” that “encases the bean”. The parchment is the endocarp, the innermost fruit layer; the outer layer of the cherry is the exocarp, the skin you can see. The NCA cross-section quoted above is the corrected order.
  • It claimed “over 20,000 species” of legumes. That figure had no source attached, so it has been removed rather than replaced with a different unsourced number. Fabaceae is one of the largest plant families; the exact species total depends on which treatment you follow, and this page does not need a number to answer its own question.
  • Its “detailed resource” link was broken in a way that is easy to miss. It pointed at ncausa.org/About-Coffee/Coffee-From-Plant-to-Cup. That URL still returns a page, but it redirects to the front page of aboutcoffee.org, where the NCA moved its consumer material — so the reader arrived somewhere generic instead of the article they were promised. The links in this page point at the specific pages they describe.

The coffee species themselves

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

  • ArabicaCoffea arabica, the species behind most of what is sold as specialty coffee.
  • RobustaCoffea canephora, lower-grown, higher in caffeine, rounder seed.
  • LibericaCoffea liberica, a big-seeded species and much the smallest of the four crops.
  • ExcelsaCoffea dewevrei, separated from Liberica as its own species in 2025.

A fifth, Coffea stenophylla, is a West African species being looked at again for its heat tolerance. 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 of them.

Leave a Comment