Our findings suggest that CSF-NFL could potentially be used as a diagnostic biomarker of encephalitis with underlying malignancies. This evidence concerns the gene NEFL and viral encephalitis.