Nr2f6-deficient memory OT-I CD8+ T cells raise enhanced recall responses and are superior in clearing secondary bacterial infection. Here, CD8A is linked to bacterial infectious disease.