What Makes Farts Stink? Science Behind the Smell

The smell of farts comes from sulfur-containing gases that make up less than 1% of the total gas you pass. The vast majority of a fart is odorless: nitrogen, oxygen, carbon dioxide, hydrogen, and sometimes methane. The stink is produced by tiny amounts of sulfur compounds created when bacteria in your large intestine break down specific foods.

The Sulfur Compounds Behind the Smell

Three sulfur-containing gases do most of the damage. Hydrogen sulfide is the primary culprit, producing the classic rotten-egg smell. A study published in the journal Gut found that the intensity of fart odor correlated directly with hydrogen sulfide concentration. The second compound, methanethiol, smells like rotten cabbage and is detectable by the human nose at concentrations as low as 1 to 2 parts per billion. The third, dimethyl sulfide, adds another layer of cabbage-like stench. All three are produced in tiny quantities, but their odor thresholds are remarkably low, meaning even trace amounts hit your nose hard.

Here’s the thing that surprises most people: the volume of gas you pass has almost nothing to do with how bad it smells. A loud, impressive fart can be virtually odorless if it’s mostly hydrogen and carbon dioxide. A small, silent one can be devastating if it’s rich in sulfur compounds. The smell is about chemistry, not quantity.

How Gut Bacteria Create the Stink

Your large intestine is home to trillions of bacteria, and several types specialize in producing hydrogen sulfide. The biggest producers are sulfate-reducing bacteria, organisms that use sulfate the way your cells use oxygen. They “breathe” sulfate and exhale hydrogen sulfide as a waste product. The most common genus, Desulfovibrio, accounts for roughly 66% of all sulfate-reducing bacteria in the colon.

These bacteria aren’t the only ones contributing. Many common gut microbes, including strains of E. coli, Clostridium, and Streptococcus, carry enzymes that strip sulfur from the amino acid cysteine and release hydrogen sulfide in the process. So the stink comes from two bacterial pathways working simultaneously: one group breaks down sulfate from your food, and another dismantles sulfur-containing amino acids from protein.

Your personal microbiome composition matters. Someone with a higher population of sulfate-reducing bacteria will generally produce smellier gas than someone with fewer of those organisms, even eating the same meal.

Foods That Make It Worse

The sulfur has to come from somewhere, and your diet is the supply chain. Foods high in sulfur-containing compounds give gut bacteria more raw material to work with.

  • Cruciferous vegetables like broccoli, cauliflower, cabbage, Brussels sprouts, and arugula contain glucosinolates, sulfur-rich compounds responsible for their characteristic bitter, pungent flavor. When gut bacteria ferment these, sulfur gases are a byproduct.
  • High-protein foods like red meat, eggs, and dairy are rich in the sulfur-containing amino acids cysteine and methionine. Bacteria in the colon break these down directly into hydrogen sulfide and methanethiol.
  • Alliums like garlic, onions, and leeks are packed with sulfur compounds that survive digestion and reach the colon.
  • Beer and wine contain sulfites, which sulfate-reducing bacteria can convert to hydrogen sulfide.

Beans, on the other hand, are famous for producing gas but not necessarily smelly gas. They contain complex carbohydrates that bacteria ferment into hydrogen and carbon dioxide, which are odorless. A big bean meal might make you gassy, but the farts often won’t clear a room the way a steak dinner can.

Why Some Farts Are Worse Than Others

Day-to-day variation in fart smell is normal and usually tracks with what you ate 12 to 48 hours earlier. A meal heavy in both protein and cruciferous vegetables delivers a double dose of sulfur precursors to your colon. Alcohol can compound the effect by providing sulfites and altering gut motility, giving bacteria more time to ferment.

Transit time plays a role too. When food moves slowly through your intestines, bacteria have longer to work on it, producing more sulfur gases. This is one reason constipation can lead to particularly foul-smelling gas. Conversely, when things move quickly (during a bout of diarrhea, for instance), there’s less fermentation time and often less odor.

When Smelly Gas Signals Something Else

Passing gas 14 to 23 times a day is the normal range for healthy adults, and some odor is completely expected. But a persistent change toward unusually foul-smelling gas, especially paired with bloating, diarrhea, or abdominal pain, can point to a few conditions worth knowing about.

Lactose intolerance is one of the most common. When you lack sufficient lactase enzyme, undigested lactose reaches the colon and gets fermented aggressively by bacteria, producing both excess gas and foul odors. Small intestinal bacterial overgrowth (SIBO) is another possibility. In SIBO, bacteria colonize parts of the small intestine where they don’t normally thrive, consuming nutrients before your body can absorb them and producing gas higher up in the digestive tract. This can cause intensely smelly flatulence along with bloating and nutrient deficiencies.

Other malabsorption conditions, including celiac disease and pancreatic insufficiency, can send undigested fats and carbohydrates to the colon, feeding bacterial fermentation and increasing both the volume and smell of gas. If your farts have become dramatically worse without an obvious dietary explanation, that shift is worth paying attention to.

Can You Make Your Farts Smell Less?

Since the smell is driven by sulfur, the most direct approach is reducing sulfur intake. Cutting back on red meat, eggs, and cruciferous vegetables will lower the amount of raw material reaching your colon bacteria. This doesn’t mean eliminating these foods entirely (many are nutritious), but spacing them out or reducing portions at a single meal can help.

Eating more slowly and chewing thoroughly reduces the amount of undigested food that reaches the colon. Staying hydrated and physically active supports regular bowel transit, limiting the time bacteria have to produce sulfur gases. Some people find that probiotic foods or supplements shift their microbiome composition in ways that reduce odor, though results vary significantly from person to person.

Zinc-based supplements have shown some ability to bind hydrogen sulfide in the gut, and activated charcoal underwear liners have been tested with modest success at trapping odor before it escapes. But for most people, the simplest fix is dietary: less sulfur in means less sulfur out.