3 Reasons Onions Might Upset Your Stomach

You may love onions, but that doesn't mean they love you back. For some, these often pungent and aromatic bulb-shaped veggies cause more than just watery eyes and bad breath.
Onions can trigger gas, bloating and an upset stomach, according to Robin Foroutan, RDN, a registered dietitian nutritionist at the Morrison Center in New York City and spokesperson for the Academy of Nutrition and Dietetics.
Here’s why onions may upset your stomach – and what to do about it.
1. Onions Contain FODMAPs, Which Can Trigger Gas and Bloating
Fix it: Temporarily limit or avoid FODMAPs in your diet and then strategically add them back with the help of a dietitian or doctor, Foroutan says. "The net-net is that there might be one or two categories of FODMAPs that you don't tolerate very well."
2. Onions Are Rich in Sulfur, Which Can Cause Stomach Upset
3. Raw Onions Can Trigger Heartburn
Other compounds in onions can trigger heartburn shortly after eating, especially if they're raw, Foroutan says. "Raw onions are a common heartburn trigger because they can relax the sphincter muscle between the stomach and esophagus," she says.
Fix it: Remove onions from your diet for a few weeks and then add back a small amount of cooked onions, which are easier to digest and less likely to cause heartburn than raw ones, Fourotan says.
"If that goes well, try a small amount of raw onion and see how it feels," she says. "It may be that you can tolerate small amounts of onion, but not large amounts." It may require trial and error to find your personal upper limit.
The Takeaway
- If you're experiencing digestive discomfort after eating onions, you may want to consider a low-FODMAP diet to help manage symptoms, as onions contain fructans, a type of FODMAP known to provoke gas and bloating.
- For those sensitive to sulfur, found widely in onions and similar vegetables, it may be beneficial to consult with an allergist to determine if you have an intolerance or allergy to sulfur or onions, which can cause stomach upset.
- Onions, especially raw onions, are a common heartburn trigger. You may want to consider temporarily removing them from your diet and reintroducing cooked onions in moderation to see if symptoms improve.
- Digestion: How long does it take? Mayo Clinic. June 7, 2025.
- Stop the Tears: Why Onions Are Good for You. Cleveland Clinic. May 30, 2023.
- What Is the Low-FODMAP Diet? Academy of Nutrition and Dietetics. March 21, 2025.
- Dietary and Herbal Supplements. National Center for Complementary and Integrative Health. February 2020.
- Food intolerance. National Health Service. November 25, 2022.
- Heartburn: Symptoms & causes. Mayo Clinic. May 13, 2022.

Ira Daniel Breite, MD
Medical Reviewer
Ira Daniel Breite, MD, is a board-certified internist and gastroenterologist. He is an associate professor at the Icahn School of Medicine at Mount Sinai, where he also sees patients and helps run an ambulatory surgery center.
Dr. Breite divides his time between technical procedures, reading about new topics, and helping patients with some of their most intimate problems. He finds the deepest fulfillment in the long-term relationships he develops and is thrilled when a patient with irritable bowel syndrome or inflammatory bowel disease improves on the regimen he worked with them to create.
Breite went to Albert Einstein College of Medicine for medical school, followed by a residency at NYU and Bellevue Hospital and a gastroenterology fellowship at Memorial Sloan Kettering Cancer Center. Working in city hospitals helped him become resourceful and taught him how to interact with people from different backgrounds.
