This research identifies and characterizes IAD, a gut-microbial enzyme responsible for producing skatole, a key source of fecal odor. Understanding IAD’s structure and mechanism could help agriculture reduce farm odors, prevent boar taint, and protect cattle health. X-ray crystallography is being used to design inhibitors that block skatole formation.