Is It Safe to Eat Onions That Have Turned Green?

Yes, onions that have turned green or started sprouting are safe to eat. Unlike potatoes, which produce a toxic compound called solanine when they turn green, onions do not become toxic or increase your risk of foodborne illness when they sprout. The green color comes from chlorophyll, the same pigment that makes all plants green, and it’s completely harmless. That said, while a sprouted onion won’t make you sick, it won’t taste as good as a fresh one either.

Why Onions Turn Green

When an onion is exposed to light and warmth, it does what any living plant would do: it tries to grow. The bulb begins converting its stored energy into a green shoot, producing chlorophyll in the process. This is the same basic photosynthesis mechanism that happens in every green plant on earth. You might see green tips poking out from the top of the onion, or notice that the inner layers themselves have taken on a greenish tint. Both are signs that the onion has broken dormancy and started using its reserves to fuel new growth.

Why It’s Not the Same as a Green Potato

The concern most people have is reasonable: potatoes turn green and become dangerous, so shouldn’t the same be true for onions? The answer is no. Potatoes belong to the nightshade family and produce solanine, a naturally occurring toxin, when exposed to light. Onions are in a completely different plant family (alliums, alongside garlic and leeks) and don’t produce solanine or any comparable toxic compound when they sprout. Food safety experts at Clemson University have confirmed that sprouted onions pose no increased risk of foodborne illness as long as the bulb itself isn’t spoiled.

How Sprouting Changes Flavor and Texture

The trade-off with a sprouted onion is quality, not safety. As the green shoot grows, it pulls sugar from the bulb for energy. That sugar is what gives a fresh onion its sweetness, so a sprouted onion tastes noticeably more bitter. The texture changes too. The outer layers become softer and drier as moisture migrates toward the sprout, leaving you with a less crisp, less satisfying onion.

Research published in the International Journal of Food Science & Technology found that sprouting causes a significant drop in total carbohydrates and total soluble solids (both linked to sweetness) across multiple onion varieties. Interestingly, not everything gets worse: the same study found that protein, fiber, vitamin C, and antioxidant activity all increased with sprouting. So nutritionally, a sprouted onion holds its own. It just doesn’t taste great.

How to Use a Sprouted Onion

If the sprout is small and the bulb still feels firm, you can cook with it normally. Pull out the green shoot first, since it tends to concentrate the bitter flavor. Then use the onion in a dish with bold, competing flavors: chili, meatloaf, a heavily spiced stew, or a tomato-based sauce. These kinds of recipes mask the slight bitterness that the rest of the bulb may carry.

If the sprout has grown several inches long, the bulb has likely given up too much of its moisture and sugar to be worthwhile in cooking. At that point, the onion will be soft, hollow in the center, and unpleasantly bitter. You’re better off composting it.

The green sprout itself is edible and tastes similar to a scallion or green onion top. You can chop it up and use it as a garnish on soups, eggs, or baked potatoes.

When to Throw It Away

Sprouting alone isn’t a reason to discard an onion. The real warning signs are spoilage indicators that have nothing to do with the green color:

  • Mold: fuzzy patches of white, black, or blue-green growth, especially near the root end or between layers.
  • Soft or mushy spots: a firm onion with a small sprout is fine, but one that gives easily when squeezed has started to rot internally.
  • Unpleasant smell: fresh onions smell sharp and pungent. A spoiled onion smells sour, fermented, or just “off” in a way that’s hard to miss.
  • Slimy layers: if peeling back the outer skin reveals a slippery, wet surface rather than a dry, papery one, bacteria have likely taken hold.

If any of those signs are present, discard the onion regardless of whether it has sprouted.

Storing Onions to Prevent Greening

Onions sprout because of light, warmth, and humidity. Controlling those three factors keeps them dormant longer. Store whole, unpeeled onions in a cool, dark, dry place with good air circulation. The ideal temperature is right around 33°F (just above freezing), with relative humidity between 60 and 70 percent. A basement, pantry, or unheated garage often works well.

Avoid storing onions in the refrigerator’s crisper drawer, which tends to be too humid and can encourage mold. Keep them away from potatoes as well. Potatoes release moisture and gases that accelerate onion sprouting. A mesh bag or open basket in a dark corner of the kitchen is a simple, effective solution for most households. Under good conditions, whole onions can last one to three months without sprouting.