Epidemiological studies report opposing influences of infection on childhood B cell acute lymphoblastic leukemia (B-ALL). Although infections in the first year of life appear to exert the largest impact on leukemia risk, the effect of early pathogen exposure on the fetal preleukemia cells (PLC) that lead to B-ALL has yet to be reported. Using cytomegalovirus as a model early-life infection, we show that virus exposure within one week of birth induces profound depletion of transplanted B-ALL cells in two mouse models and of in situ-generated PLC in Eu-ret mice. The age-dependent depletion of PLC results from an elevated STAT4-mediated cytokine response in neonates, with high levels of IL-12p40-driven IFN-g production inducing PLC death. Similar PLC depletion can be achieved in adult mice by impairing viral clearance. These findings provide mechanistic support for an inhibitory effect of early-life infection on B-ALL progression and could inform development of therapeutic or preventative approaches.