Patients with anti-LGI1 encephalitis had significantly higher CHI3L1 levels in the serum and CSF than controls. Here, CHI3L1 is linked to viral encephalitis.