We find that PD-1 on CD4+ T cells operates extrinsically to limit expansion of brain antiviral CD8+ T cells and mitigate virus-induced neuroinflammation at the expense of checking infection. Here, CD4 is linked to infection.