Ammonia-Smelling Stool: Causes and Evaluation
Stool with an ammonia-like odor most commonly results from excessive bacterial protein fermentation in the colon, which can occur with high-protein diets, gut dysbiosis, or conditions causing rapid intestinal transit, and warrants evaluation for underlying gastrointestinal disorders if accompanied by other symptoms.
Understanding the Mechanism
Ammonia production in stool occurs through two primary bacterial processes 1, 2:
- Bacterial deamination of amino acids, peptides, and proteins by colonic bacteria
- Bacterial hydrolysis of urea (though this contributes less to fecal ammonia than previously thought)
The bacteria most responsible for ammonia generation are gram-negative anaerobes (particularly Bacteroides species), Clostridia, and Enterobacteriaceae 1, 2. These organisms produce the highest amounts of ammonia when fermenting protein substrates in the absence of fermentable carbohydrates.
When to Pursue Further Evaluation
Look for these specific clinical features that indicate need for workup:
Red Flag Symptoms (Require Urgent Investigation)
- Fever or weight loss
- Blood in stools or positive fecal occult blood test
- Nocturnal diarrhea or severe watery diarrhea
- Duration of symptoms <12 months with acute onset
- Age >50 years without prior colorectal cancer screening
- Family history of inflammatory bowel disease or colorectal cancer 3, 4
Accompanying Symptoms Suggesting Specific Conditions
- Chronic diarrhea (>4 weeks): Consider IBS-D, bile acid diarrhea, microscopic colitis, or chronic infections 3, 5
- Abdominal pain with altered bowel habits: Evaluate for IBS using Rome IV criteria 4
- Recent travel or immunocompromised state: Test for parasitic infections, particularly Giardia 5
Diagnostic Approach
Initial Screening Tests
Order these first-line investigations 3, 4:
- Complete blood count - to assess for anemia or infection
- Fecal calprotectin - to screen for intestinal inflammation
- Tissue transglutaminase (TTG) IgA with total IgA level - to exclude celiac disease
- Thyroid function tests - thyroid disorders can alter bowel function
- Stool testing:
Additional Testing Based on Clinical Pattern
For diarrhea-predominant symptoms 4, 5:
- Lactose hydrogen breath test for lactose intolerance
- SeHCAT test or serum C4/FGF19 for bile acid diarrhea (if available)
- Colonoscopy with biopsies for microscopic colitis, especially if:
- Female, age ≥50 years
- Coexistent autoimmune disease
- Using NSAIDs, PPIs, SSRIs, or statins
- Nocturnal or severe watery diarrhea
For constipation-predominant symptoms 6:
- Digital rectal examination assessing pelvic floor function during simulated defecation
- Consider colonic transit study if symptoms persist despite fiber trial
Common Clinical Scenarios
High-Protein Diet
Excessive dietary protein increases substrate for bacterial ammonia production 1, 2. Management: Reduce protein intake temporarily and increase fermentable fiber (which promotes bacterial ammonia assimilation into bacterial protein rather than release).
Gut Dysbiosis/Small Intestinal Bacterial Overgrowth
Altered gut microbiota can increase ammonia-producing bacteria 7. Evaluation: Lactulose hydrogen breath test shows correlation with breath ammonia levels in IBS patients 7. Treatment: Rifaximin 400mg three times daily for 14 days significantly reduces both breath ammonia and symptoms 7.
Irritable Bowel Syndrome
Ammonia odor may accompany IBS, particularly IBS-D 7. Diagnosis requires 4:
- Recurrent abdominal pain ≥1 day/week in last 3 months
- Associated with ≥2 of: defecation, change in stool frequency, change in stool form
- Symptoms for ≥6 months
Critical Pitfalls to Avoid
Do not routinely measure blood ammonia levels - these are variable, unreliable for GI conditions, and only relevant in hepatic encephalopathy 8, 9
Avoid excessive testing in typical IBS - if Rome IV criteria are met and screening tests are normal, additional invasive testing (colonoscopy in patients <50) is usually unnecessary 4
Don't overlook medication review - proton pump inhibitors increase ammonia production through dysbiosis and should be discontinued if no clear indication 9
Consider parasitic infection even with negative microscopy - if clinical suspicion is high (travel history, contaminated water exposure), proceed to Giardia antigen testing or empiric treatment 5
Recognize that stool ammonia measurement is not clinically useful - ammonia is generated rapidly ex vivo by bacterial enzymes, making fecal measurements unreliable 10
Management Strategy
If screening tests are negative and no alarm features present:
- Dietary modification: reduce protein, increase fermentable fiber
- Trial of probiotics or rifaximin for suspected dysbiosis
- Treat as IBS if criteria met, with lactulose or polyethylene glycol for diarrhea-predominant symptoms 4
If specific diagnosis identified: