Joshi et al. find that during infection, a subset of effector CD8+ T cells differentiate into cells that can no longer proliferate in response to antigen and express the inhibitory receptor KLRG1, now identified as a marker of terminal differentiation [39]. Here, CD8A is linked to infection.