Botanically, a pumpkin is a fruit. In the kitchen, it gets treated like a vegetable. Both answers are correct, which is exactly why this argument never dies at the Thanksgiving table.
Here’s the part most people miss. The question of whether pumpkin is a fruit or vegetable isn’t really one question. It’s two systems answering two different things. Science looks at how the plant grows. Cooking looks at how the food tastes and what you do with it. Neither side is wrong. They’re just not talking about the same thing.
So let me pull the two camps apart, because once you see the split, the whole thing stops being confusing.
Why Botanists Call a Pumpkin a Fruit
To a botanist, a fruit has a specific definition. It’s the seed-bearing structure that develops from a flower’s ovary. That’s it. Sweetness has nothing to do with it.
Pumpkins check every box. They start as a flower on a sprawling vine. After the flower is pollinated, the base swells, and that swelling grows into the pumpkin you eventually carve or cook. Crack one open and you’ll find the giveaway: a cavity packed with seeds. Seeds inside, grown from a flower, so it qualifies as a fruit.
The funny thing is that this same rule catches a lot of foods we’d never call fruit. Tomatoes, cucumbers, bell peppers and squash are all botanically fruits for the exact same reason. They each grow from a flower and carry their seeds inside. If a pumpkin is a fruit, your salad is probably full of them too.
So scientifically, the label isn’t about whether something is sweet or savory. It’s about plant anatomy. And by that measure, a pumpkin is a fruit, no asterisk needed.
The Pepo: What Kind of Fruit a Pumpkin Really Is
If you want to get specific, a pumpkin is a cultivated winter squash in the genus Cucurbita. And the type of fruit it makes has an actual name: a pepo.
A pepo is a kind of berry. I know, that sounds like a stretch. But in botany, a berry is a fleshy fruit with seeds inside, and a pepo is the version with a hard rind, a fleshy interior, and lots of seeds. The tough outer shell is what sets it apart from a soft berry like a grape.
That shell is also why pumpkins and other winter squash store so well through the fall. It protects everything inside.
The pumpkin keeps good company here. Melons, cucumbers and gourds are all pepos too, all part of the same gourd family. So the next pumpkin you set on the porch is, technically, a giant berry with a crew cut of a rind.
Why the Kitchen Still Calls It a Vegetable
Now flip to the cook’s side, and the answer flips with it.
Culinary classification doesn’t care about flowers or seeds. It cares about flavor and how you use the food in a meal. Fruits are usually sweet and show up in desserts or eaten raw. Vegetables are milder or savory and get cooked into soups, roasts and sides. By that logic, pumpkin lands with the vegetables, because that’s how most of us treat it.
I got into this exact debate once over a slice of pie, which felt like the worst possible moment to argue the point. Someone insisted pumpkin was obviously a vegetable because, well, we roast it. Someone else pointed at the pie as proof it was a fruit. I just wanted another bite and kept quiet.
The cook who shelves pumpkin with vegetables isn’t making a mistake. They’re answering a different question than the botanist. One asks how it grows. The other asks how it eats.
So, Which Answer Do You Use?
Pick your answer based on who you’re talking to. Reach for the botanical one when you want to win a trivia argument: yes, it’s a fruit, a pepo berry grown from a flower. Use the culinary one at the grocery store, where nobody’s sorting produce by ovary.
Both are right in their own lane. The proof is probably sitting on your counter right now, a slice of pumpkin pie next to the sweet potatoes, one labeled fruit by science and cooked like a vegetable all the same.