These results revealed an NPR-1-dependent neural circuit that regulates the innate immune response to pathogen infection. This evidence concerns the gene NPR1 and infection.