Attention is one of the cognitive domains typically affected in multiple sclerosis. The Attention Network Test was developed to measure the function of the three distinct attentional networks, alerting, orienting, and executive control. The Attention Network Test has been performed in various neuropsychiatric conditions, but not in multiple sclerosis. Our objective was to investigate functions of attentional networks in multiple sclerosis by means of the Attention Network Test. Patients with relapsing-remitting multiple sclerosis (n = 57) and healthy controls (n = 57) matched for age, sex, and education performed the Attention Network Test. Significant differences between patients and controls were detected in the alerting network (p = 0.003), in contrast to the orienting (p = 0.696) and the conflict (p = 0.114) network of visual attention. Mean reaction time in the Attention Network Test was significantly longer in multiple sclerosis patients than in controls (p = 0.032), Multiple sclerosis patients benefited less from alerting cues for conflict resolution compared with healthy controls. The Attention Network Test revealed specific alterations of the attention network in multiple sclerosis patients which were not explained by an overall cognitive slowing.