The histone methyltransferase EZH2 primes the early differentiation of follicular helper T cells during acute viral infection. Here, PRDM9 is linked to viral infectious disease.