Eye twitching is generally known as myokymia. The involuntary muscle contractions cause the eyes to twitch. There are many reasons that cause such an occurrence, including stress, consumption of coffee/tea (caffeine), allergies, alcohol, or the lack of nutritious food. You can treatments them like this: find ways to relax, sleep, improve your diet, Cut out caffeine, alcohol, and tobacco from your diet. Relax your eye muscles, Soak a hand towel in warm water and apply it to your eyes in order to relax the eye muscles. Avoid eye strain, Avoid harsh lighting, television, and computer screens in order to relax the eye muscles.