Chronic antigen exposure drives CD4+ T cell senescence, yet how autoimmunity and persistent viral infections differentially shape T cell differentiation and function remains unclear. Here, CD4 is linked to viral infectious disease.