Blood cells arise from diverse pools of stem and progenitor cells. Understanding progenitor heterogeneity is a major challenge. The Drosophila larval lymph gland is a well-studied model to understand blood progenitor maintenance and recapitulates several aspects of vertebrate hematopoiesis. However in-depth analysis has focused on the anterior lobe progenitors (AP), ignoring the posterior progenitors (PP) from the posterior lobes. Using in situ expression mapping, developmental and transcriptome analysis we reveal PP heterogeneity and identify molecular-genetic tools to study this abundant progenitor population. Functional analysis shows that PP resist differentiation upon immune challenge, in a JAK-STAT-dependent manner. Upon wasp parasitism, AP downregulate JAK-STAT signaling and form lamellocytes. In contrast, we show that PP activate STAT92E and remain undifferentiated, promoting survival. Stat92E knockdown or genetically reducing JAK-STAT signaling permits PP lamellocyte differentiation. We discuss how heterogeneity and compartmentalization allow functional segregation in response to systemic cues and could be widely applicable.