Your farts smell bad because of sulfur compounds produced by bacteria in your large intestine. The main culprit is hydrogen sulfide, the same chemical responsible for the smell of rotten eggs. Everyone produces some of these compounds, but the amount varies dramatically based on what you eat, which bacteria live in your gut, and how well you digest certain foods.
The Sulfur Compounds Behind the Smell
Most of the gas you pass is actually odorless. About 99% of flatulence is made up of nitrogen, oxygen, carbon dioxide, hydrogen, and methane, none of which have a noticeable smell. The stink comes from trace sulfur-containing gases that make up roughly 1% of the mix but pack a disproportionate punch to your nose.
Research published in the journal Gut identified three gases responsible for foul-smelling flatulence. Hydrogen sulfide is typically the most abundant, producing that classic rotten egg odor. Methanethiol, the second most common, smells like decomposing vegetables. Dimethyl sulfide rounds out the trio with a slightly sweeter but still unpleasant scent. The ratio of these three gases varies from person to person and even from one episode to the next, which is why some farts smell distinctly worse than others.
High-Protein Diets Are a Major Factor
If you’ve recently increased your protein intake, that’s a likely explanation. Dietary protein from meat is one of the most important fuel sources for sulfide-producing bacteria in your colon. A controlled feeding study in The American Journal of Clinical Nutrition found a direct, dose-dependent relationship between meat consumption and fecal sulfide levels. Participants eating 600 grams of meat per day had sulfide concentrations more than 15 times higher than those eating none. The connection was statistically significant and consistent: more meat in, more sulfur gas out.
The mechanism is straightforward. When protein isn’t fully absorbed in your small intestine, it reaches the colon, where bacteria break down the sulfur-containing amino acids in that protein. This bacterial digestion (putrefaction, technically) releases hydrogen sulfide as a byproduct. The more undigested protein that reaches your colon, the worse things smell.
Sulfur-Rich Foods Beyond Meat
Protein isn’t the only dietary source of sulfur. Plenty of plant foods are loaded with sulfur compounds that gut bacteria happily convert into smelly gas. The most notable offenders include cruciferous vegetables like broccoli, Brussels sprouts, red cabbage, and radishes. Allium vegetables (onions, leeks, garlic) are also high in sulfur. Eggs, certain cheeses like cheddar and Parmesan, legumes (especially soybeans and black beans), and even dried fruits like apricots and figs contribute to the sulfur pool.
Beverages matter too. Beer, wine, and cider contain sulfur compounds that can feed the process. So do condiments like mustard and horseradish. If you recently changed your diet to include more of any of these foods, that shift alone could explain why your gas has gotten noticeably worse.
Your Gut Bacteria Determine the Intensity
Two people can eat the exact same meal and produce very different smelling gas. The difference comes down to the specific bacteria colonizing their large intestines. A family of bacteria called sulfate-reducing microbes does most of the heavy lifting when it comes to producing hydrogen sulfide. The most common species in the human gut belong to the Desulfovibrionaceae family, along with a species called Bilophila wadsworthia.
These bacteria thrive on sulfur-containing compounds. When you eat a sulfur-heavy diet, you’re essentially feeding them their preferred fuel, which can encourage them to multiply. The more sulfate-reducing bacteria you harbor, the more efficiently your gut converts dietary sulfur into foul-smelling gas. This is one reason some people seem to produce consistently worse-smelling flatulence than others, even on a similar diet. Their microbial community is simply better equipped for sulfide production.
Food Intolerances Make It Worse
If you can’t properly digest certain sugars, the undigested material ferments rapidly in your colon, producing both more gas and smellier gas. Lactose intolerance is the most common example. When your body can’t break down the sugars in dairy, gut bacteria do it instead through fermentation, a process that generates gas as a direct byproduct.
Lactose isn’t the only problem sugar. Fructose (found in honey, corn syrup, and many fruits) and sugar alcohols like sorbitol (found in sugar-free gum and some stone fruits) can trigger the same fermentation cascade in people who absorb them poorly. These short-chain carbohydrates are collectively known as FODMAPs, and sensitivity to them is especially common in people with irritable bowel syndrome. A low FODMAP diet, developed by researchers at Monash University, can help identify which specific foods trigger your symptoms by systematically removing and reintroducing them.
How Much Gas Is Actually Normal
The long-standing estimate was that people pass gas about 14 times a day, give or take six. But newer research from the University of Maryland suggests that number is far too low. In a controlled study, the average was 32 times per day. One participant clocked 59, and unpublished data from the same research group has recorded well over 100 episodes in a single day.
The point is that passing gas frequently is normal, and having some odor is normal too. The smell becomes a concern only when it changes noticeably, gets significantly worse, or comes alongside other symptoms.
Medical Conditions That Cause Foul Gas
Sometimes persistently terrible-smelling gas signals something beyond diet. Small intestinal bacterial overgrowth (SIBO) occurs when bacteria that normally live in the large intestine colonize the small intestine, where they ferment carbohydrates before your body has a chance to absorb them. This produces excess gas along with bloating, abdominal pain, diarrhea or constipation, nausea, fatigue, and sometimes unintentional weight loss. SIBO can also cause fat malabsorption, which makes stool oily and unusually foul-smelling.
Other conditions worth knowing about include celiac disease (an immune reaction to gluten that damages the small intestine and impairs nutrient absorption), parasitic infections like giardia, and inflammatory bowel diseases. All of these disrupt normal digestion, allowing more undigested material to reach the colon where bacteria ferment it into smelly gas. If your gas has changed suddenly, or if you’re also experiencing abdominal pain, persistent diarrhea or constipation, or unexplained weight loss, those combinations point toward something that needs medical evaluation.
Practical Ways to Reduce the Smell
The most effective approach is dietary. Since sulfur compounds drive the odor, reducing your intake of high-sulfur foods will directly reduce how much raw material your gut bacteria have to work with. You don’t need to eliminate everything at once. Try cutting back on the biggest contributors (red meat, eggs, cruciferous vegetables, onions, garlic) for a week and see if the smell improves. Then reintroduce foods one at a time to identify your personal triggers.
If you suspect a food intolerance, a structured low FODMAP elimination diet can help pinpoint which carbohydrates are fermenting excessively in your gut. This is particularly useful if smelly gas comes with bloating and irregular bowel habits.
For a more immediate fix, bismuth subsalicylate (the active ingredient in Pepto-Bismol) binds to hydrogen sulfide in the colon and neutralizes it. Research has confirmed it reduces gas odor, though it’s intended as a short-term solution rather than a daily habit. It also turns your stool black temporarily, which is harmless but worth knowing about so it doesn’t alarm you.
Balancing your protein intake matters too. If you’re eating large amounts of protein, especially from meat or protein supplements, consider whether your body is actually absorbing all of it. Spreading protein across smaller meals rather than loading it into one or two sittings gives your small intestine more time to digest it before it reaches the colon.

