The optic nerve is the nerve that carries sensory information from the eyes to the brain. Optic neuritis is a condition in which the optic nerve becomes inflamed, affecting vision. Optic neuritis can flare up suddenly, due to nerve disease or an infection. The inflammation typically causes loss of vision in only one eye and/or pain in the eye, especially with movement. Optic neuritis is often associated with multiple sclerosis.