The peptide fraction of hemolymph of Hermetia illucens larvae showed antibacterial activity against both Gram negative Escherichia coli and Gram positive Micrococcus flavus bacteria, depending on used doses and larval infection: although uninfected larvae exhibit antibacterial activity, it can be improved with bacterial infection, inducing a major expression of specific AMPs. The gene discussed is ADSL; the disease is infection.