Immune and metabolic pathways collectively contribute to the containment of microbial invaders, and persistent activation of immune responses contribute to the development of severe metabolic disorders.To determine how a prolonged immune response impacts metabolism, we induced a constitutive inflammatory response in the Drosophila fat body, a key regulator of humoral immunity and metabolic homeostasis. We found that persistent immune activity replicated key features of a suppressed insulin pathway -delayed development, depleted fat reserves, and hyperglycemia. These observations led us to ask if the inhibition of insulin signaling improves host survival after infection. To test this, we challenged insulin pathway mutants with lethal doses of the enteric pathogen, Vibrio cholerae. We found that loss-of-function mutations in the insulin pathway extended viability and lowered bacterial loads, while gain-of-function mutations diminished viability and elevated bacterial loads. Combined, our results support a role for immune regulation of the insulin pathway in the survival of microbial challenges.