In this study, we show that female CD8+ T cells have an intrinsic propensity to become short-lived effectors, whereas male CD8+ T cells give rise to more memory precursor effector cells after murine infection with either a virus (vaccinia virus) or bacteria (Listeria monocytogenes). Here, CD8A is linked to infection.