A large number of B cells and CD138+antibody secreting cells were observed infiltrating the brain tissue of patients with anti NMDAR encephalitis during autopsy. Here, SDC1 is linked to viral encephalitis.