What Makes a Fart Stink? Causes and When to Worry

The smell comes from sulfur. Specifically, a tiny fraction of the gas you pass, roughly 50 parts per million, consists of sulfur-containing compounds that your nose can detect at incredibly low concentrations. The rest of a fart is essentially odorless. So the stink isn’t about how much gas you produce; it’s about what your gut bacteria do with the sulfur in your food.

Most of a Fart Is Odorless

Up to a quarter of the gas in your intestines is simply swallowed air, mostly oxygen and nitrogen. About three-quarters is carbon dioxide, hydrogen, and methane produced by bacteria in your gut as they ferment food. None of these gases smell like anything. Your intestines produce between 500 and 2,000 milliliters of gas per day, and the average person passes it about 15 times (though anywhere from a handful to 40 times is within the normal range). The vast majority of those emissions are silent and scentless, or close to it.

The Three Sulfur Compounds Behind the Smell

The odor comes down to three molecules, all built around sulfur. Hydrogen sulfide is the classic rotten-egg smell. Methanethiol smells like rotten cabbage. Dimethyl sulfide has a garlic-like quality. Together, these three compounds average just 50 parts per million of total flatus volume. That’s a vanishingly small amount, but your nose evolved to be extremely sensitive to sulfur, likely because it signals decay and potential danger in food. So even at trace levels, these compounds dominate whatever else is going on in the mix.

There are other smelly molecules in play, too. Indole and skatole, both byproducts of protein digestion, contribute a fecal note to the odor. Even when other compounds like plant-derived terpenes are present, indole, skatole, and the sulfur trio overpower them at remarkably low concentrations.

Your Gut Bacteria Are the Real Source

You don’t produce these sulfur gases yourself. Bacteria in your large intestine do. Some species break down sulfur-containing amino acids (the building blocks of protein) like cysteine and taurine, releasing hydrogen sulfide as a byproduct. Other bacteria, particularly a group called sulfate-reducing bacteria, take a different route: they convert sulfate, a compound found naturally in many foods and drinking water, into hydrogen sulfide through a chemical reaction that fuels their growth.

Everyone’s gut hosts a different mix of bacterial species, which is a big reason why the intensity and character of gas odor varies so much from person to person. Someone with a larger population of sulfate-reducing bacteria will generally produce more hydrogen sulfide from the same meal than someone whose gut is dominated by other microbes.

Foods That Make It Worse

The smelliest gas traces back to sulfur-rich foods. These include:

  • Cruciferous vegetables: broccoli, cauliflower, cabbage, Brussels sprouts, and kale are naturally high in sulfur compounds.
  • Alliums: garlic, onions, and leeks contain sulfur-based molecules that gut bacteria readily convert to hydrogen sulfide.
  • High-protein foods: eggs, red meat, and dairy are rich in the sulfur-containing amino acids cysteine and methionine. The more of these amino acids that reach your colon undigested, the more raw material your bacteria have to work with.
  • Dried fruits and wine: these often contain sulfites used as preservatives, which sulfate-reducing bacteria can convert to hydrogen sulfide.
  • Beer: contains sulfate from the brewing process.

Foods that cause a lot of gas don’t necessarily cause smelly gas. Beans and lentils, for example, are famous for producing flatulence because they contain complex sugars that gut bacteria ferment enthusiastically, but the resulting gas is mostly hydrogen and carbon dioxide. Volume goes up, but the smell doesn’t change much unless those foods are eaten alongside sulfur-rich ingredients.

Why Some Days Are Worse Than Others

Beyond what you eat, how quickly food moves through your system matters. When transit through the colon is slow, as happens with constipation, bacteria have more time to ferment whatever reaches them. Research on patients with chronic constipation found that those with slower transit times had measurably higher gas volumes in the colon compared to those with faster transit. Longer contact time between bacteria and undigested food means more thorough breakdown of sulfur compounds, which can concentrate the smell.

Stress, changes in sleep, travel, dehydration, and shifts in physical activity can all slow or speed up transit, which is why your gas might smell noticeably different during a vacation or a stressful week at work, even if your diet hasn’t changed much.

When Smelly Gas Signals a Problem

Persistently foul-smelling gas, especially when paired with bloating, diarrhea, weight loss, or greasy stools, can point to a malabsorption problem. When your body can’t properly break down and absorb nutrients in the small intestine, undigested food passes into the colon where bacteria ferment it aggressively, producing excess sulfur gases along with bulky, foul-smelling stools.

Several conditions cause this pattern. Celiac disease damages the intestinal lining and impairs absorption. Crohn’s disease can do the same. Pancreatic insufficiency, where the pancreas doesn’t produce enough digestive enzymes, leaves proteins and fats partially undigested. Parasitic infections like giardia can also injure the gut lining enough to cause malabsorption. In all of these cases, the unusually smelly gas is a symptom of nutrients not being processed where they should be.

Lactose intolerance and fructose intolerance work slightly differently. They cause explosive gas and bloating because undigested sugars ferment rapidly in the colon, but the odor isn’t always sulfurous. The pattern is usually tied clearly to specific foods.

What Actually Reduces the Smell

Since the odor is driven by sulfur, the most direct approach is reducing the sulfur available to your gut bacteria. Cutting back on the sulfur-rich foods listed above, even temporarily, often produces a noticeable difference within a day or two. This doesn’t mean eliminating vegetables from your diet; it means being aware that a meal heavy in eggs, broccoli, and garlic is going to give your gut bacteria plenty to work with.

Bismuth, the active ingredient in some over-the-counter stomach medications, binds to hydrogen sulfide in the gut and can reduce the sulfur smell of gas. Research in animal models has shown that bismuth compounds inhibit the activity of sulfate-reducing bacteria and reduce sulfide production. The trade-off is that bismuth can turn your tongue and stool black, which is harmless but startling if you’re not expecting it.

Probiotics may shift the balance of gut bacteria over time, though the effects on gas odor specifically are inconsistent and vary by strain. A more reliable strategy is simply increasing the speed of digestion through regular physical activity, adequate water intake, and fiber from non-sulfur sources like oats, rice, and most fruits. Faster transit means less time for bacteria to produce sulfur gases from whatever you’ve eaten.