The rotten-egg smell comes from hydrogen sulfide, a sulfur-containing gas produced by bacteria in your large intestine. Most of the gas you pass is actually odorless, made up of nitrogen, oxygen, carbon dioxide, and methane. Only about 1% contains sulfur compounds, but hydrogen sulfide is so potent that even tiny amounts can make a room uninhabitable. When your farts smell especially deadly, it means your gut bacteria are producing more of these sulfur gases than usual.
How Gut Bacteria Create the Smell
Your colon is home to trillions of bacteria, and their primary job is breaking down whatever your stomach and small intestine couldn’t fully digest. When these bacteria encounter sulfur-containing compounds from food, they convert them into hydrogen sulfide gas. A specific group called sulfate-reducing bacteria, predominantly from the genus Desulfovibrio, are the main culprits. These bacteria colonize the guts of roughly 50% of people, and their entire metabolic strategy revolves around producing hydrogen sulfide as a byproduct.
The process is straightforward: undigested carbohydrates, proteins, and sulfur compounds reach your colon, and bacteria ferment them. More sulfur in equals more hydrogen sulfide out. But it’s not just about what you eat. How long food sits in your colon matters too. When stool moves slowly, bacteria have more time to ferment and digest, producing more gas in the process. That’s why constipation often comes with worse-smelling gas. The bacteria keep working on material that’s just sitting there, filling your intestines like a balloon.
Foods That Make It Worse
The biggest dietary driver of foul-smelling gas is sulfur, and it shows up in a surprisingly wide range of foods. The major categories include:
- Cruciferous vegetables: broccoli, cauliflower, cabbage, kale, arugula, and radishes
- Allium vegetables: garlic, onions, leeks, scallions, and shallots
- Animal proteins: eggs, beef, turkey, chicken, and fish
- Legumes and grains: chickpeas, lentils, oats, and couscous
- Nuts and seeds: walnuts in particular
Even your drinking water can contain sulfates that feed those sulfate-reducing bacteria. And here’s one most people wouldn’t guess: chondroitin sulfate, a popular joint supplement, has been shown to increase levels of Desulfovibrio bacteria and boost hydrogen sulfide production in the gut. If you started a joint supplement and noticed your gas got worse, that connection is real.
A high-protein diet is one of the most common reasons for a sudden shift toward worse-smelling gas. Protein-rich foods contain amino acids like cysteine and methionine, both packed with sulfur. When you eat more protein than your small intestine can absorb, the excess reaches your colon and gives bacteria plenty of raw material to produce hydrogen sulfide.
Food Intolerances and Malabsorption
When your body can’t properly digest certain carbohydrates, those carbohydrates pass intact into the large intestine, where bacteria feast on them. The two most common culprits are lactose intolerance and fructose intolerance. With lactose intolerance, the sugar in dairy products moves through to the colon undigested. With fructose intolerance, the same thing happens with the sugar found in fruits, honey, and many processed foods. In both cases, the extra fermentation produces more gas, and if sulfur compounds are also present, the smell intensifies.
Celiac disease works similarly. When someone with celiac eats gluten, their small intestine becomes inflamed and can’t absorb nutrients properly. Fat, carbohydrates, and proteins all pass through to the colon in larger quantities than normal, giving bacteria far more to work with. The result is often gas that smells noticeably worse than what you’d expect from your diet alone.
When a Gut Condition Is Behind It
Small intestinal bacterial overgrowth, known as SIBO, happens when bacteria that normally live in the large intestine start colonizing the small intestine. These misplaced bacteria begin digesting carbohydrates before your body has a chance to absorb them, converting them into gas and short-chain fatty acids. More bacteria feasting in the wrong place means more gas, and people with SIBO often notice they feel gassier than usual. SIBO can also cause fat malabsorption, which leads to oily, particularly foul-smelling stool on top of the gas issues.
Several conditions can set the stage for SIBO by slowing the movement of food through your intestines. Inflammatory bowel diseases like Crohn’s and ulcerative colitis affect intestinal motility and can create structural changes that allow bacteria to accumulate. Irritable bowel syndrome, past abdominal surgeries, and certain medications that slow gut motility can all contribute.
What’s Normal and What’s Not
Passing gas is completely normal. The average person does it about 15 times a day, though anywhere from a handful of times to 25 or more falls within the typical range. Some estimates go as high as 40 times daily for certain people. The frequency itself isn’t usually the concern. It’s the smell that brings people to a search engine.
Occasional death-level farts after a meal heavy in broccoli, eggs, or garlic are nothing to worry about. Your bacteria are just doing their job on sulfur-rich food. The pattern worth paying attention to is a persistent change. If your gas has become dramatically worse-smelling over weeks or months, and you can’t connect it to a dietary shift, that could point to a change in your gut bacteria, a developing food intolerance, or a condition like SIBO or celiac disease. Accompanying symptoms like unexplained weight loss, blood in your stool, persistent abdominal pain, chronic diarrhea, or oily stools suggest something beyond normal digestion.
Practical Ways to Reduce the Smell
The most direct approach is reducing the sulfur load in your diet, at least temporarily, to see if it makes a difference. You don’t need to eliminate all the foods listed above. Try cutting back on the most sulfur-dense ones (eggs, cruciferous vegetables, garlic, and red meat) for a week or two and see what happens. This is essentially a diagnostic tool: if the smell improves, you’ve identified your trigger foods and can adjust accordingly.
Constipation makes everything worse because it gives bacteria more fermentation time. Staying hydrated, eating enough fiber, and moving your body regularly all help keep things moving through your colon at a reasonable pace. Faster transit means less time for bacteria to produce sulfur gases.
If you suspect a food intolerance, an elimination diet can help clarify things. Remove dairy for two weeks and see if there’s a change. Then try the same with fructose-heavy foods. Keeping a simple food diary alongside a rough log of your symptoms can reveal patterns that are hard to spot otherwise. For persistent, unexplained changes in gas odor, a breath test can check for SIBO or specific carbohydrate intolerances, and blood work can screen for celiac disease.

