Optic neuritis occurs when swelling (inflammation) damages the optic nerve — a bundle of nerve fibers that transmits visual information from your eye to your brain. Common symptoms of optic neuritis include pain with eye movement and temporary vision loss in one eye.