Here, we demonstrate that direct sensing of the cytokine IFN-γ by CD8+ T cells coordinates avidity and differentiation during infection. Here, IFNG is linked to infection.