In this work, we detected AMPs in the hemolymph of Hermetia illucens (Diptera, Stratiomyidae) larvae, following infection with Escherichia coli (Gram negative) or Micrococcus flavus (Gram positive) and from uninfected larvae. The gene discussed is ADSL; the disease is infection.