Is a Cucumber a Fruit or a Vegetable?

A cucumber is a fruit to a botanist and a vegetable to a cook, and neither one is wrong. The two groups sort plants by different rules: one by which part of the plant the food is, the other by how it tastes and gets eaten. The kitchen answer is official enough that the US Supreme Court once used cucumbers as an example of vegetables.

Why Botanists Call a Cucumber a Fruit

To a botanist, a fruit is the ovary of a flowering plant, the part that swells after its seeds are fertilized (and sometimes even without fertilization).1WSU Extension. Fruit or Vegetable? It’s Complicated Botany has no formal category for vegetables, but the word usually means any other edible part, such as a root, stem, or leaf.2WSU Extension. Fruit or Vegetable? It’s Complicated The fruit’s job is reproduction: it carries seeds out into the world.3Spider Farmer EU Official Website. What Veggies Are Actually Fruits? Sweetness plays no part in the definition. By the same rule, chili peppers, pea pods, and olives are fruits too, and bell peppers and eggplants pass the same seeds-inside test as cucumbers.

A cucumber fits the rule exactly. It forms from the swollen base of a female flower, just below the petals.4PubMed Central. Morphological and Genetic Diversity of Cucumber (Cucumis sativus L.) Fruit Development That makes it a true fruit, with a fleshy, many-seeded inside and a firm rind.5PubMed Central. Morphological and Genetic Diversity of Cucumber (Cucumis sativus L.) Fruit Development It’s the same kind of fruit that melons, squash, and pumpkins make.6PubMed Central. Morphological and Genetic Diversity of Cucumber Fruit Development The flesh is the ovary wall growing and filling with water around the developing seeds, which is why the seeds sit in the middle.

You can see the link on a real cucumber. A garden cucumber often still has a shriveled yellow flower stuck to one end. Slice it crosswise and the seeds appear in rows around the center.

Cucumbers are usually picked about two weeks after the flower opens, before the seeds fully grow and harden.7PubMed Central. Morphological and Genetic Diversity of Cucumber (Cucumis sativus L.) Fruit Development8UC Davis Postharvest Research and Extension Center. Cucumber So the soft seeds you barely notice are seeds caught early, not a sign it isn’t a fruit. Leave one on the vine until it turns yellow and overgrown, and you’ll find the hard, mature seeds of a fully ripe fruit.

When you’re unsure about another food, ask where it sits on the plant. A root grows underground, and a leaf or stalk grows from stems, but a fruit grows where a flower used to be. Then ask whether it holds seeds that could grow a new plant. A cucumber does; a carrot or a lettuce leaf does not.

Why Cooks and Grocers Call It a Vegetable

In cooking, fruits are the foods valued for natural sweetness, while vegetables are savory and lower in sugar.9Institute of Culinary Education. Is a Cucumber a Fruit or a Vegetable? That puts savory fruits like cucumbers on the vegetable side.10Alliance Bioversity International and CIAT. What Are Vegetables? Main Categories, Nutritional Value and Culinary Uses

The flavor backs that up. A cucumber’s fresh grassy smell comes from natural aroma compounds similar to those in cut grass.11PubMed Central. Profiling of Volatile Compounds and Associated Gene Expression and Enzyme Activity during Fruit Development in Two Cucumber Cultivars A related compound gives it a faint flowery, melon-like note.12PubMed Central. Profiling of Volatile Compounds and Associated Gene Expression and Enzyme Activity during Fruit Development in Two Cucumber Cultivars13PubMed Central. Characterization of Differences in the Composition and Content of Volatile Compounds in Cucumber Fruit It smells and tastes green, not sweet, which is why it lands in salads and not desserts.

The kitchen definition shows up everywhere. Grocery stores shelve cucumbers in the produce aisle beside lettuce and peppers, not beside apples. Recipes pair them with salt, vinegar, yogurt, dill, and garlic, all savory flavors. Cucumbers almost never turn up in cakes or pies, the kitchen’s main home for fruit.

A cucumber’s mild, watery flesh and low sugar make a cooling contrast to rich or spicy food, a role cooks give vegetables. The rule is a habit built around flavor and meal role, so it isn’t strict. Sweet carrots still count as vegetables.

Answering “both” is accurate, as long as you say which definition you mean. A homework question in a science class usually expects the botanical answer: fruit.

