Despite the documented tight association between the immune and nervous systems in mammals or invertebrate model organisms, interdependence of these two systems is largely unexplored across metazoans.