Why Does My Poop Smell So Bad? Causes and When to Worry
Healthy stool smells. It's supposed to. What matters is when the smell changes, and how much. Truly foul stool - the sewer, rotten-egg, or barn-like kind that clears a room - usually points to one of three things: sulfur compounds from what you ate, protein fermenting in your colon because it didn't get absorbed, or something disrupting your gut microbiome.
Below is the actual chemistry of stool odor, every reasonable cause worth knowing, and the specific patterns that mean call a doctor rather than close the bathroom door.
- Stool odor comes mostly from three compounds: hydrogen sulfide, indole, and skatole, produced when gut bacteria ferment protein and sulfur-rich food
- The most common everyday cause of stinky poop is a diet heavy in sulfur foods (eggs, meat, dairy, cruciferous vegetables) or protein
- Persistently foul, pale, greasy, floating stool suggests fat malabsorption - celiac disease and exocrine pancreatic insufficiency are the classic causes
- Infections like Giardia and C. difficile produce distinct, especially foul odors and usually come with diarrhea, cramping, or recent antibiotic use
- Antibiotics themselves change stool smell for weeks by disrupting the microbes that finish digestion
- Isolated smelly stool with no other symptoms is almost never dangerous; foul stool plus weight loss, blood, fever, or lasting change in bowel habits is
What Actually Makes Poop Smell
Stool odor is a byproduct of fermentation. Your small intestine absorbs most nutrients, but whatever slips through - undigested protein, unabsorbed carbohydrates, fiber, sulfur compounds - reaches the colon, where trillions of bacteria go to work. The molecules they release are what you smell.
Three compounds do most of the damage:
- Hydrogen sulfide. The rotten-egg gas. Produced when sulfate-reducing bacteria break down sulfur-containing amino acids (cysteine, methionine) and dietary sulfates. High-protein diets and cruciferous vegetables both feed this pathway (Microbiota and malodor review, PMC).
- Skatole. The signature "poop smell." Formed when gut bacteria - primarily Clostridium species - metabolize tryptophan, an amino acid found in most protein-rich foods. A dedicated enzyme, indoleacetate decarboxylase, was mapped in 2018 (Liu et al., 2018).
- Indole. A sharp, pungent cousin of skatole, also from tryptophan fermentation. In very small concentrations indole smells almost floral, which is why it turns up in perfume; in stool concentrations, it's unmistakably fecal.
The pattern that follows from this: more protein reaching the colon, more sulfur in the diet, or slower transit that gives bacteria more fermentation time all push stool smell in the wrong direction. That framing covers most of the causes below.
Cause #1: What You Ate (Sulfur and Protein)
This is the boring answer, and it's the right answer most of the time. If your stool suddenly smells worse than usual and you feel fine otherwise, scan back over the last day. The usual suspects are the foods that carry the most sulfur or drive the most protein fermentation:
- Eggs. Yolks are dense with cysteine and methionine. A three-egg breakfast is a reliable way to make the bathroom miserable tomorrow.
- Red meat and processed meat. High protein plus sulfate additives in cured products.
- Cruciferous vegetables. Broccoli, cauliflower, cabbage, Brussels sprouts, kale, and bok choy contain glucosinolates that release hydrogen sulfide during digestion.
- Alliums. Garlic, onions, leeks, shallots. Sulfur compounds are what give them their flavor and their aftereffect.
- Dairy, especially cheese. Aged cheeses contribute sulfur; anyone with lactose intolerance also gets extra fermentation from undigested lactose reaching the colon.
- Dried fruit and wine. Both are commonly preserved with sulfites, and both often show up before a notably smelly stool.
- Alcohol. Beer and wine change gut motility and microbiome composition; both are associated with more pungent stool the next day.
Dietary smell shifts usually resolve within one or two bowel movements. If you can trace the smell to a meal, that's your answer. Cutting the offending food temporarily and reintroducing it is the cleanest way to confirm - we walked through the same approach in our IBS food triggers guide, and it works just as well for identifying odor drivers.
Cause #2: Malabsorption (Steatorrhea)
When the small intestine fails to absorb fat, that fat continues into the colon, where bacteria go after it with enthusiasm. The result is steatorrhea: bulky, pale, greasy stool that floats, is hard to flush, and smells much worse than normal stool. This is one of the most clinically important patterns in this article. If you're seeing it consistently, don't just note it - get evaluated.
Clinically, steatorrhea is defined as more than 7 grams of fat per day in stool, though the practical bedside definition is the appearance and float test (StatPearls, NCBI). The odor comes from a mix of unabsorbed fatty acids being converted to hydroxy fatty acids by colonic bacteria and the general acceleration of bacterial fermentation on undigested nutrients.
The three big causes of steatorrhea:
- Celiac disease. Gluten damages the small intestine's villi, and damaged villi don't absorb fat. Pale, foul, floating stool is a textbook celiac presentation, often alongside weight loss, iron-deficiency anemia, and bloating (NIDDK on celiac disease).
- Exocrine pancreatic insufficiency (EPI). The pancreas doesn't secrete enough digestive enzymes, so fat isn't broken down and absorbed. Common in chronic pancreatitis, cystic fibrosis, pancreatic cancer, and after certain GI surgeries.
- Bile acid deficiency or malabsorption. Bile emulsifies fat so enzymes can act on it. Liver disease, gallbladder removal, and Crohn's disease affecting the terminal ileum can all impair this step.
The tell isn't just smell - it's smell plus a distinctive stool: pale (yellow to gray to clay), oily on the surface, floats, difficult to flush, sticks to the bowl. If that pattern shows up for more than a few days, it's worth a call to a doctor. Our stool color chart covers why pale stool alone warrants evaluation - liver and biliary problems are on the differential.
Cause #3: Infections
GI infections are one of the most common medical causes of stool that smells noticeably worse than usual. The offenders have distinct signatures:
- Giardia lamblia. A parasite picked up from contaminated water, day care exposure, or international travel. Classic presentation: sulfurous, greasy, floating diarrhea with sulfur burps, bloating, and weight loss. The parasite disrupts fat absorption directly (Johns Hopkins on giardiasis).
- Clostridioides difficile (C. diff). Watery, foul-smelling diarrhea, often described as sickly-sweet or barn-like, that follows recent antibiotic use or a hospital stay. The smell has been studied as a potential diagnostic clue, with mixed results (Rao et al., 2013), but the pattern - antibiotics plus new diarrhea plus that odor - deserves a call, since C. diff can be serious.
- Salmonella, Campylobacter, Shigella, E. coli. Bacterial gastroenteritis produces foul, often bloody diarrhea with cramping and fever. Usually short-lived; when it isn't, it needs evaluation.
- Norovirus and rotavirus. Viral gastroenteritis. Usually resolves in 1 to 3 days; the smell tracks with rapid transit and disrupted flora.
- Helicobacter pylori. Often silent, sometimes presents with foul stool alongside dyspepsia and bloating.
The common thread with infections is that smell isn't alone. Diarrhea, cramping, fever, blood, or a recent travel or antibiotic exposure are all part of the picture. If you're seeing those, our guide to diarrhea causes covers when to hydrate and wait versus when to get seen.
Cause #4: Antibiotics and Medications
Antibiotics kill both harmful and beneficial gut bacteria. That includes the microbes that finish digesting protein and fat in a controlled way, so what's left overshoots into more aggressive fermentation. Foul stool during and for weeks after a course of antibiotics is expected, not abnormal on its own.
Other medications that reliably shift stool odor:
- Metformin. Speeds transit and alters gut flora; foul stool is a well-documented side effect.
- GLP-1 agonists (Ozempic, Wegovy, Mounjaro, Zepbound). Slow gastric emptying, alter fermentation timing, and change what reaches the colon. Smell changes are frequently reported alongside the more publicized constipation. We covered the mechanism in the Ozempic digestive side effects guide.
- Iron supplements. Unabsorbed iron feeds certain bacteria and can produce especially dark, foul stool.
- Orlistat (Alli, Xenical). Blocks fat absorption on purpose. Foul, oily stool is the mechanism working, not a side effect.
- Multivitamins and protein powders. Whey and casein concentrates in particular can drive protein fermentation if you're taking more than you can absorb.
Whether the medication is worth staying on despite the smell is a conversation for your prescriber, not for a blog post. But knowing which drug likely explains it takes the worry down considerably.
Cause #5: IBD, IBS, and Chronic GI Conditions
Chronic conditions that alter digestion or the gut microbiome can produce persistently foul stool as a background feature:
- Inflammatory bowel disease (Crohn's and ulcerative colitis). Both alter absorption, transit, and the microbiome. Foul, mucus-containing, sometimes bloody stool during flares is common (NIDDK on Crohn's disease).
- IBS. Especially IBS-D, where accelerated transit shifts fermentation patterns. Smell changes are not diagnostic but are frequently reported alongside the core symptoms in our signs of IBS guide.
- Small intestinal bacterial overgrowth (SIBO). Bacteria that belong in the colon set up shop in the small intestine, fermenting food before it can be absorbed. Foul stool with sulfur burps is one of the signature presentations of the hydrogen-sulfide-dominant SIBO subtype.
- Lactose intolerance and other carbohydrate malabsorption. Undigested lactose, fructose, or FODMAPs fermenting in the colon produces gas, cramping, and shifted odor.
- Chronic pancreatitis. Progressive loss of pancreatic enzyme function, often with alcohol use as a driver, produces the steatorrhea pattern above.
Cause #6: Constipation (Yes, Really)
Stool that sits in the colon for longer gives bacteria more time to ferment. That's why chronic constipation is associated with more pungent bowel movements when they finally happen. The mechanism is straightforward: extended fermentation of protein residue produces more indole, skatole, and sulfur gases per gram of stool.
If your bowel movements are infrequent (fewer than three per week), hard, and unusually smelly, the smell is usually the last thing on the fix-it list. Addressing transit time is what actually resolves it. Practical steps are covered in our constipation remedies guide.
What Different Smells Suggest
The medical literature is cautious about odor as a diagnostic marker, and rightly so - one 2013 study found nurses were poor at identifying C. diff by smell in blinded conditions. Still, some patterns are worth knowing:
- Rotten eggs / sulfur: Sulfur-heavy diet, giardiasis, hydrogen-sulfide SIBO, or high-protein diet with slow transit.
- Sickly sweet / barn-like: Classic anecdotal signature of C. diff, especially after recent antibiotics.
- Rancid / oily / uniquely foul: Steatorrhea. Look for pale color, floating, greasy sheen.
- Ammonia-like: Sometimes reported with heavy protein intake or in liver disease; worth mentioning to a doctor if persistent.
- Metallic: Occasionally reported with GI bleeding; if paired with black or bloody stool, treat as urgent.
- Chemically fruity or acetone-like: Rare, occasionally described in advanced diabetes and starvation-ketosis states; worth mentioning to a clinician.
None of these smells are diagnostic on their own. They are useful only alongside form, color, frequency, and any other symptoms.
When Smelly Poop Actually Needs a Doctor
Isolated foul stool without other symptoms almost never needs medical evaluation. The situations that do:
- Persistent pale, greasy, floating stool for more than a few days
- Foul stool with unexplained weight loss
- Diarrhea lasting more than 2 to 3 days, especially with fever above 102°F (38.9°C)
- Blood in the stool, or stool that is black and tarry
- Severe or worsening abdominal pain
- New foul stool after starting or finishing a course of antibiotics (possible C. diff)
- Foul stool after camping, well water, or international travel (possible Giardia)
- Nutritional deficiencies (iron, B12, vitamin D) that turn up on blood work with no other explanation
- A persistent, unexplained change in bowel habits lasting more than two weeks
The Cleveland Clinic threshold for evaluating changes in bowel habits is any sudden, unexplained change that persists more than a few weeks (Cleveland Clinic on changes in bowel habits). If you're not sure whether what you're seeing crosses that line, our when to see a gastroenterologist guide covers the decision points.
What to Do About It
Practical steps, in order of usefulness:
- Look at the last 24 to 48 hours of food. Eggs, cruciferous vegetables, garlic, alcohol, protein powder, dried fruit, aged cheese. If one of them jumps out, that's your answer.
- Check the stool itself. Not just smell. Pale? Greasy? Floating? Loose? Bloody? Those signals matter more than the smell in isolation.
- Note any recent medications. New antibiotic, new GLP-1, new iron supplement, new metformin dose all reasonably explain new smell.
- Hydrate and eat some fiber. Adequate fiber slows the runaway protein fermentation that drives most benign smell issues. Soluble fiber especially.
- Give it 48 hours. Most diet- and infection-driven smell shifts resolve in that window.
- Track it. A single stinky bowel movement is anecdote. Foul stool three days running with the same form and color is data a doctor can use.
The pattern that separates "eat less broccoli" from "get this looked at" isn't smell intensity. It's whether the smell shows up alone or comes with weight loss, pale greasy stool, blood, fever, or a bowel pattern that has changed and stayed changed. That's the line worth watching.
Smell, form, and food together tell you what's changed. Number Two lets you log all three in seconds, so patterns actually surface instead of getting lost.
Download for iOS - Free