Ecdysteroids are multifunctional hormones regulating virtually all morphogenetic processes in insects. Their role in stress and immune response regulation is less known. Here we studied 20-hydroxyecdysone effect on synthesis of the antimicrobial peptides in larvae of Calliphora vicina. An inverse correlation was found between 20-hydroxyecdysone titer and the concentration of antimicrobial peptides in the hemolymph of unaffected and bacteria-immunized insects. High and low doses of 20-hydroxyecdysone, injected simultaneously with bacterial cells, had an opposite effect on antimicrobial peptide synthesis in the diapausing larvae. Morphogenetically effective doses of 20-hydroxyecdysone demonstrated immuno-suppressive activity. Low doses of 20-hydroxyecdysone, on the contrary, moderately stimulated synthesis of the antimicrobial peptides. These data suggest that ecdysteroids are directly involved in regulation of the immune system activity and the final effect is dose-dependent.