We have investigated the role of human endogenous retroviruses in multiple sclerosis by analyzing the DNA of patients and controls in 4 cohorts for associations between multiple sclerosis and polymorphisms near viral restriction genes or near endogenous retroviral loci with one or more intact or almost-intact genes. We found that SNPs in the gene TRIM5 were inversely correlated with disease. Conversely, SNPs around one retroviral locus, HERV-Fc1, showed a highly significant association with disease. The latter association was limited to a narrow region that contains no other known genes. We conclude that HERV-Fc1 and TRIM5 play a role in the etiology of multiple sclerosis. If these results are confirmed, they point to new modes of treatment for multiple sclerosis.