The contribution of genetic factors to the age at onset in multiple sclerosis is poorly understood. Our objective was to investigate the disease modifying effects of HLA-DRB1 alleles and allele interactions on age at onset of multiple sclerosis. High-resolution four-digit HLA-DRB1 genotyping was performed in a cohort of 461 multiple sclerosis patients from the Perth Demyelinating Diseases Database. Carriage of the HLA-DRB1*1501 risk allele was not significantly associated with age at onset but HLA-DRB1*0801 was associated with a later onset of the disease. The HLA-DRB1*0401 allele was associated with a reduced age at onset when combined with DRB1*1501 but may delay age at onset when combined with DRB1*0801. These findings indicate that epistatic interactions at the HLA-DRB1 locus have significant modifying effects on age at onset of multiple sclerosis and demonstrate the value of high-resolution genotyping in detecting such associations.