Forty to sixty percent of patients with multiple sclerosis (MS) have cognitive dysfunction. The frequency of cognitive disturbances according to the clinical form is not completely understood and the natural history of these disorders has not been extensively studied. Cognitive deficits can be detected in early stages of the disease. Their frequency increases from clinically isolated syndromes, to relapsing-remitting and secondary progressive MS. Cognitive abnormalities are frequently observed also in primary progressive MS. The most frequently impaired functions are information processing speed, attention and memory. Dementia is uncommon but may disclose the disease. Diffuse cerebral injury, assessed by magnetic resonance imaging, contributes to cognitive dysfunction in MS, probably by interrupting connecting fibers between neuronal networks involved in these cognitive functions. Compensatory mechanisms may occur at early stages but they are limited by extension of brain injury.