We found that the 5-HT1B deficiency flies were more vulnerable to bacterial infections due to their poor phagocytic ability. Here, HTR1B is linked to bacterial infectious disease.