Something in your eye?
Your cornea is the clear, front part of your eye, and it is very sensitive—if something is touching, rubbing, or scratching it, you feel it. If you’re experiencing eye pain only when you blink and not when your eye is open, something might be rubbing against your cornea every time your eyelid moves. This could be caused by a “foreign body” either on your eye, stuck to the inside of your eyelid, or embedded in your eyelid, like a speck of dust, a grain of sand, or an eyelash that has somehow found its way where it shouldn’t be.
Your cornea may be scratched
Another reason your eye may hurt when you blink is if your cornea is scratched, though it’s important to note that in this situation, it’s not likely that your eye would hurt only when you blink. It may hurt worse when you blink, but it will likely hurt even when your eye is open. You may not have noticed what caused it because corneal abrasions (scratched corneas) can happen simply by rubbing your eyes or not being careful when you apply makeup. In addition to pain, you may experience watery eyes, blurry vision, and sensitivity to light.