A legume is a vegetable in the culinary sense, but botanically, the edible part you eat is actually a fruit. This sounds contradictory, and it exists because “vegetable” means different things depending on who’s talking. In the kitchen, any savory plant food counts as a vegetable. In botany, legumes are seed-bearing pods, which makes them fruits. And in U.S. dietary guidelines, legumes officially count as both vegetables and protein foods. So the short answer is yes, with some interesting caveats worth understanding.
What Makes a Legume a Legume
Legumes belong to the plant family Fabaceae, a massive group containing roughly 18,000 species. What defines them is their fruit: a pod formed by two sealed halves (called valves) that split along the seam when ripe. Think of snapping open a pea pod or shelling fresh lima beans. That splitting behavior is the signature trait botanists use to identify the family.
The category is broader than most people realize. Pulses, the dried edible seeds of legumes, include beans (kidney, black, pinto, navy, chickpeas), lentils, and peas. But legumes also include soybeans and peanuts, which are often grouped separately in everyday cooking. Peanuts grow underground and are treated as nuts in the kitchen, but they develop inside a pod just like any other legume.
Why “Vegetable” Depends on Context
Botany has strict definitions for plant parts. A fruit is the mature ovary of a flowering plant, the structure that holds seeds. By that rule, tomatoes, peppers, cucumbers, zucchini, avocados, and peapods are all fruits. Legume pods fit squarely in this category. “Vegetable” has no formal botanical meaning at all. It’s a culinary and cultural term applied to any plant part eaten in a savory context, whether that’s a root (carrots), a leaf (spinach), a stem (celery), or a seed pod (green beans).
This is why the tomato debate never dies. In the garden and the lab, it’s a fruit. On your plate, it’s a vegetable. Legumes sit in the same gray zone, and both labels are correct depending on the conversation you’re having.
How the USDA Classifies Legumes
The USDA’s MyPlate system, based on the Dietary Guidelines for Americans 2020-2025, lists beans, peas, and lentils as a vegetable subgroup. But it also acknowledges they’re nutritionally similar to protein foods. This dual status creates a practical question: which group should you count them toward?
The USDA’s rule of thumb is straightforward. If you already eat enough meat, poultry, or seafood to meet your daily protein recommendation, count your legumes as vegetables. If you rely more on plant-based protein, count them in the protein group instead. You can even split them: if your protein target is met partway through the day, any additional beans or lentils you eat can shift over to the vegetable column. This flexibility exists because legumes genuinely straddle both categories nutritionally.
Legumes Pack More Protein Than Typical Vegetables
The reason legumes get this dual classification is their protein content. Legumes contain 20 to 30 percent protein by dry weight, which is dramatically higher than most vegetables. A cup of cooked broccoli has about 2.5 grams of protein. A cup of cooked lentils has around 18 grams. That difference is why dietary guidelines treat legumes as protein-worthy in a way that carrots or lettuce never will.
They’re also rich in dietary fiber, B vitamins like thiamin and riboflavin, and complex carbohydrates. This nutritional profile translates to measurable health benefits. In a clinical trial of people with type 2 diabetes, eating roughly one cup of cooked legumes per day for three months lowered A1C (a marker of long-term blood sugar) by 0.5 percent, while also reducing total cholesterol, triglycerides, and blood pressure compared to a wheat fiber diet. Other research has found that regular legume consumption lowers total cholesterol by about 12 mg/dL and LDL cholesterol by about 8 mg/dL on average. A high intake of legumes alongside fruits, vegetables, whole grains, nuts, and seeds is linked to significantly lower risks of heart disease, high blood pressure, stroke, and type 2 diabetes.
Cooking Legumes Requires More Care Than Most Vegetables
One practical way legumes differ from typical vegetables is how they need to be prepared. Raw or undercooked legumes, especially kidney beans, contain lectins, proteins that resist digestion and can cause nausea, vomiting, diarrhea, and abdominal pain within one to three hours of eating them. Unprocessed red and white kidney beans are classified as highly toxic when raw, and there are documented cases of accidental poisoning.
Proper preparation neutralizes these compounds. The World Health Organization recommends soaking dried beans for at least 12 hours, then boiling vigorously for at least 10 minutes. The FDA suggests a shorter soak of 5 hours followed by 30 minutes of cooking. Either way, the key is reaching a high enough temperature. Slow cookers are specifically flagged as risky for raw beans because they often don’t get hot enough to break down lectins. Canned beans are already fully cooked during processing, so they’re safe to eat straight from the can.
Most common vegetables don’t carry this concern. Research testing lectin activity in various plant foods found that standard cooking procedures inactivated lectins in nearly all vegetables tested. Legumes just need a bit more attention.
The Peanut Puzzle
Peanuts are one of the most surprising members of the legume family. They grow in underground pods, taste nothing like beans, and sit in the nut aisle at the grocery store. Botanically, though, they’re legumes. Their pods develop from the plant’s flowers, grow downward into the soil, and contain seeds inside two joined halves, just like a bean pod. Walnuts and pecans, by contrast, are botanically classified as drupes (a type of fruit with a hard shell around the seed), not true nuts either. The culinary world and the botanical world rarely agree on categories.
This distinction matters most for people with allergies. A peanut allergy is not the same as a tree nut allergy, and the biological relationship between peanuts and other beans is closer than their relationship to almonds or cashews. Some people with peanut allergies can eat tree nuts without issue, and vice versa.
So Which Is It?
Legumes are vegetables in every way that matters for grocery shopping, meal planning, and everyday conversation. They’re also botanically fruits, nutritionally comparable to protein foods, and officially classified by the USDA as both a vegetable subgroup and a protein option. The answer depends entirely on which system of classification you’re using. If someone asks whether the black beans on your plate count as a vegetable, the honest answer is yes, and then some.

