It can be concluded that the IL-17F rs763780 C containing genotypes (CT and CC) and C allele may be risk factors for the development of MS in the studied Egyptian cohort by a gender-dependent mechanism that contributes to tendency for predisposition in females and optic neuritis is more common in patients carrying the CT heterozygous genotype. Here, IL17F is linked to myeloid sarcoma.