The genetic ablation of EZH2 leads to impaired cellular metabolism and, consequently, poor CD4 T cell response to acute viral infection. Here, EZH2 is linked to viral infectious disease.