Are cucumbers, beans and peas fruits?

Yes, botanically.Cucumbers, squashes, beans and peas are fruits of the vine, as the U.S. Supreme Court noted in 1893, because each develops from a flower and contains seeds. In cooking they're still treated as vegetables.

What's actually true

Cucumbers, squash, beans and peas are fruits too. Tomatoes have plenty of company. The same 1893 ruling lists cucumbers, squashes, beans and peas as botanical fruits of the vine, since each grows from a flower and holds seeds. In the kitchen they stay vegetables, because we cook them into savory dishes. If you cut something open and find seeds where the flower was, a botanist will usually call it a fruit.

Takeaway: Cucumbers, squash, bean pods and pea pods are all botanical fruits: they grow from flowers and carry seeds.

Why people believe it

We meet these foods in the vegetable aisle and in savory recipes, so 'vegetable' feels like a fact about the plant rather than a kitchen habit. The botanical definition rarely comes up outside a biology class. Once you know the rule (grew from the flower, holds seeds), a surprising amount of the vegetable drawer turns out to be fruit.

Source

“Botanically speaking, tomatoes are the fruit of a vine, just as are cucumbers, squashes, beans, and peas.”

Legal Information Institute, Cornell Law School: Nix v. Hedden, 149 U.S. 304 (1893) — Legal Information Institute, Cornell Law School. Checked on 2026-11-09.

Test yourself

This is one of 6 cards in Is a Tomato a Fruit? Botany vs the Kitchen. Flip through the rest in about 3 minutes.

More myths, checked