Improved biomarkers are needed to facilitate clinical decision-making and as surrogate endpoints in clinical trials in multiple sclerosis (MS). We assessed whether neurodegenerative and neuroinflammatory markers in cerebrospinal fluid (CSF) at initial sampling could predict disease activity during 2 years of follow-up in patients with clinically isolated syndrome (CIS) and relapsing-remitting MS. Using multiplex bead array and enzyme-linked immunosorbent assay, CXCL1, CXCL8, CXCL10, CXCL13, CCL20, CCL22, neurofilament light chain (NFL), neurofilament heavy chain, glial fibrillary acidic protein, chitinase-3-like-1, matrix metalloproteinase-9 and osteopontin were analysed in CSF from 41 patients with CIS or relapsing-remitting MS and 22 healthy controls. Disease activity (relapses, magnetic resonance imaging activity or disability worsening) in patients was recorded during 2 years of follow-up in this prospective longitudinal cohort study. In a logistic regression analysis model, NFL in CSF at baseline emerged as the best predictive marker, correctly classifying 93% of patients who showed evidence of disease activity during 2 years of follow-up and 67% of patients who did not, with an overall proportion of 85% (33 of 39 patients) correctly classified. Combining NFL with either neurofilament heavy chain or osteopontin resulted in 87% overall correctly classified patients, whereas combining NFL with a chemokine did not improve results. This study demonstrates the potential prognostic value of NFL in baseline CSF in CIS and relapsing-remitting MS and supports its use as a predictive biomarker of disease activity.