One fifth anti-mGluR1 encephalitis cases had cognitive impairment. Here, GRM1 is linked to viral encephalitis.