In this study, we employed bioinformatics methods to identify ferroptosis-related genes (ATM, GSK3B, HMGCR, KLF2, MAPK1, NFE2L1, NRAS, PCBP1, PIK3CA, RPL8, VDAC3) associated with the diagnosis of multiple sclerosis and constructed a diagnostic model. Here, NRAS is linked to multiple sclerosis.