In infectious disease models, particularly chronic viral infections, IL-21 produced by CD4 T has emerged as an important modulator of CD8 T cell resident memory and exhausted cells development, homeostasis, and function. Here, IL21 is linked to infectious disease.