There were positive correlations between CSF NLRP3 inflammasome and cytokines in anti-NMDAR encephalitis patients. Here, NLRP3 is linked to viral encephalitis.