The aim of this study was to determine the serum level of G6PD in patients with MS and NMO and its relationship with vitamin D, since it is yet to be explored thoroughly. This evidence concerns the gene G6PD and neuromyelitis optica.