Our findings suggest that Neuropeptide Y could be developed as a treatment to improve disease resistance and gut health in farmed fish, offering a promising approach to controlling infections and improving the sustainability of aquaculture. Here, NPY is linked to infection.