Coffee can make you poop for a few different reasons. Caffeine is a stimulant that can relax the anal sphincter, making it easier for stool to pass. Additionally, drinking coffee can trigger a gastrocolic reflex, which is a normal response to eating that causes the stomach, brain and colon to communicate, potentially resulting in a bowel movement. Finally, coffee can increase the production of gastric acid, which can stimulate the intestines to contract and promote pooping.