Eating a moldy onion can be dangerous, so if you’re not sure, don’t risk it.

While sprouting does mean that your onion isn’t super fresh, many people choose to cut off the sprout on top and eat the rest of the onion. However, when an onion sprouts, it tends to taste slightly bitter.

The liquid will likely be clear or brown in color.

Onions need airflow to keep them from rotting. If you close them in an airtight container, it’s likely that your onions will get moldy.

Keep onions out of direct sunlight, as the sun will make them go bad faster.

Storing onions at room temperature helps them taste better. You can also freeze whole onions, but you must blanch them first.

If you notice any mold or moisture on your onions, throw them out.

When you’re ready to use your frozen onions, don’t worry about thawing them. Simply throw them into a hot pan or a hot soup and they’ll thaw pretty much immediately. Frozen onions are best eaten cooked, not raw.