With EZH2 deficiency-induced inadequate energy support, the CD4 T cell response to acute viral infection is largely diminished. Here, EZH2 is linked to viral infectious disease.