Here, we report that transgenic ablation of germ cells in late development or early adulthood in Drosophila melanogaster causes elevated baseline expression and increased induction of Toll and Imd immune genes upon bacterial infection, as compared to fertile flies with an intact germline. The gene discussed is TLR4; the disease is bacterial infectious disease.