Taken together, our results indicate that bTRMs are present within the CNS following viral infection and the PD-1: PD-L1 pathway plays a role in the generation of this brain-resident population. Here, CD274 is linked to viral infectious disease.