EGR2 and infection: Here the authors show that chronic antigenic stimulation in both tumour and infection models induces the expression of EGR2, which drives and stabilises exhausted cell epigenetic and transcriptional identity.