Smelly farts come down to one thing: sulfur. When bacteria in your large intestine break down certain foods, they produce hydrogen sulfide and other sulfur-containing gases that carry that unmistakable rotten-egg smell. The good news is that most of what drives this process is within your control, from what you eat to how quickly food moves through your gut.
Why Some Farts Smell Worse Than Others
Most intestinal gas is actually odorless. The bulk of what you pass is nitrogen, oxygen, carbon dioxide, and sometimes methane. None of these have a noticeable smell. The stink comes specifically from sulfur gases, primarily hydrogen sulfide, which your gut bacteria produce as a byproduct of breaking down sulfur-rich foods.
Two factors control how bad the smell gets. First, the amount of sulfur in your diet gives bacteria more raw material to work with. Second, the time food spends in your intestines matters. The longer it takes your body to digest food, the more time bacteria have to ferment it and produce stronger-smelling gases. This is why constipation often makes the problem worse.
Cut Back on High-Sulfur Foods
The single most effective change you can make is reducing the sulfur content of your diet. This doesn’t mean eliminating these foods entirely, but knowing which ones are the biggest contributors lets you make targeted swaps when the smell becomes a problem.
The heaviest hitters include:
- Cruciferous vegetables: broccoli, cauliflower, Brussels sprouts, cabbage, kale, bok choy, and turnips
- Allium vegetables: garlic, onions, leeks, shallots, and chives
- Red meat, which has the highest sulfur content of any protein source
- Eggs (both yolk and white)
- Dried fruits: raisins, dates, prunes, and dried apricots
- Certain beverages: beer, wine, cider, and grape juice
Other notable sources include asparagus, arugula, mustard greens, seaweed, Brazil nuts, peanuts, and dairy products. Even whole wheat bread and pasta contain moderate levels of sulfur compounds. You don’t need to memorize the full list. Just notice which foods tend to precede your worst episodes and reduce those first.
Some supplements also contain sulfur you might not expect, including glucosamine sulfate (common in joint supplements) and MSM. If you take supplements regularly and have persistent smelly gas, check the ingredient labels for anything containing sulfur, sulfite, or sulfate.
Slow Down How You Eat
Eating quickly causes you to swallow more air, which increases overall gas volume. But speed also affects digestion in a subtler way: food that isn’t chewed thoroughly arrives in the large intestine in larger pieces, giving bacteria more material to ferment over a longer period. Eating smaller meals more slowly gives your digestive system a head start on breaking food down before it reaches the bacteria that produce sulfur gases.
Keep Things Moving
Since slower transit time gives gut bacteria more opportunity to produce foul-smelling compounds, anything that prevents constipation helps reduce odor. Regular physical activity, adequate water intake, and enough fiber from low-sulfur sources (think oats, rice, and most fresh fruits) all keep food moving at a healthy pace through your intestines. If you tend toward constipation, addressing that alone can noticeably reduce the smell.
Enzyme Supplements Can Help
Some gas comes not from sulfur but from complex carbohydrates your body can’t break down on its own. Beans, root vegetables, and some dairy products contain a type of non-absorbable fiber that ferments in the intestines and produces gas. Products containing alpha-galactosidase (sold as Beano) break down this fiber before it reaches the large intestine, preventing the fermentation that produces gas in the first place. You take it with the first bite of a problem meal.
If dairy specifically triggers your gas, you likely have some degree of lactose intolerance, which is extremely common. When lactose isn’t absorbed properly, it ferments in the colon and produces gas, bloating, and sometimes diarrhea. Lactase enzyme supplements taken before eating dairy can prevent this. Or simply reducing dairy intake will cut down on the undigested material reaching your gut bacteria.
What About Charcoal and Bismuth?
Activated charcoal is widely sold as a gas remedy, but the evidence is disappointing. A study at the University of Minnesota gave healthy volunteers activated charcoal four times daily for a week and found no significant reduction in the release of any sulfur-containing gases. The likely explanation is that charcoal’s binding sites become saturated during their journey through the gut, leaving nothing available to capture gases by the time they’re being produced in the colon.
Bismuth subsalicylate (the active ingredient in Pepto-Bismol) has a better track record. It binds directly to hydrogen sulfide in the gut and has been shown to dramatically reduce levels of this gas. It’s available in both tablet and liquid form. This is more of an occasional fix than a daily strategy, but it can be useful when you know you’ve eaten a sulfur-heavy meal and want to limit the aftermath.
Consider Your Gut Bacteria
The smell of your gas ultimately depends on which bacteria dominate your gut. Sulfate-reducing bacteria are the ones that convert dietary sulfur into hydrogen sulfide. When these bacteria are overrepresented, even moderate amounts of sulfur in your diet can produce intensely smelly gas. Lactic acid bacteria, on the other hand, work through different metabolic pathways and don’t produce hydrogen sulfide. Probiotic foods and supplements that contain lactic acid bacteria (found in yogurt, kefir, sauerkraut, and kimchi) may help shift the balance over time.
In some cases, persistent foul-smelling gas points to small intestinal bacterial overgrowth, a condition where bacteria that normally live in the large intestine colonize the small intestine, where they ferment food earlier in the digestive process. This produces excessive gas along with bloating, abdominal discomfort, and sometimes diarrhea or constipation. Diagnosing it typically involves a breath test, though testing for hydrogen sulfide specifically is still being refined.
Signs Something Else Is Going On
Smelly gas by itself is almost always a dietary issue, not a medical one. But certain accompanying symptoms suggest something beyond normal digestion. Bloody stools, unexplained weight loss, persistent diarrhea or constipation, ongoing nausea, or a noticeable change in what your stools look like all warrant a conversation with a healthcare provider. Prolonged abdominal pain or chest pain calls for more immediate attention. These patterns can indicate malabsorption disorders, where your body fails to properly absorb carbohydrates or fats, leaving excess material for bacteria to ferment into gas.
A Practical Starting Point
If you want results quickly, start with the foods you eat most often from the high-sulfur list. For many people, the biggest offenders are eggs, red meat, garlic, onions, and cruciferous vegetables. You don’t need to eliminate all of them at once. Try reducing one or two for a week and see if the smell improves. Pair that with staying hydrated and physically active to keep your digestion moving at a normal pace. Most people notice a real difference within a few days of cutting their sulfur intake, because you’re directly reducing the raw material that bacteria use to produce hydrogen sulfide.

