Acquired CD4 T cell deficiency, modeled by delaying systemic CD4 T cell depletion until MuPyV-specific CD8 T cells have infiltrated the brain, impacted the stability of CD8 bTRM, impaired their effector response to reinfection, and rendered their maintenance dependent on circulating CD8 T cells. Here, CD8A is linked to congenital T-cell immunodeficiency.