In response to chronic viral infection, exhausted Hmgb2−/− CD8+ T cells showed decreased progenitor exhausted T cell (Tpex) differentiation and survival, with these cells unable to persist during prolonged infection. Here, HMGB2 is linked to infection.