The efficacy of IL-21 and IFNγ in modulating CD8 TRM differentiation may vary based on the duration of infection and the cells in the surrounding tissue parenchyma. Here, IL21 is linked to infection.