Twitching of the eyelid is usually a benign condition and is not due to a serious problem. However, in some cases, if the eyelid closes completely due to the spasm, it could affect vision. A drooping upper eyelid could indicate a neurological problem. Redness and purulent discharge from the eyes accompanying eye twitching indicates an infection, which requires immediate treatment.