How to Stop Stinky Farts: Causes, Fixes & When to Worry

Smelly farts come down to sulfur. The bacteria in your large intestine produce three sulfur-containing gases as they break down food, and these compounds are almost entirely responsible for the odor. The good news: you can reduce how much sulfur gas your gut produces through straightforward changes to what you eat, how you eat, and a few surprisingly effective remedies.

Why Some Farts Smell Worse Than Others

Most of the gas you pass is odorless. About 99% of flatulence is made up of nitrogen, oxygen, carbon dioxide, hydrogen, and methane, none of which have a smell. The stink comes from trace sulfur gases: hydrogen sulfide (the rotten-egg smell), methanethiol, and dimethyl sulfide. Hydrogen sulfide is the dominant one. Even tiny amounts, measured in parts per million, are enough to clear a room.

The amount of sulfur gas your gut produces depends on two things: how much sulfur-rich food reaches your colon undigested, and which bacterial populations are doing the fermenting. This is why two people can eat the same meal and have very different results. Your individual gut bacteria determine how aggressively sulfur compounds get produced.

Foods That Make Gas Smell Worse

Sulfur-rich foods are the primary dietary trigger. Cruciferous vegetables like broccoli, cauliflower, cabbage, Brussels sprouts, and bok choy are high in sulfur compounds that your gut bacteria love to ferment. Beans and lentils are another major source, along with eggs, red meat, dairy, garlic, and onions. Beer and wine can contribute too, since the fermentation process creates sulfur byproducts.

You don’t need to eliminate these foods entirely. Many of them are nutritious. Instead, try reducing portion sizes or cutting back on the worst offenders for a week to see if the smell improves. Keeping a simple food diary for a few days can help you spot which specific foods are the biggest culprits for your body. Some people find that broccoli is the main problem, while others notice it more after high-protein meals with eggs and meat.

How You Eat Matters Too

Eating quickly, chewing gum, and drinking through straws all cause you to swallow extra air. That air has to go somewhere. While swallowed air itself is odorless, eating fast also means food arrives in the stomach less thoroughly chewed, which gives your small intestine a harder job. More undigested material reaching the colon means more fermentation and more sulfur gas.

Eating smaller meals more frequently, rather than large ones, gives your digestive system less to process at once. Slowing down at meals and chewing thoroughly are simple changes that can noticeably reduce both the volume and smell of gas within a few days.

Digestive Enzyme Supplements

Over-the-counter enzyme supplements can prevent gas from forming in the first place. Products containing alpha-galactosidase (sold as Beano) break down a type of fiber found in beans, root vegetables, and some dairy products before it reaches the colon. Since the fiber gets digested in the small intestine instead, the bacteria in your colon have less material to ferment into gas. You take these right before or with the first bite of a problem meal.

If dairy is your trigger, lactase supplements work the same way for the milk sugar lactose. These are most helpful if you suspect mild lactose intolerance, which is common in adults and often goes undiagnosed for years.

Bismuth Subsalicylate for Odor

This is one of the most effective options specifically for smell. Bismuth subsalicylate, the active ingredient in Pepto-Bismol, binds to hydrogen sulfide in the gut. In a study of healthy adults who took it four times daily for several days, hydrogen sulfide levels in stool dropped by more than 95%. That’s a dramatic reduction in the compound most responsible for foul-smelling gas.

This isn’t a long-term daily solution, since bismuth can cause side effects with extended use (including temporarily black stools and tongue, which is harmless but surprising). But for short-term situations where you need reliable odor control, it works remarkably well.

Probiotics and Gut Bacteria

Since your gut bacteria are the ones producing sulfur gas, shifting the bacterial balance can change how your gas smells. Probiotic supplements and fermented foods like yogurt, kefir, sauerkraut, and kimchi introduce bacterial strains that may compete with sulfur-producing bacteria. Results vary significantly from person to person, and it typically takes several weeks of consistent use to notice a difference. Probiotics are worth trying, but they’re not the quick fix that enzyme supplements or bismuth can be.

Gradually increasing fiber intake from diverse plant sources also feeds beneficial bacteria over time. The key word is gradually. A sudden jump in fiber will temporarily make gas worse before it gets better, as your gut microbiome adjusts.

Charcoal Products for Damage Control

Activated charcoal is highly porous and absorbs sulfur gases on contact. Charcoal-lined pads that stick inside underwear are designed to filter gas at the source, neutralizing both odor and sound. These are a practical option for social situations or workplaces where you need a reliable backup plan while making longer-term dietary changes. Activated charcoal capsules taken orally are also available, though the evidence for their effectiveness at reducing gas odor specifically is less consistent than for the external pads.

When Smelly Gas Signals Something Else

Persistently foul-smelling gas that doesn’t respond to dietary changes can point to an underlying digestive issue. Small intestinal bacterial overgrowth (SIBO) occurs when bacteria that normally live in the large intestine colonize the small intestine, causing excessive fermentation and often producing particularly smelly gas along with bloating, diarrhea, or oily stools. Conditions like celiac disease, inflammatory bowel disease, and pancreatic insufficiency can all impair digestion enough that more undigested food reaches the colon, feeding gas-producing bacteria.

Foul gas on its own is almost always a dietary issue. But if it comes with persistent bloating, diarrhea or constipation that won’t resolve, unintentional weight loss, blood in your stool, or significant abdominal pain, those are signs worth getting evaluated. A doctor can test for SIBO, food intolerances, and other conditions that might be driving the problem.

A Practical Starting Plan

The fastest approach combines a few strategies at once. Start by cutting back on the biggest sulfur sources: cruciferous vegetables, eggs, and red meat for about a week. Take an enzyme supplement before meals that include beans or high-fiber foods. If you need immediate odor control for a specific situation, bismuth subsalicylate is the most effective short-term option. Layer in probiotics or fermented foods for a longer-term shift in gut bacteria.

Most people see noticeable improvement within a few days of reducing sulfur-heavy foods. If nothing changes after two to three weeks of consistent effort across diet and supplements, that’s a reasonable point to consider whether a digestive condition might be involved.