The classic view of pain is that it protects by detecting and signaling the presence of harmful agents, but new research shows pain can shield the gut more directly.