Farts smell because of tiny amounts of sulfur-containing gases produced by bacteria in your large intestine. These gases make up less than 1% of total flatulence volume, but your nose is extraordinarily sensitive to them, detecting the signature rotten-egg scent at concentrations as low as 0.5 parts per billion.
The Sulfur Gases Behind the Smell
Most of a fart is odorless. The bulk is nitrogen, hydrogen, carbon dioxide, methane, and oxygen. The smell comes from a small group of sulfur compounds, with hydrogen sulfide being the dominant offender. A study published in the journal Gut measured the sulfur content of human flatulence and found hydrogen sulfide was the primary malodorous component, present at about five times the concentration of the next culprit, methanethiol. A third compound, dimethyl sulfide, contributed in even smaller amounts. The strength of the smell correlated directly with hydrogen sulfide concentration.
Your nose is built to notice these compounds at remarkably low levels. According to the Agency for Toxic Substances and Disease Registry, humans can detect hydrogen sulfide at just 0.5 parts per billion. For context, that’s roughly equivalent to a single drop in an Olympic swimming pool. This extreme sensitivity likely evolved as a warning system, since hydrogen sulfide is toxic at high concentrations. In the tiny amounts found in flatulence, though, it’s harmless.
How Gut Bacteria Create the Stink
The smell originates in your colon, where trillions of bacteria break down food your stomach and small intestine couldn’t fully digest. A specific group called sulfate-reducing bacteria are the main producers of hydrogen sulfide. They do exactly what their name suggests: they take sulfate compounds from food and convert them into hydrogen sulfide gas as a metabolic byproduct.
The most common of these bacteria belong to a genus called Desulfovibrio, which accounts for roughly 66% of all sulfate-reducing bacteria in the colon. Other genera like Desulfobulbus, Desulfobacter, and Desulfotomaculum contribute as well. Everyone carries these bacteria, but the balance varies from person to person, which is one reason some people produce noticeably smellier gas than others. The composition of your gut microbiome, shaped by diet, genetics, antibiotic history, and other factors, determines how much sulfur gas gets produced from any given meal.
Foods That Make Gas Smell Worse
The more sulfur-containing compounds you eat, the more raw material your gut bacteria have to work with. Two sulfur-rich amino acids found in most proteins, methionine and cysteine, are major contributors. This means high-protein foods like meat, eggs, and dairy tend to produce smellier gas than carbohydrate-heavy meals, which generate more gas by volume but with less odor.
Some of the strongest dietary triggers include:
- Garlic, onions, leeks, and chives: These allium vegetables are packed with sulfur compounds, including the same molecules responsible for their pungent raw flavor.
- Cruciferous vegetables: Broccoli, cauliflower, cabbage, and Brussels sprouts contain sulfur-based compounds that gut bacteria readily convert to hydrogen sulfide.
- Aged cheeses and dairy: Ripened cheeses like Camembert, Limburger, and Cheddar contain sulfur compounds developed during fermentation.
- Dried fruits and wine: Sulfur dioxide and sulfite preservatives are commonly added during processing, providing another source of sulfur for gut bacteria.
Even green vegetables like spinach and lettuce contain a sulfur-based sugar called sulfoquinovose that gut bacteria can metabolize. Cooked foods including bread, potato products, nuts, and coffee also contain sulfur compounds formed during heating. In short, sulfur is nearly impossible to avoid entirely, which is why all flatulence has at least some odor potential.
Why Some Farts Smell and Others Don’t
Not every fart smells the same because the composition changes depending on what you ate and when. Gas produced primarily from fiber fermentation (beans, whole grains, fruits) tends to be high in hydrogen and carbon dioxide but relatively low in sulfur gases. You might pass a large volume of gas with little odor. Gas produced from protein digestion or sulfur-rich foods, on the other hand, may be quieter and smaller in volume but far more pungent.
Timing matters too. Your colon takes hours to process a meal, so the smelliest gas from a steak dinner might not arrive until the following morning. The average person passes gas around 10 to 20 times per day, with total daily volume ranging from about 500 to 1,500 milliliters. Most of those episodes are odorless or mild. The truly memorable ones happen when a sulfur-heavy meal reaches the right bacterial population at the right time.
When Smelly Gas Signals Something Else
Persistently foul-smelling gas, especially when paired with other symptoms, can point to digestive problems. Lactose intolerance is one of the most common causes. When your small intestine doesn’t produce enough of the enzyme needed to break down milk sugar, that sugar passes undigested into the colon, where bacteria ferment it aggressively, producing excess gas and bloating.
Malabsorption conditions follow a similar pattern. In celiac disease and Crohn’s disease, damage to the intestinal lining prevents nutrients from being properly absorbed. The undigested material ferments in the colon, often producing unusually foul-smelling gas alongside symptoms like diarrhea, weight loss, and greasy stools. Small intestinal bacterial overgrowth, where abnormally large populations of bacteria colonize the small intestine, can also cause excessive smelly gas because food gets fermented earlier and more aggressively than normal.
Occasional smelly flatulence after a rich meal is completely normal. A sustained change in gas odor that comes with abdominal pain, changes in stool, or unexplained weight loss is worth investigating further.