Onions contain compounds that fight inflammation and may interfere with how respiratory viruses infect your cells, but they’re not a cure for the common cold. What they can do is support your immune system and help ease some of the inflammatory misery that makes colds feel so awful. The benefits come from eating onions, though, not from placing them around the house or in your socks.
What Makes Onions Useful During a Cold
Onions are rich in quercetin, a plant compound that works on two fronts relevant to colds: it has antiviral properties and it dials down inflammation. In lab studies, quercetin blocks viruses from entering host cells, which is a critical first step in any respiratory infection. It binds to proteins on the surface of influenza viruses (including H1N1 and H3N2 strains), reducing their ability to latch onto and infect cells. Quercetin also appears to interfere with later stages of viral replication and assembly.
On the inflammation side, quercetin suppresses several of the chemical signals your body produces during a cold, the ones responsible for that heavy, swollen, congested feeling. It blocks the production of key inflammatory enzymes and interrupts signaling pathways that amplify the immune response beyond what’s helpful. At the same time, it boosts the branch of your immune system that targets virus-infected cells directly, shifting the balance toward a more productive immune response rather than one that just makes you feel terrible.
Onions also contain sulfur compounds called thiosulfinates and cepaenes. These have their own anti-inflammatory effects, specifically by reducing the production of prostaglandins and leukotrienes, which are molecules your body makes from fatty acids that drive swelling, pain, and mucus production. This is essentially what over-the-counter anti-inflammatory drugs target, though onions work through a different and milder mechanism.
Raw vs. Cooked: Which Is Better
If you’re eating onions specifically for cold relief, how you prepare them matters. Raw onions retain the highest levels of both quercetin and antimicrobial sulfur compounds. Cooking reduces thiosulfinates, the compounds with antimicrobial and antibiotic properties, so raw onions have an edge for immune support.
That said, not all cooking methods are equal. Boiling is the worst option, causing roughly a 75% loss of quercetin compounds as they leach into the cooking water. If you’re making soup, this is less of an issue since you’re drinking the broth. Baking, grilling, and frying actually increase the total amount of available phenolic compounds, including quercetin derivatives, because heat breaks down cell walls and releases them.
One practical trick: crushing or chopping onions and letting them sit for a few minutes before cooking helps preserve their beneficial compounds. This allows enzyme reactions to occur that stabilize the sulfur compounds, so they survive the heat better. If you can tolerate raw onion, adding it to salads, salsas, or sandwiches gives you the full range of active compounds. If raw onion is too harsh on your stomach (especially when you’re already feeling sick), roasted or sautéed onion in soup is a reasonable second choice.
The Onion-in-Sock Myth
You may have seen claims online that placing a cut onion in your sock overnight, or leaving one on your nightstand, can “draw out” toxins or absorb viruses from the air. There is no scientific evidence for this. No studies have tested or supported the idea, and the proposed mechanism doesn’t hold up to scrutiny.
Onions are not “bacterial magnets.” Food spoilage bacteria require direct contact to contaminate a surface. They don’t become airborne and land on an onion sitting in a room. The idea that an onion can pull pathogens out of your body through the soles of your feet has no basis in biology. Researchers at McGill University have pointed out that the entire concept is implausible. If putting an onion in your sock makes you feel better, it’s almost certainly a placebo effect. It won’t hurt you, but your time is better spent eating the onion instead.
How to Use Onions When You’re Sick
The most effective way to get onion’s benefits during a cold is simply to eat more of them. Here are some practical approaches that work well when you’re under the weather:
- Onion-heavy broth or soup: Sauté onions before adding liquid so you preserve more quercetin than boiling alone would. The warm liquid also helps with hydration and loosening congestion.
- Raw onion in mild dishes: Diced red onion (which tends to have higher flavonoid content) added to rice, beans, or avocado toast gives you the most intact compounds.
- Onion and honey mixture: A traditional remedy involves layering sliced onion with honey and letting it sit for several hours. The honey draws out the onion juice, creating a syrup you can take by the spoonful. Honey itself has antimicrobial properties and coats the throat.
Red and yellow onions tend to have higher concentrations of quercetin than white onions. The outer layers of the onion contain the most flavonoids, so peeling away as little as possible helps you keep more of the good stuff.
Potential Downsides
Eating onions in normal food quantities is safe for most people, but loading up on raw onion when you’re already feeling rough can backfire. Common side effects of eating large amounts include stomach pain, heartburn, and worsened indigestion. If your cold has you feeling nauseated or your stomach is already sensitive, cooked onions may be easier to tolerate.
Onions can also slow blood clotting slightly. If you take blood-thinning medications, eating dramatically more onion than usual could theoretically increase your risk of bruising or bleeding. This isn’t a concern at normal dietary levels, but it’s worth knowing if you’re tempted to treat onion as medicine and consume large quantities daily.
What Onions Can and Can’t Do
Onions are a food, not a pharmaceutical. The quercetin and sulfur compounds they contain have real biological activity against inflammation and viruses, but the concentrations you get from eating onions are far lower than the doses used in lab studies. You won’t cure a cold by eating an onion. What you can do is include onions as part of a nutrient-dense diet while you’re sick, alongside adequate rest, hydration, and other foods rich in vitamins and antioxidants. The compounds in onions support your immune system’s work and may help reduce the severity of inflammatory symptoms like congestion, sore throat, and sinus pressure. That’s a meaningful benefit, even if it’s not a magic bullet.

