Deletion of FoxO1 after the clearance of an infection resulted in a rapid loss of typical gene expression patterns in memory T cells. Here, FOXO1 is linked to infection.