In this study, we found that the changes in IL-6 correlated with changes in YKL-40, suggesting that IL-6 may contribute to YKL-40 expression and the autoantibody-induced neurological deficits observed in anti-NMDAR encephalitis. Here, IL6 is linked to viral encephalitis.