Why does my poop smell like ammonia?

Dehydration, a high-protein diet, and liver or kidney disease are all potential causes of feces that smell like ammonia. As ammonia is produced when proteins are broken down in the body, a lack of efficient protein metabolism can cause ammonia to accumulate, which in turn causes a foul odor to emanate from the defecation.