Why does my poop smell so bad? Stool smells because gut bacteria break down what you did not digest, and the gases and compounds they release include ammonia and sulfur compounds[1]. Meat-heavy meals, antibiotics and stomach infections are the usual triggers[2][3][4]. A smell that lasts, or comes with greasy stools, weight loss or diarrhea, is the one to look into.
This page explains what produces the odor, which smells point where (and which do not), what you can try, and the specific signs that need a doctor. If the shape or texture of your stool concerns you more than the smell, start with our Bristol Stool Chart guide.
Get medical help promptly if your smelly stool comes with black, tarry or bloody stool, severe belly or rectal pain, signs of dehydration, a high fever, or diarrhea that lasts more than 2 days. These can signal infection, bleeding or malabsorption and need a clinician, not home care[4].
What makes poop smell in the first place?
The odor comes mostly from bacteria in your large intestine. A review of body odor describes microbes producing ammonia, volatile sulfur compounds and trimethylamine. How much builds up depends on diet, your microbiota and how well your liver, intestines and kidneys work[1].
Protein is the best-documented fuel. In a controlled feeding study, five healthy men ate five diets for 10 days each, from no meat to 600 g of meat a day. Fecal sulfide climbed from 0.22 to 3.38 mmol/kg across those diets, tracking meat intake[2]. In stool cultures from the same work, protein digestion produced sulfide and ammonia together[2]. The study was small, and 600 g of meat is far above a typical day, but the direction is clear.
The sulfur gas involved is hydrogen sulfide. Sulfur-containing amino acids drive it: in lab slurries of healthy human stool, adding the amino acid cysteine raised hydrogen sulfide output by about 1,557%, while inorganic sulfate had little effect[5]. The same gas explains why farts smell like sulfur and why some people get sulfur burps.
What do different poop smells mean?
Most smells do not identify a cause on their own. This table pairs the smells and stool features that sources do describe with the usual explanations.
| What you notice | Common explanation | What to do |
|---|---|---|
| Sulfur or rotten-egg smell after a high-protein or high-meat stretch | Bacteria turning sulfur-containing amino acids into hydrogen sulfide[2] | Note what you ate; try a few lower-meat days |
| Sharp, ammonia-like smell | Ammonia is released as bacteria break down protein[2][1] | Same as above; see below if it persists |
| Loose, greasy, pale or floating stool with a foul smell | Fat or nutrient malabsorption[4][6] | See a doctor if it keeps happening |
| Loose stool during or after antibiotics | Antibiotic-associated diarrhea, or in some cases C. difficile[3][4] | Call a doctor if diarrhea persists |
| Smelly, greasy stool with gas and cramps weeks after contaminated water or food | Giardia infection[7] | Get tested; it is treatable |
| Gas, bloating and loose, smelly stool after dairy | Lactose intolerance, which depends on dose, lactase level and your microbiome[8] | Try a low-lactose trial with your clinician |
Some smells are missing from that table on purpose. We found no clinical source that links a sweet, fruity, burnt-hair or fishy stool smell, or a bowel movement that smells like death, to a specific cause, so we do not assign one. The same goes for stool that does not smell at all. Mogilnicka and colleagues list ammonia, sulfur compounds and trimethylamine as the microbial odorants, but not which one a given person is smelling[1].
Why does poop smell like sulfur or rotten eggs?
Rotten-egg or sewer-like stool is almost always hydrogen sulfide from bacterial fermentation of protein, which is why it follows meat-heavy meals. Meat supplies sulfur amino acids, and the 600 g meat diet above produced about 15 times the fecal sulfide of the meat-free diet[2].
The microbes behind it include sulfate-reducing bacteria such as Desulfovibrio and Bilophila. You cannot easily diet them away: in a pilot crossover study of four healthy volunteers eating high- and low-sulfur-amino-acid diets for 10 to 14 days, the abundance of these bacteria did not change, and each person's baseline stayed stable over time[9]. The authors concluded that diet alone may be insufficient to target them quickly[9].
That leaves the amount of fuel, and the fiber that competes for it. In the same lab-slurry work, fermentable fibers cut hydrogen sulfide output sharply: resistant starch by 89% and fructo-oligosaccharides (FOS) by 82%, against under 35% for psyllium[5]. That is bench data, not a trial in people, so treat resistant starch and FOS as reasonable things to test, not a proven fix.
Why does my poop smell bad and look greasy or pale?
Foul, greasy, hard-to-flush stool points to fat that was not absorbed (steatorrhea). Fat malabsorption can come from exocrine pancreatic insufficiency, bile acid disorders or intestinal disease, and it can bring weight loss and fat-soluble vitamin deficiencies[6]. NIDDK lists "loose, greasy, foul-smelling bowel movements" with bloating, gas and appetite change as malabsorption symptoms[4].
Three causes come up most often:
- Pancreatic insufficiency. The AGA lists steatorrhea, weight loss, bloating, excessive flatulence and fat-soluble vitamin deficiency as its features. A fecal elastase below 100 μg/g of stool gives good evidence of it, and 100 to 200 μg/g is indeterminate[10].
- Celiac disease. Symptoms can include diarrhea, steatorrhea, weight loss, bloating and flatulence, though many people have none. Blood tests and biopsy must be done while you still eat gluten, so do not cut it out first[11].
- Giardia. CDC describes "smelly, greasy poop that can float" with gas and cramps. Symptoms typically start 1 to 2 weeks after infection and last 2 to 6 weeks[7].
Pale stool has its own causes, covered in our guide to pale or clay-colored stool, and the floating stool guide explains the gas-versus-fat question.
Can a smell tell you it is C. diff?
Not reliably. C. difficile infection happens when the bacterium produces a toxin that causes diarrhea and inflammation of the colon[12]. Antibiotics are a recognized risk because they disrupt the gut flora[4][3].
There is anecdotal evidence that C. difficile stool smells distinctive, but a 2019 study of 53 infected and 53 uninfected patients with diarrhea had to use lab instruments to find the difference. Seven volatile compounds separated the groups, including indole and p-cresol (the compound behind the p-cresol page), with accuracy scores (ROC areas) of 0.73 to 0.85[13]. That is promising for future point-of-care tests, not a reason to trust your nose[13]. Diagnosis needs a stool test, and the ACG guideline covers how it is confirmed and treated[12].
If you have had antibiotics in the past few weeks and now have watery, foul diarrhea with cramps or fever, call your doctor rather than waiting.
Is foul-smelling poop a sign of cancer?
Smell alone is not a recognized warning sign. A systematic review of studies in primary care ranked the features that best predict colorectal cancer: a palpable rectal or abdominal mass, rectal bleeding with weight loss, iron-deficiency anemia, blood mixed with stool, dark rectal bleeding, and a change in bowel habits[14]. Stool odor was not among the features listed in that review[14].
So the smell itself is not the warning sign. Blood, black stool, a lasting change in how often you go, unexplained weight loss or anemia are. Our black stool guide explains the harmless causes, such as iron and bismuth, and the signs of bleeding.
What can you try at home?
Start with a two-week log of what you ate, any new medicines, and what your stool looked and smelled like. The log is what a clinician will want to see, and it can show whether smell tracks specific foods.
- Check the obvious triggers. Count high-meat days; the feeding study above shows the dose-response link[2].
- Review new medicines. Antibiotics reduce gut microbial diversity and alter its metabolic activity, which can cause antibiotic-associated diarrhea[3]. Do not stop a prescribed drug without asking your prescriber.
- Test dairy. If bloating and loose, smelly stool follow milk or ice cream, a short low-lactose trial with your clinician is reasonable[8]. Lactose intolerance varies with dose and microbiome.
- Try more fermentable fiber gradually. The lab evidence above is encouraging but untested in people[5].
- Do not self-treat for weeks. If the smell has no clear food or medicine cause after a couple of weeks, get it checked. The farts guide covers odor remedies for gas.
Constant smell with IBS-type symptoms deserves a conversation too. The ACG IBS guideline suggests celiac blood tests and fecal calprotectin in people with IBS and diarrhea, and a limited low-FODMAP trial[15]. NIDDK also lists SIBO among digestive-tract problems that can cause chronic diarrhea[4].
When should you see a doctor?
Talk to a doctor right away for stool that is black and tarry or contains red blood or pus, severe abdominal or rectal pain, signs of dehydration (extreme thirst, dark urine, dizziness), frequent vomiting, or a change in mental state[4].
Adults should also get advice for diarrhea lasting more than 2 days, a high fever, or six or more loose stools a day. People who are pregnant, over 65, taking antibiotics or immunocompromised are more likely to run into trouble and should stay in touch with their doctor[4].
Book a routine visit if a foul smell lasts more than a couple of weeks with no clear food or medicine cause, if stools are persistently greasy or pale, or if you are losing weight without trying. Those are the features that sources tie to fat malabsorption, which is testable[10][6].
This article is for general educational purposes and is not medical advice. Stool odor alone cannot diagnose a condition, and a nose is not a test. Talk to a qualified healthcare professional before changing your diet or medicines because of a change in your stool, particularly if you are pregnant, immunocompromised, taking prescription medication, or managing a diagnosed condition.
Frequently Asked Questions
Can IBS make your poop smell bad?
We did not find stool odor listed as a feature of irritable bowel syndrome in the sources we reviewed. A new or lasting foul smell in someone with IBS-type symptoms is worth raising with a clinician, because the American College of Gastroenterology guideline suggests checking for celiac disease with blood tests and for inflammatory bowel disease with fecal calprotectin in people with IBS and diarrhea. Those conditions, not IBS itself, are the usual reason for a change.
What does pancreatitis poop smell like?
The sources we read describe the stool, not a specific scent. When the pancreas does not release enough digestive enzymes (exocrine pancreatic insufficiency), fat is not absorbed and stools become greasy and foul-smelling, often with weight loss, bloating and gas. The AGA lists steatorrhea, weight loss, bloating, excessive flatulence and fat-soluble vitamin deficiency as the typical features. A doctor can check it with a fecal elastase test.
What does bile smell like in stool?
We found no clinical source that describes the smell of bile in stool, so we will not guess. What the sources do say is that bile acids emulsify fat so it can be absorbed, and that bile acid disorders are one cause of fat malabsorption. That shows up as greasy, pale or floating stools with a strong odor, not as a distinct bile scent.
Why does my stool smell awful all of a sudden?
A sudden change most often follows a change in what you ate (a high-meat or high-sulfur day), a new medicine such as an antibiotic, or a gut infection. Meat is the best-documented dietary trigger: in a controlled feeding study of five men, fecal sulfide rose from 0.22 to 3.38 mmol/kg as meat went from 0 to 600 g a day. If the change comes with diarrhea lasting more than 2 days, fever, blood or weight loss, get medical advice.
My breastfed baby's poop suddenly smells bad. What could be causing this?
This guide covers adults, and we did not review infant-specific research, so we cannot explain a baby's stool odor. What NIDDK advises is to call a doctor for advice whenever an infant has diarrhea, and to seek help right away for diarrhea lasting more than a day, any fever in an infant, or refusing feeds for more than a few hours. Infants can become dehydrated within a day or two.
References
- Mogilnicka I, Bogucki P, Ufnal M. Microbiota and Malodor—Etiology and Management. International Journal of Molecular Sciences. 2020;21(8):2886. doi:10.3390/ijms21082886 ↩
- Magee EA, Richardson CJ, Hughes R, Cummings JH. Contribution of dietary protein to sulfide production in the large intestine: an in vitro and a controlled feeding study in humans. The American Journal of Clinical Nutrition. 2000;72(6):1488-1494. doi:10.1093/ajcn/72.6.1488 ↩
- Ramirez J, Guarner F, Bustos Fernandez L, Maruy A, Sdepanian VL, Cohen H. Antibiotics as Major Disruptors of Gut Microbiota. Frontiers in Cellular and Infection Microbiology. 2020;10:572912. doi:10.3389/fcimb.2020.572912 ↩
- National Institute of Diabetes and Digestive and Kidney Diseases. Symptoms & Causes of Diarrhea. NIDDK Health Information. 2024. Available at: https://www.niddk.nih.gov/health-information/digestive-diseases/diarrhea/symptoms-causes ↩
- Yao CK, Rotbart A, Ou JZ, Kalantar-Zadeh K, Muir JG, Gibson PR. Modulation of colonic hydrogen sulfide production by diet and mesalazine utilizing a novel gas-profiling technology. Gut Microbes. 2018;9(6):510-522. doi:10.1080/19490976.2018.1451280 ↩
- Omer E, Chiodi C. Fat digestion and absorption: Normal physiology and pathophysiology of malabsorption, including diagnostic testing. Nutrition in Clinical Practice. 2024;39(S1):S6-S16. doi:10.1002/ncp.11130 ↩
- Centers for Disease Control and Prevention. About Giardia Infection. CDC Giardia. 2026. Available at: https://www.cdc.gov/giardia/about/index.html ↩
- Misselwitz B, Butter M, Verbeke K, Fox MR. Update on lactose malabsorption and intolerance: pathogenesis, diagnosis and clinical management. Gut. 2019;68(11):2080-2091. doi:10.1136/gutjnl-2019-318404 ↩
- Dostal Webster A, Staley C, Hamilton MJ, et al.. Influence of short-term changes in dietary sulfur on the relative abundances of intestinal sulfate-reducing bacteria. Gut Microbes. 2019;10(4):447-457. doi:10.1080/19490976.2018.1559682 ↩
- Whitcomb DC, Buchner AM, Forsmark CE. AGA Clinical Practice Update on the Epidemiology, Evaluation, and Management of Exocrine Pancreatic Insufficiency: Expert Review. Gastroenterology. 2023;165(5):1292-1301. doi:10.1053/j.gastro.2023.07.007 ↩
- Rubio-Tapia A, Hill ID, Kelly CP, Calderwood AH, Murray JA. ACG Clinical Guidelines: Diagnosis and Management of Celiac Disease. American Journal of Gastroenterology. 2013;108(5):656-676. doi:10.1038/ajg.2013.79 ↩
- Kelly CR, Fischer M, Allegretti JR, et al.. ACG Clinical Guidelines: Prevention, Diagnosis, and Treatment of Clostridioides difficile Infections. American Journal of Gastroenterology. 2021;116(6):1124-1147. doi:10.14309/ajg.0000000000001278 ↩
- Patel M, Fowler D, Sizer J, Walton C. Faecal volatile biomarkers of Clostridium difficile infection. PLOS ONE. 2019;14(4):e0215256. doi:10.1371/journal.pone.0215256 ↩
- Del Giudice ME, Vella ET, Hey A, Simunovic M, Harris W, Levitt C. Systematic review of clinical features of suspected colorectal cancer in primary care. Canadian Family Physician. 2014;60(8):e405-e415. Available at: https://pubmed.ncbi.nlm.nih.gov/25122831/ ↩
- Lacy BE, Pimentel M, Brenner DM, et al.. ACG Clinical Guideline: Management of Irritable Bowel Syndrome. American Journal of Gastroenterology. 2021;116(1):17-44. doi:10.14309/ajg.0000000000001036 ↩