Here, we show that IRF-5 prevents premature functional exhaustion and cell death by controlling the cell cycle and acting like a metabolic checkpoint in CD8 T cells during the chronic stage of infection. This evidence concerns the gene CD8A and infection.