Multiple sclerosis (MS), neuromyelitis optica spectrum disorder (NMOSD), and myelin oligodendrocytes glycoprotein-antibody disease (MOGAD) are distinct autoimmune demyelinating disorders characterized by varying clinical and pathological characteristics. While the precise origins of these diseases remain elusive, a combination of genetic and environmental factors, including viral elements, have been suggested as potential contributors to their development. Our goal was to assess the occurrence of antibodies against pathogenic peptides associated with Epstein-Barr virus (EBV) and the human endogenous retrovirus-W (HERV-W) in serum samples obtained from Japanese individuals diagnosed with MS, NMOSD, and MOGAD and to make comparisons with a group of healthy controls (HCs). We conducted a retrospective analysis involving 114 Japanese participants, comprising individuals with MS (34), NMOSD (20), MOGAD (20), and HCs (40). These individuals were tested using a peptide-based enzyme-linked immunosorbent assay. A marked increase in antibody response against EBV nuclear antigen 1 (EBNA1)386-405 was observed in the serum of MS and MOGAD patients, as compared to HCs. Notably, we observed a correlation between antibodies against EBNA1386-405 and HERV-W486-504 peptides in a subset of the antibody-positive MS patients. These findings emphasize the involvement of EBV in the pathogenesis of MS and potentially MOGAD, suggesting its role in the reactivation of HERV-W.