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. This evidence concerns the gene CD4 and infection.