Farts smell bad 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. Hydrogen sulfide, the most significant culprit, can be detected at concentrations as low as 0.5 parts per billion.
What Actually Makes the Smell
Most of the gas you pass is completely odorless. Your intestines produce between 500 and 2,000 milliliters of gas per day, and the bulk of it is nitrogen, oxygen, carbon dioxide, hydrogen, and sometimes methane. None of those have any smell at all. The average person passes gas about 15 times a day, and most of those events go unnoticed precisely because odorless gases dominate the mix.
The smell comes from trace sulfur gases, primarily hydrogen sulfide (the classic rotten-egg compound), along with smaller contributions from methanethiol and dimethyl sulfide. Even in vanishingly small quantities, these compounds pack a punch. According to the Agency for Toxic Substances and Disease Registry, the human nose can pick up hydrogen sulfide at concentrations as low as 0.0005 parts per million. That’s an almost absurdly low detection threshold, which explains why a tiny whiff of sulfur gas can fill a room.
The Bacteria Behind the Stink
Your colon hosts trillions of bacteria, and a specific group of them, called sulfate-reducing bacteria, are responsible for the odor. Species like Desulfovibrio piger consume hydrogen produced by other gut microbes and, in the process, convert sulfur-containing compounds into hydrogen sulfide. These bacteria are a normal part of the human gut ecosystem, not a sign that anything is wrong.
The amount of hydrogen sulfide they produce varies significantly from person to person, even when people eat the same diet. Your individual mix of gut bacteria determines how efficiently sulfur gets converted into smelly gas. This is why two people can eat the same meal and have very different results in the odor department.
Why Certain Foods Make It Worse
Diet is the biggest lever you have over how your gas smells, and it works through two separate mechanisms: sulfur content and fiber content.
Sulfur-rich foods give those bacteria more raw material to work with. Animal protein is a major source, because it’s packed with sulfur-containing amino acids like cysteine and methionine. Controlled feeding studies have shown that diets heavy in animal protein increase the sulfide content of stool and gas compared to plant-based, high-fiber diets. Cruciferous vegetables like broccoli, cauliflower, cabbage, and Brussels sprouts also contain sulfur compounds, which is why they’re notorious for producing pungent gas. Eggs, garlic, onions, and dried fruit are other common triggers. Even the dietary supplement chondroitin sulfate has been shown to boost hydrogen sulfide levels in the gut.
Fiber and complex carbohydrates, on the other hand, tend to increase gas volume without necessarily making it smellier. Beans are a perfect example. They contain oligosaccharides called raffinose and stachyose, sugars that humans can’t break down on their own. When these reach the colon undigested, bacteria ferment them enthusiastically, producing lots of gas. But because the fermentation products are mostly hydrogen and carbon dioxide rather than sulfur compounds, the result is often more gas that’s relatively mild in odor. So beans may make you gassy, but the smell factor depends more on what else you ate alongside them.
Volume vs. Odor: Two Different Problems
It’s worth separating the question of “why do I fart so much?” from “why do my farts smell so bad?” because they have different answers. High volume typically comes from fermentable carbohydrates: beans, lentils, whole grains, and foods containing lactose or fructose that you might not fully digest. Swallowed air from eating quickly, chewing gum, or drinking carbonated beverages also adds to volume.
Bad smell, on the other hand, is almost entirely about sulfur. A low-volume fart from a steak dinner can be far more offensive than a high-volume one from a bowl of lentil soup. When people complain about smell specifically, the answer nearly always traces back to sulfur-containing foods or the particular balance of sulfate-reducing bacteria in their gut.
When Smelly Gas Signals Something Else
Persistently foul-smelling gas, especially when paired with other symptoms, can point to digestive conditions worth investigating. Small intestinal bacterial overgrowth (SIBO) occurs when bacteria proliferate in the small intestine where they don’t normally thrive in large numbers, producing extra gas along with diarrhea and weight loss. Celiac disease, lactose intolerance, and fructose intolerance all involve incomplete digestion of specific nutrients, which leaves more undigested material for bacteria to ferment in the colon.
Irritable bowel syndrome and other functional GI disorders can also amplify gas symptoms. In some cases, the issue isn’t that you’re producing more gas than average but that your gut is more sensitive to normal amounts of it. If smelly gas comes with persistent bloating, unexplained weight loss, changes in stool consistency, or abdominal pain, those are signs that something beyond diet may be involved.
How to Reduce the Smell
Since sulfur drives the odor, reducing sulfur intake is the most direct approach. Cutting back on red meat, eggs, and cruciferous vegetables for a few days can make a noticeable difference. Shifting toward a more plant-based, higher-fiber diet has been shown in feeding studies to lower fecal sulfide levels, though the transition itself may temporarily increase gas volume as your gut bacteria adjust to the new fuel source.
Eating more slowly reduces the amount of air you swallow, which cuts total gas volume. Cooking beans thoroughly and soaking them before cooking helps break down some of the oligosaccharides responsible for excessive fermentation. Gradually increasing fiber intake rather than jumping in all at once gives your microbiome time to adapt, which typically reduces both volume and discomfort over a few weeks.
Your gut bacteria are adaptable. The composition of your microbiome shifts in response to consistent dietary changes, so what makes you gassy today may not have the same effect a month from now if your eating patterns change. The bacteria that thrive on your usual diet are the ones that determine what your gas smells like, and that population is always in flux.

