Your farts smell because of sulfur-containing gases produced by bacteria in your large intestine. The main culprit is hydrogen sulfide, the same compound responsible for the smell of rotten eggs. Most of the gas your body produces is actually odorless. Only about 1% of flatulence contains sulfur compounds, but that tiny fraction is potent enough to clear a room.
The average person passes gas about 14 times a day and produces roughly two liters of intestinal gas daily. Most of that volume is odorless hydrogen, methane, and carbon dioxide. The smell comes almost entirely from sulfur byproducts, and several factors determine how strong (or strange) that smell gets.
What Creates the Smell
Your colon is home to trillions of bacteria, and some of them specialize in breaking down sulfur. A group called sulfate-reducing bacteria uses sulfur compounds from your food as fuel. In the process, they convert sulfate into hydrogen sulfide, which is then released into your intestine. This is where the characteristic rotten-egg or “gas leak” smell originates.
There are two main routes for this sulfur processing. The first is the breakdown of inorganic sulfur, meaning sulfates and sulfites found in food and water. The second is the fermentation of sulfur-containing amino acids from protein, particularly cysteine, methionine, and taurine. Both pathways end the same way: with hydrogen sulfide gas that your body expels as flatulence.
Why Protein Makes It Worse
If your gas has become noticeably more pungent, your diet is the most likely explanation. Dietary protein is one of the biggest drivers of hydrogen sulfide production in the colon. Fecal sulfide concentrations increase proportionately with the amount of meat you eat. A cross-over study comparing animal-based and plant-based diets found that total protein intake was a direct positive contributor to hydrogen sulfide production.
Protein powders are a common offender. Whey powder often contains cysteine, a sulfur-rich amino acid that feeds those sulfate-reducing bacteria. If you’ve recently increased your protein intake for fitness or weight loss, that likely explains the change in smell.
Fiber plays an interesting counterbalancing role. In a controlled feeding trial, a high-fiber diet led to 17% less hydrogen sulfide and 30% less ammonia in fecal gas compared to a low-fiber diet with the same protein content. Plant-based protein within a minimally processed, fiber-rich diet produced less hydrogen sulfide than animal protein in a highly processed, low-fiber diet. So it’s not just how much protein you eat, but how much fiber you’re eating alongside it.
Foods That Increase Sulfur Gas
Certain foods are packed with sulfur compounds that your gut bacteria readily convert into smelly gas:
- Cruciferous vegetables: broccoli, cauliflower, cabbage, kale, arugula, and radishes. These contain sulfur in the form of glucosinolates. Cooking broccoli on the stovetop gives off that same unpleasant whiff, and the smell only intensifies as the food moves through your digestive system.
- Allium vegetables: garlic and onions are among the richest dietary sources of sulfur, containing sulfides, thiosulfates, and sulfoxides.
- Animal proteins: turkey, beef, eggs, fish, and chicken are high in methionine, an essential sulfur-containing amino acid.
- Beer and wine: these contain sulfites that add to your body’s sulfur load.
- Nuts, seeds, and legumes: plant-based sources of methionine that also contribute.
None of these foods are unhealthy. But eating several sulfur-rich foods in one meal, especially without much fiber, gives your gut bacteria more raw material to work with.
When Poor Digestion Is the Problem
Sometimes the issue isn’t what you’re eating but how well you’re absorbing it. When your small intestine doesn’t fully break down certain nutrients, undigested food reaches the colon where bacteria ferment it aggressively, producing excess gas.
Lactose intolerance is the most common example. If you lack sufficient lactase (the enzyme that breaks down milk sugar), lactose passes intact into your colon. Bacteria ferment it into short-chain fatty acids and gas, causing bloating, discomfort, and flatulence. Fructose malabsorption works similarly and is surprisingly common, often showing up as unexplained gassiness after eating fruit, honey, or foods sweetened with high-fructose corn syrup.
Small intestinal bacterial overgrowth, or SIBO, is another possibility. In SIBO, bacteria colonize parts of the small intestine where they don’t normally thrive. When you eat carbohydrates, these misplaced bacteria ferment them too early in the digestive process, producing hydrogen, methane, and hydrogen sulfide gas. Symptoms include bloating, distension, flatulence, abdominal discomfort, and diarrhea. In more severe cases, it can cause weight loss and nutrient deficiencies.
What to Actually Do About It
For most people, smelly gas is a dietary issue, not a medical one. A few practical shifts can make a real difference. Increasing fiber intake helps redirect bacterial activity away from sulfur fermentation. Balancing protein with whole grains, fruits, and vegetables gives your gut bacteria alternative fuel sources. If you use protein supplements, try reducing the dose or switching to a plant-based powder with less cysteine.
Keeping a simple food diary for a week or two can help you spot patterns. If your gas consistently worsens after dairy, you may have some degree of lactose intolerance. If it flares after garlic-heavy meals or egg-rich breakfasts, sulfur compounds are the obvious trigger.
Signs Something Else Is Going On
Smelly gas on its own is rarely a sign of serious illness. But if increased gas comes alongside other symptoms, it may point to an underlying digestive condition. Abdominal pain, unexplained weight loss, fever, or bloody stools are signals worth paying attention to. These combinations can indicate celiac disease, ulcerative colitis, or Crohn’s disease, all of which involve chronic inflammation or damage to the intestinal lining that disrupts normal absorption.
Persistently foul-smelling gas paired with greasy or pale stools can suggest fat malabsorption, which sometimes results from pancreatic insufficiency or bile acid problems. If the smell has changed dramatically and stayed that way despite dietary adjustments, that pattern is worth mentioning to a doctor.

