Is a pumpkin a fruit or a berry?
Both. Botanically, a pumpkin is a fruit, and more specifically a type of botanical berry called a pepo: a fleshy fruit of the gourd family with a hard rind and many seeds. In cooking it's usually treated as a vegetable, except in pie.
What's actually true
A pumpkin is a fruit, and a kind of berry. Botanically speaking, a pumpkin is a fruit: it grows from a flower and is packed with seeds. More specifically it's a pepo, a type of botanical berry made by the gourd family, with a hard rind and many seeds inside. Botanical 'berries' have little to do with the small sweet things we call berries in the kitchen. In cooking, pumpkin is mostly a vegetable, until it becomes pie.
Takeaway: A pumpkin is a fruit, and botanists class it as a pepo: a hard-rinded kind of berry.
Why people believe it
The word 'berry' means something small, sweet and pickable to most of us, so calling a 20-pound pumpkin a berry sounds like a joke. Botanists define berries by how the fruit is built from the flower, not by size or taste. By that rule a giant, hard-shelled gourd can be a berry, while plenty of things sold as berries in shops are not berries at all.
Source
“And even more specifically, a pumpkin is a type of botanical berry called a pepo.”
Denver Botanic Gardens: The Largest Berry in the World May Not Be What You Think It Is — Denver Botanic Gardens. Checked on 2026-11-09.