These functions of Egr2/3 in PD-1high MP CD4 T cells are required for the maintenance of a diverse repertoire of MP T cells, which is important for adaptive responses against viral infection. Here, EGR2 is linked to viral infectious disease.