Wild cucumber ancestors were bitter, and people bred that bitterness out of the fruit as they domesticated the plant.14PubMed. Biosynthesis, regulation, and domestication of bitterness in cucumber Some bitterness can still appear in a modern cucumber, especially when the plant is stressed.

The Supreme Court Case That Named Cucumbers Vegetables

In the 1893 case Nix v. Hedden, the Court accepted that tomatoes are botanically the fruit of a vine, just like cucumbers, squash, beans, and peas.15Justia. Nix v. Hedden But it ruled that in the common language of sellers and shoppers, all of these are vegetables.16Justia. Nix v. Hedden The reason: they are usually served with soup, fish, or meat at dinner, not as dessert like most fruits.17Justia. Nix v. Hedden The justices also pointed to an earlier case finding that a bean, though botanically a seed, is commonly called a vegetable.18Wikipedia. Nix v. Hedden

The dispute was about import taxes, which at the time applied to vegetables but not fruits. An importer argued that tomatoes were fruits to avoid the vegetable tax. The ruling settled a money question, not a scientific one.

The Court asked what “fruit” and “vegetable” mean in ordinary speech when the tax law was written. A law written for traders and shoppers, the justices reasoned, should use words the way those people use them.

The decision concerned the tariff law of its day. It didn’t change botany: scientists still call tomatoes and cucumbers fruits.

Other Foods That Are Secretly Fruits

Cucumbers have plenty of relatives in the same plant family:

Other savory fruits fill the vegetable aisle. Tomatoes are the best-known example, botanically a fruit but treated as a vegetable.23Wikipedia. Nix v. Hedden Bean and pea pods are fruits, while the beans and peas inside are seeds.24Wikipedia. Nix v. Hedden25Justia. Nix v. Hedden Peppers, eggplants, and zucchini all grow from flowers and hold seeds.

Try it on a few. Cut open a bell pepper and you find seeds inside a hollow space, showing it grew from a flower’s ovary. Zucchini is picked young while its seeds are still soft, much like a cucumber, so it’s easy to forget it is a fruit. A carrot fails: it’s a root with no seeds inside, growing underground. The test sorts the plant part, so it can’t tell you whether a food is sweet or how a cook will use it.

Plenty of foods are vegetables by both definitions. Carrots, beets, and radishes are roots. Celery is a stalk, and spinach and lettuce are leaves. Broccoli and cauliflower are flower buds, eaten before they ever make fruit. Potatoes are swollen underground stems, not roots, but still vegetables.

A few cases fit neither group neatly. Mushrooms are fungi, not plants, so they are neither fruit nor vegetable botanically, yet cooks lump them in with vegetables. Rhubarb is a stalk, a true vegetable, yet it usually ends up in pies. The kitchen category follows habit as much as taste.

Does It Matter for Eating or Gardening

Nutrition guides count cucumbers as vegetables toward your daily servings. Cucumbers are mostly water and low in calories, a light, refreshing choice. The peel and flesh offer some fiber and vitamins, but a cucumber adds freshness more than concentrated nutrition. If it isn’t waxed or bitter, eating the peel keeps more of that fiber than peeling it.

In the garden, thinking of a cucumber as a fruit explains a lot. Each one needs a pollinated female flower, so bees and other pollinators matter for a good crop. With few bees around, flowers can drop without making cucumbers.

If your plant flowers but gives no cucumbers, first check which flowers you’re seeing. Male flowers usually open first and simply fall off, which is normal. Female flowers have a tiny cucumber shape behind the petals. If those tiny cucumbers shrivel, poor pollination is the likeliest cause, particularly when few bees visit. To hand-pollinate, in the morning dab a small brush into an open male flower, then touch the pollen to the center of an open female flower. Heat stress and uneven watering can also cause poor fruit set, so pollination is one cause among several. Picking cucumbers slightly young, before the seeds harden, gives the best texture.26UC Davis Postharvest Research and Extension Center. Cucumber

At the store, pick firm, evenly green cucumbers without soft spots or yellowing. Smaller ones usually have smaller seeds and crisper flesh. Keep them in the fridge and use them within about a week for the best crunch. If one tastes noticeably bitter, trim the stem end, where bitterness often concentrates.