Odors, via the olfactory AWC neurons, trigger food searching in C. elegans. This study shows that the peptide NLP-1, co-released with glutamate from AWC neurons, acts to limit searching locomotion through a feedback loop that involves activation of the receptor NPR-11 on AIA interneurons and release of another peptide, INS-1, from the AIA neurons.