Curious Minds

Clear answers to science and history questions

Why Onion Bhajis Make You Gassy: The Science of Farting

· 6 min read · Science

Onion bhajis make you fart because they contain fructans—complex carbohydrates that humans cannot digest in the small intestine and instead ferment in the large intestine, producing gas. Many people blame the oil or spices, but the real culprit is the high fructan content in onions, especially when eaten raw or lightly fried.

What Causes the Gas?

Onions contain fructans, a type of fructose polymer made of long chains of fructose molecules linked together. Humans lack the enzyme fructanase to break these down in the small intestine, so the fructans pass intact into the large intestine. There, gut bacteria ferment them, producing hydrogen, carbon dioxide, and methane as byproducts. This fermentation increases intestinal pressure and triggers the need to pass gas. The effect is dose-dependent: one bhaji may cause little noticeable gas, but three or four can lead to significant bloating and flatulence within 30 to 90 minutes.

How Cooking Changes the Effect

Frying onions at high heat breaks down some fructans, but not completely. At 180°C (356°F), about 20–30% of fructans degrade after 10 minutes of frying; longer frying reduces them further, but also darkens the bhajis and can make them bitter. Raw onions contain about 1.3–2.3 g of fructans per 100 g; after deep-frying for 4–5 minutes (typical bhaji time), fructan levels drop to roughly 1.0–1.8 g per 100 g. That reduction is modest, and since bhajis are usually eaten in multiples, the total fructan load remains high enough to trigger gas in sensitive people.

Factors That Change How Gassy Bhajis Make You

How much gas you produce after eating onion bhajis depends on several personal and preparation factors:

FactorEffect on Gas Production
Onion typeYellow and red onions have more fructans (1.5–2.3 g/100 g) than sweet onions like Walla Walla (0.8–1.2 g/100 g).
Bhaji sizeA typical 50 g bhaji uses ~30 g onion, containing 0.5–0.7 g fructans; three bhajis deliver 1.5–2.1 g fructans—enough to cause symptoms in many adults.
Gut microbiomePeople with more Bifidobacterium or certain Bacteroides strains ferment fructans faster and produce more gas; others have slower fermenters and less reaction.
Meal contextEating bhajis with high-fat foods (like yogurt raita) slows gastric emptying, delaying gas production but potentially increasing total volume.

A Real-World Example

Imagine a person eats a plate of four medium onion bhajis (200 g total, about 120 g onion content). Using average fructan levels for yellow onions (1.8 g/100 g), that’s 2.16 g of fructans. In controlled tests, adults with normal digestion start producing measurable intestinal gas at ~1.5 g fructans; symptoms like bloating and flatulence typically appear within 45 minutes. The gas produced is mostly carbon dioxide and hydrogen, with methane in about one-third of people (those with methane-producing archaea like Methanobrevibacter smithii). Methane slows intestinal transit, which can prolong the sensation of distension.

Common Misconception: Spices or Oil Are the Main Cause

Many assume that cumin, coriander, or the oil used for frying causes gas—but these contribute far less than onions. Cumin and coriander contain some fructans, but at typical bhaji spice levels (0.5–1 g per bhaji), they add less than 0.1 g fructans total. The oil itself contains no fructans and does not ferment. While high-fat foods can delay digestion and make gas feel more prolonged, they do not generate additional gas through fermentation. The primary driver remains the onion’s fructan content.

How to Reduce Gassiness Without Skipping Bhajis

Choose Lower-Fructan Onions

Swapping yellow or red onions for sweet varieties like Vidalia or Walla Walla reduces fructans by 30–40%. A 50 g Vidalia bhaji contains ~0.4–0.6 g fructans versus 0.5–0.7 g in yellow. You’ll still get flavor, but the gas impact drops noticeably—especially if you stick to two bhajis instead of four.

Pre-Treat the Onions

