Higher MF S. Typhi-responsive CD8+ T cells at baseline were associated with protection against typhoid and delayed disease onset. Here, CD8A is linked to typhoid fever.