Optic neuritis can occur at any age, but it is more common in women and in people between the ages of 18 and 45. It is also more common in people who have a family history of the condition or other autoimmune disorders, such as multiple sclerosis.