Beyond their role in cell metabolism, development, and reproduction, hormones are also important modulators of the immune system. In the context of inflammatory disorders, systemic administration of pharmacological doses of synthetic glucocorticoids (GCs) is widely used as an anti-inflammatory treatment [1, 2]. However, not all actions of GCs are immunosuppressive, and many studies have suggested that physiological concentrations of GCs can have immunoenhancing effects [3-7]. For a more comprehensive understanding of how steroid hormones regulate immunity and inflammation, a simple in vivo system is required. The Drosophila embryo has recently emerged as a powerful model system to study the recruitment of immune cells to sterile wounds  and host-pathogen dynamics . Here we investigate the immune response of the fly embryo to bacterial infections and find that the steroid hormone 20-hydroxyecdysone (20-HE) can regulate the quality of the immune response and influence the resolution of infection in Drosophila embryos.