Soaking sliced onions in cold water for 15 minutes before battering removes some water-soluble fructans. Studies show this reduces fructan content by 10–15%. After soaking, pat the onions dry thoroughly to avoid soggy batter. You can also blanch them in boiling water for 60 seconds, then shock in ice water; this degrades fructans more significantly (up to 25%) but may soften texture slightly.

Adjust Portion Size

Since fructan response is dose-dependent, limiting intake to one or two bhajis (providing ≤1 g fructans) keeps most people symptom-free. A typical adult can tolerate up to 3–4 g fructans per sitting before significant gas builds up, but sensitive individuals (e.g., those with IBS) may react to 1 g or less. If you know you’re sensitive, pair bhajis with low-fructan sides like cucumber-mint raita (use lactose-free yogurt if needed) or a simple salad with lettuce, tomato, and lemon.

What to Do If You’re Already Gassy

Once fermentation has started, you can’t stop it—but you can ease discomfort. Gentle movement (like walking for 10 minutes) helps move gas through the intestines. Over-the-counter simethicone (e.g., Gas-X) breaks up gas bubbles, making them easier to pass. Avoid carbonated drinks, which add more gas. If bloating is severe, try a warm compress on the abdomen for 10 minutes to relax intestinal muscles. For recurring issues, consider a low-FODMAP diet under guidance: a 2-week elimination of high-fructan foods (onions, garlic, wheat) followed by systematic reintroduction identifies tolerance levels.

When to See a Doctor

Most gas after bhajis is normal. But if you experience persistent pain, diarrhea, weight loss, or blood in stool, consult a healthcare provider. These could signal conditions like small intestinal bacterial overgrowth (SIBO), celiac disease, or inflammatory bowel disease—especially if symptoms occur with other high-FODMAP foods like apples, beans, or milk.

Fructan Content Reference

Here’s how common onion forms compare in fructan content (per 100 g raw, unless noted):

  • Yellow onion: 1.8 g
  • Red onion: 2.1 g
  • Sweet onion (Vidalia): 1.0 g
  • Shallot: 1.5 g
  • Leek (white part only): 1.2 g
  • Chives: 0.6 g
  • Onion powder (dehydrated): 2.4 g (concentrated)

Note: Cooking doesn’t eliminate fructans—only reduces them modestly. Deep-frying at 180°C (356°F) for 5 minutes cuts fructans by ~25%; baking at 200°C (400°F) for 20 minutes cuts them by ~35% but may dry out the onion.

Making Low-Gas Bhajis

Suppose you want to make a batch of six bhajis using Vidalia onions and soaking to reduce fructans further:

  1. Use 180 g Vidalia onion (1.0 g fructans/100 g → 1.8 g total fructans).
  2. Slice thinly, soak in 2 cups (480 ml) cold water for 15 minutes, drain, and pat dry.
  3. Coat in chickpea flour batter (no garlic or onion powder).
  4. Fry in oil at 180°C (356°F) for 4 minutes per side until golden.
  5. Each bhaji (30 g onion) now contains roughly 0.3 g fructans after soaking and frying.
  6. Three bhajis provide 0.9 g fructans—well below the 1.5 g threshold for most people.

Result: Flavor remains intact, but gas production is minimal for the majority of eaters.

Final Notes

Gas after onion bhajis is a normal digestive response, not a sign of illness. It reflects healthy gut bacteria doing their job. If it’s uncomfortable, adjust onion type, prep method, and portion size. For those with diagnosed IBS or SIBO, a registered dietitian can help tailor low-FODMAP versions while keeping the dish enjoyable.

In this article
  1. What Causes the Gas?
  2. Factors That Change How Gassy Bhajis Make You
  3. A Real-World Example
  4. Common Misconception: Spices or Oil Are the Main Cause
  5. How to Reduce Gassiness Without Skipping Bhajis
  6. What to Do If You’re Already Gassy
  7. When to See a Doctor
  8. Fructan Content Reference
  9. Making Low-Gas Bhajis
  10. Final Notes