A vegetable is a nightshade if it belongs to the Solanaceae family, a group of flowering plants that share a distinctive flower structure: five fused petals, five fused sepals, five stamens, and a two-chambered ovary. That botanical blueprint is what links tomatoes, potatoes, eggplants, and peppers to each other, and also to their more infamous cousin, deadly nightshade (Atropa belladonna). Beyond the flower anatomy, nightshades share a chemical trait that gives the family its reputation: they produce alkaloids, natural compounds that act as built-in pesticides.
The Flower That Defines the Family
Plant families are classified primarily by their reproductive structures, because flowers change far less over evolutionary time than leaves or roots. Every member of the Solanaceae family produces flowers with the same basic architecture: five petals fused together (often forming a star or bell shape), five stamens arranged around a central style, and an ovary positioned above the other flower parts. The fruit is typically either a berry or a capsule.
This is why a tomato flower, a pepper flower, and a potato flower all look surprisingly similar, even though the edible parts of those plants are completely different. With tomatoes and peppers, you eat the fruit. With potatoes, you eat an underground tuber. But cut into the blossoms and you’ll find the same five-part symmetry every time.
Common Nightshade Vegetables
The most familiar nightshades in the kitchen include tomatoes, white potatoes, eggplants, bell peppers, chili peppers (jalapeños, habaneros, and others), tomatillos, and goji berries. Several spices also come from the family: paprika, cayenne pepper, crushed red pepper, and chili powder. That means common condiments like ketchup, hot sauce, marinara sauce, and salsa all contain nightshade ingredients.
One frequent point of confusion: sweet potatoes are not nightshades. Despite the name, they belong to the morning glory family, a completely different lineage. White potatoes and sweet potatoes are unrelated plants that happen to produce starchy underground parts.
Tobacco is also a nightshade, which is part of why the family’s alkaloid chemistry has been studied for centuries.
Alkaloids: The Chemistry Behind the Name
The defining chemical feature of nightshades is that they produce alkaloids, nitrogen-containing compounds that serve as natural insecticides while the plant grows. In edible nightshades, the primary alkaloid is solanine (along with a related compound called chaconine in potatoes). These chemicals concentrate in the leaves, stems, and unripe parts of the plant, which is why you’d never eat a potato leaf or a green tomato stem.
In the amounts found in ripe, properly stored vegetables, these alkaloids pose no risk to most people. Toxicity in humans requires an intake above roughly 1 milligram per kilogram of body weight, and potentially lethal doses start around 3 to 6 milligrams per kilogram. You would need to eat an extraordinary quantity of normal potatoes to approach those numbers. The concern is mostly limited to potatoes that have turned green, which signals a spike in alkaloid concentration near the skin.
Why Green Potatoes Deserve Extra Caution
When potatoes are exposed to light or sustain physical damage, they ramp up alkaloid production. The green color itself comes from chlorophyll, which is harmless, but it appears under the same conditions that trigger alkaloid buildup. Peeling green potatoes removes a significant portion of these compounds, especially in smaller, immature tubers where concentrations run highest.
Cooking has less effect than you might expect. Solanine is heat-stable and doesn’t break down until temperatures reach around 260°C (500°F), well above normal boiling or sautéing. Boiling peeled potatoes reduces alkaloid content by about 39%, and deep frying at high temperatures (around 210°C) can cut levels by roughly 40%. But microwaving and low-temperature frying do almost nothing. The most practical step is peeling, and doing so just before cooking. Slicing potatoes and letting them sit triggers a fresh burst of alkaloid production over time, so keeping tubers whole until you’re ready to cook is a simple way to minimize exposure.
The Poisonous Relatives
The nightshade family’s ominous reputation comes largely from its non-edible members. Deadly nightshade (Atropa belladonna) is one of the most toxic plants in the Eastern Hemisphere, producing potent alkaloids that affect the nervous system. Jimsonweed is another dangerous relative. These plants sit on the same family tree as tomatoes and peppers, which is why European colonists were deeply suspicious of tomatoes when they first arrived from South America in the 16th century. For decades, tomatoes were grown as ornamental curiosities rather than food.
Most nightshade species are tropical, and the family’s greatest diversity is in Latin America. Potatoes originated in the Andes and were brought to Europe by Spanish explorers in the 1500s. Tomatoes followed a similar route. Eggplant is the outlier, native to eastern and southern Asia. Chili peppers trace back to Central and South America and spread globally through trade routes.
Nightshades and Inflammation
You may have heard that nightshades trigger inflammation, particularly joint pain in people with arthritis or autoimmune conditions. This idea drives the Autoimmune Protocol (AIP) diet, which eliminates nightshades during an initial phase based on the theory that their alkaloids may worsen intestinal inflammation or provoke immune responses.
The scientific evidence on this is thin in both directions. Older mouse studies suggested solanine could damage the gut lining and increase intestinal inflammation. But more recent mouse research found the opposite: purple potatoes and goji berries appeared to reduce inflammation, improve gut barrier function, and decrease harmful gut bacteria. Mouse studies, however, rarely translate reliably to humans, and no large human trials have confirmed that nightshade vegetables cause inflammatory flare-ups. The Arthritis Foundation describes the situation plainly: there’s little scientific evidence on either side, but many people report feeling better when they cut nightshades out.
If you suspect nightshades bother you, an elimination approach is straightforward. Remove all nightshade vegetables, spices, and condiments for a few weeks, then reintroduce them one at a time. Common substitutions include sweet potatoes for white potatoes, zucchini or cucumbers for peppers, and black pepper (which is not a nightshade) for paprika or cayenne. Tracking your symptoms during each reintroduction gives you more useful information than any blood test currently available for food sensitivities.

