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 a fart’s total volume, but your nose is extraordinarily sensitive to them, detecting concentrations as low as 0.5 parts per billion.
What’s Actually in a Fart
The bulk of intestinal gas is completely odorless. About 99% consists of nitrogen, oxygen, carbon dioxide, hydrogen, and sometimes methane. None of these have any smell. You could pass enormous volumes of these gases and nobody would notice (aside from the sound).
The remaining fraction, well under 1%, is where the stink comes from. Three sulfur compounds do most of the work. Hydrogen sulfide is the dominant one, producing the classic rotten-egg smell. It’s present at roughly five times the concentration of the next compound, methanethiol, which smells like rotting vegetables. The third, dimethyl sulfide, adds a slightly sweeter but still unpleasant note. The ratio of these three compounds varies from person to person and meal to meal, which is why not all farts smell the same.
Why Your Nose Picks Up So Little
The reason such a small amount of gas can clear a room comes down to human biology. According to the CDC’s Agency for Toxic Substances and Disease Registry, the human nose can detect hydrogen sulfide at concentrations as low as 0.5 parts per billion. To put that in perspective, if you filled a billion tiny balloons with air, only one of them would need to contain hydrogen sulfide for you to smell it. This extreme sensitivity likely evolved as a protective mechanism, since hydrogen sulfide is toxic at high concentrations. At the trace levels found in flatulence, it’s harmless, but your nose treats it as an urgent signal anyway.
Where the Sulfur Comes From
Your large intestine hosts trillions of bacteria that break down food your small intestine couldn’t fully absorb. When those bacteria encounter sulfur-containing amino acids from protein, they produce hydrogen sulfide and the other sulfur gases as byproducts. The more sulfur-rich food that reaches your colon, the smellier the result.
Foods high in sulfur compounds are the usual suspects. Cruciferous vegetables like broccoli, cauliflower, cabbage, and Brussels sprouts are rich in sulfur-containing molecules. Eggs, red meat, dairy, garlic, and onions also deliver significant sulfur to your gut bacteria. Beans and legumes, while famous for causing gas, primarily increase the volume of odorless gases like hydrogen. They make you gassy, but not necessarily smelly. It’s the steak next to the beans that tends to add the odor.
Beer and wine can also contribute, since the fermentation process creates sulfur compounds that your gut bacteria then metabolize further.
Why Some Farts Smell Worse Than Others
Several factors determine whether a particular episode is mild or room-clearing. The biggest variable is diet. A high-protein meal, especially one heavy in eggs or red meat, delivers more sulfur to your colon bacteria than a meal built around rice and fruit. People who eat more protein consistently tend to produce smellier gas.
Your gut microbiome matters too. Everyone’s bacterial population is slightly different, and some people harbor more sulfur-metabolizing species than others. This is partly why two people can eat the same meal and have very different results. Antibiotics, illness, and long-term dietary patterns all shift the composition of your gut bacteria over time, which can change the smell of your gas.
Transit time plays a role as well. When food moves slowly through your intestines, bacteria have more time to ferment it, producing more sulfur gases. Constipation, dehydration, and low-fiber diets all slow things down and can make gas more pungent.
When Smelly Gas Signals a Problem
Consistently foul-smelling gas, especially when paired with bloating, diarrhea, or greasy stools, can point to malabsorption. This happens when your small intestine fails to properly absorb nutrients, sending undigested food to your colon where bacteria ferment it aggressively. Carbohydrates that aren’t absorbed get broken down into excess gas and short-chain fatty acids. Fats that pass through unabsorbed cause particularly smelly, greasy stools.
Celiac disease and inflammatory bowel disease are among the conditions that cause widespread malabsorption. Lactose intolerance is the most common food-specific form: undigested lactose reaches the colon and gets fermented into gas. Infections that damage the intestinal lining, such as tropical sprue, can also trigger malabsorption. If your gas has become noticeably worse over weeks or months and you’re experiencing other digestive symptoms, the smell may be pointing toward an underlying issue worth investigating.
How to Reduce the Smell
Since sulfur compounds are the direct cause, reducing the sulfur reaching your colon is the most straightforward approach. Cutting back on high-sulfur foods like eggs, cruciferous vegetables, and red meat for a few days will typically produce a noticeable difference. This doesn’t mean avoiding these foods permanently. They’re nutritious. But if you have an important meeting tomorrow, maybe skip the broccoli-and-egg stir-fry tonight.
Bismuth subsalicylate, the active ingredient in Pepto-Bismol, binds to hydrogen sulfide in the colon. Research published in the journal Gastroenterology found that it reduced hydrogen sulfide release in the colon by more than 95%. It won’t reduce the volume of gas you pass, but it significantly cuts the odor. This is a short-term option, not something to take daily without guidance.
Increasing fiber from non-sulfur sources (oats, psyllium, most fruits) can help speed up intestinal transit, giving bacteria less time to produce sulfur gases. Staying hydrated has a similar effect. Probiotics may shift your microbiome over time, though results vary widely between individuals and products.

