Overall, this study provides new insights into the underlying epigenetic mechanism regulating memory CD8+ T-cell differentiation during acute viral infection. Here, CD8A is linked to viral infectious disease.