Nematodes from the species Caenorhabditis elegans show aversion to harmful odors, which might be an indicator of their enhanced longevity. A new study reveals that these odor molecules from pathogenic bacteria not only induce avoidance behaviors in the nematodes but also stimulate a protective neural circuit in other tissues.