Despite profound T-cell immunodeficiency, most patients treated with chemotherapy do not succumb to infection. The basis for residual protective immunity in lymphopenic patients is not known. We prospectively measured T-cell numbers, thymopoiesis, and T-cell memory in 73 children undergoing a 2-year chemotherapy regimen for acute lymphoblastic leukemia (ALL) and compared them to an age-matched cohort of 805 healthy children. Most patients had profound defects in CD4 and CD8 T-cell numbers at diagnosis that did not recover during the 2 years of therapy. Thymic output and the fraction of naive T cells were significantly lower than in healthy controls. However, the remaining T-cell compartment was enriched for antigen-experienced, memory T cells defined both by phenotype and by function. This relative sparing of T-cell memory may, in part, account for the maintenance of protective immunity in lymphopenic patients treated for ALL. Moreover, because the memory T-cell compartment is least affected by ALL and its treatment, strategies to induce immunity to pathogens or tumor antigens in cancer patients may be most successful if they seek to expand pre-existing memory T cells.