Dinners

Are Onions in the Nightshade Family? No, Here’s Why

Updated · By Patriot Kitchen

Save

No, onions are not in the nightshade family. They belong to the Amaryllidaceae family, while nightshades are part of the Solanaceae family. These two plant families differ in chemical composition, growth habits, and edible parts.

Onions Are in the Amaryllidaceae Family, Not Solanaceae

The onion (Allium cepa) is a member of the Amaryllidaceae family, which includes garlic, leeks, chives, and shallots. This family is known for sulfur-containing compounds that create strong flavors and aromas. These compounds also contribute to the tearing effect when cutting onions. Amaryllidaceae plants grow from bulbs and produce flowers in伞-shaped clusters.

In contrast, the nightshade family, Solanaceae, includes tomatoes, potatoes, eggplants, and peppers. These plants typically grow from seeds, have alternate leaves, and produce flowers with five fused petals. They are defined by the presence of alkaloids such as solanine and capsaicin, which onions lack entirely.

Common Misconception: All Potent-Tasting Vegetables Are Nightshades

Some people assume that because onions have a strong flavor and can cause digestive discomfort in sensitive individuals, they must be nightshades like tomatoes or peppers. This is incorrect. The irritation from onions comes from syn-propanethial-S-oxide, a volatile sulfur compound that dissipates when cooked. Nightshade irritation, when reported, is linked to alkaloids such as solanine in green potatoes or capsaicin in chili peppers.

Another source of confusion is the term “nightshade,” which sounds mysterious and is sometimes linked to dietary myths. However, in botany, it is simply a taxonomic label. The Solanaceae family includes both toxic species (like deadly nightshade, Atropa belladonna) and widely eaten vegetables. Onions, while not related, are also safe for most people when properly prepared.

How to Identify Nightshade Plants by Structure and Chemistry

Botanical identification of nightshades relies on specific traits. Solanaceae plants generally have alternate leaves, star-shaped flowers with five fused petals, and fruits that are berries or capsules. Tomatoes, peppers, and eggplants all produce fleshy fruits from a single ovary. Potatoes produce berries, though the edible part is the tuber.

Chemically, nightshades often contain glycoalkaloids (e.g., solanine in potatoes) or capsaicinoids (e.g., capsaicin in peppers). These compounds serve as natural defenses. Onions, instead, produce organosulfur compounds like allicin (when crushed) and quercetin, a flavonoid with no relation to nightshade alkaloids.

A practical way to distinguish them in the garden: Solanaceae plants usually grow as annuals or perennials with soft stems, while Amaryllidaceae like onions grow from bulbs and have hollow, tubular leaves. If the plant forms a bulb underground and has a pungent smell when cut, it is not a nightshade.

Worked Example: Comparing Alkaloid and Sulfur Compound Levels

Consider a raw red potato with green skin and a raw yellow onion. The green parts of the potato can contain up to 1,000 mg/kg of solanine, a glycoalkaloid. Consuming 2 mg/kg of body weight may cause nausea; thus, a 70 kg adult should avoid eating more than 140 mg of solanine. A typical affected potato portion (200 g) with 500 mg/kg contains 100 mg solanine, nearing the caution threshold.

In contrast, a 100 g raw yellow onion contains about 30–40 mg of quercetin and negligible alkaloids. It also contains approximately 100 mg of sulfur compounds, which break down when cooked. Boiling an onion for 10 minutes reduces sulfur content by about 30%, while frying for 5 minutes at 350°F (177°C) reduces it by 50%. No part of the onion contains solanine, capsaicin, or other nightshade-specific chemicals.

This comparison shows that the two families pose different considerations: nightshades require attention to ripeness and preparation (e.g., not eating green potatoes), while onions require attention to digestion and odor management.

Foods That Are and Are Not Nightshades

The following table lists common foods and their correct botanical families:

Food Family Nightshade?
Tomato Solanaceae Yes
White potato Solanaceae Yes
Eggplant Solanaceae Yes
Pepper (bell, chili) Solanaceae Yes
Onion Amaryllidaceae No
Garlic Amaryllidaceae No
Okra Malvaceae No
Sweet potato Convolvulaceae No
Pea Leguminosae No

Some plants with “potato” in the name, like sweet potato, are not nightshades. Similarly, black pepper (Piper nigrum) is not related to chili peppers and belongs to the Piperaceae family.

What to Do If You Suspect a Nightshade Sensitivity

If someone experiences joint pain, digestive upset, or skin reactions they attribute to nightshades, the first step is to eliminate all Solanaceae plants for 4–6 weeks. This includes tomatoes, potatoes, eggplants, peppers, tomatillos, and ground spices like paprika and cayenne.

Onions, garlic, and other Alliums can remain in the diet during this phase, as they are unrelated. After elimination, reintroduce one nightshade at a time in small amounts (e.g., 50 g cooked bell pepper) and monitor symptoms for 48 hours. If no reaction occurs, the food is likely safe.

Because symptoms may have other causes—such as irritable bowel syndrome or autoimmune conditions—a food diary and consultation with a healthcare provider are recommended. Do not assume all plant-related sensitivities are due to nightshades.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).