These data highlight a critical role for IRF4 in regulating protective anti-viral CD8+ T cell responses by ensuring a balanced ratio of T-bet to Eomes, leading to the ultimate control of this chronic viral infection. Here, IRF4 is linked to viral infectious disease.