Therefore, our results indicated that IP-10 and MIG might be novel biomarkers to diagnose encephalitis, which may guide patient treatment in clinical practice. Here, CXCL9 is linked to viral encephalitis.