Why Does My Eye Hurt? Causes and When to Worry

Eye pain usually comes from something minor and treatable, like a scratch on the surface, dry eyes, or strain from screens. But the type of pain you feel tells you a lot about what’s going on. A gritty, scratchy sensation points to problems on the eye’s surface. A deeper ache or throb can signal something more serious happening inside the eye or behind it.

Surface Pain vs. Deep Pain

The most important distinction is whether your pain feels like it’s on the surface of the eye or deeper inside the socket. A scratchiness or foreign body sensation, the feeling that something is stuck in your eye, is most often caused by problems with the eyelids, the clear membrane covering the white of the eye, or the cornea (the clear front window). This kind of pain tends to get worse when you blink.

Deeper pain, often described as aching or throbbing, usually points to more serious conditions like glaucoma, internal inflammation, or an infection deeper within the eye. If your pain is a dull, persistent ache rather than a sharp surface irritation, that’s worth getting checked promptly.

Scratches and Foreign Bodies

A corneal abrasion, or scratch on the surface of the eye, is one of the most common reasons for sudden eye pain. It can happen from rubbing your eye, getting poked by a fingernail, or a tiny piece of dust or debris scraping across the cornea. Symptoms include sharp pain, watery eyes, redness, blurred vision, sensitivity to light, and that persistent feeling of something being in your eye even after whatever caused it is gone.

The good news is that minor corneal abrasions heal fast. Most people feel significantly better within 24 to 48 hours, and the scratch typically heals fully within a few days without lasting problems. Avoid rubbing the eye, and don’t try to remove an embedded object yourself.

Eyelid Problems: Styes and Blepharitis

If the pain is concentrated around your eyelid rather than the eye itself, two common culprits are styes and blepharitis. They look and feel quite different.

A stye is a localized, painful bump near the edge of the eyelid, similar to a small pimple. It’s tender to the touch and can cause the whole eyelid to swell. You can treat a stye at home by soaking a clean washcloth in warm water, wringing it out, and holding it over your closed eye. Repeat this several times per session, three to four times a day, for at least a week.

Blepharitis is inflammation spread across the lid margin rather than in one spot. You’ll notice red, swollen lid edges with crusty or greasy buildup at the base of your eyelashes, along with a gritty, burning sensation and frequent blinking. It tends to be more of a chronic, recurring nuisance than a one-time event.

Dry Eyes and Screen Strain

If your eye pain is more of a tired, burning feeling that builds throughout the day, especially after hours at a computer or phone, digital eye strain is a likely cause. You blink less frequently when staring at screens, which dries out the surface of the eye and causes irritation. Resting your eyes regularly, using artificial tears, and wearing computer glasses can all help. The 20-20-20 rule works well here: every 20 minutes, look at something 20 feet away for 20 seconds.

Contact Lens Infections

Contact lens wearers face a specific and serious risk: bacterial infection of the cornea, known as keratitis. This causes pain, redness, light sensitivity, and sometimes discharge. The risk goes up significantly with certain habits: sleeping in your lenses, rinsing or storing them in tap water instead of solution, reusing old solution by topping it off rather than replacing it, not cleaning your lens case, or sharing decorative lenses.

If you wear contacts and develop eye pain, remove them immediately. Contact lens-related infections can progress quickly and damage your vision if untreated.

Internal Inflammation

Uveitis is inflammation inside the eye that causes pain, redness, blurred vision, light sensitivity, and sometimes visible changes to the shape of your pupil. It can develop on its own or alongside autoimmune conditions. The pain from uveitis is typically deeper than what you’d feel from a surface scratch, and bright environments make it noticeably worse. This condition needs professional treatment to prevent complications.

Pain Behind the Eye

Pain that feels like it’s behind the eyeball or deep in the socket has its own set of causes. Optic neuritis, inflammation of the nerve connecting the eye to the brain, causes pain that gets worse when you move your eyes. It often comes with some degree of vision loss. Optic neuritis is closely linked to multiple sclerosis. It’s the first sign of the disease in about 20% of patients and occurs in nearly half of people with MS at some point. The pain is typically felt behind the eye, around the eye socket, or as a frontal headache.

Sinus infections can also cause a deep ache around and behind the eyes, especially with bending forward. This type of pain usually comes with nasal congestion and facial pressure.

When Eye Pain Is an Emergency

Acute angle-closure glaucoma is the most urgent cause of eye pain. Pressure inside the eye spikes rapidly, often exceeding twice the normal level, and can permanently damage the optic nerve within hours. Symptoms include severe eye pain, nausea or vomiting, seeing halos around lights, and sudden blurred vision. This is a true emergency requiring immediate treatment.

Seek emergency care if your eye pain comes with any of the following:

  • Sudden changes in vision
  • Nausea or vomiting
  • Halos around lights
  • Severe pain with headache or fever
  • Swelling in or around the eye
  • Inability to move the eye or keep it open
  • Blood or pus coming from the eye
  • Exposure to a chemical splash or penetrating injury

What to Do at Home

For minor irritation, artificial tears can help flush out small particles and soothe dryness. If you have allergies causing eye discomfort, over-the-counter antihistamine eye drops reduce itching and redness. Cool compresses work well for viral pink eye, while warm compresses are better for styes and blepharitis.

For swelling from a minor injury, apply an ice pack wrapped in cloth for 15 to 20 minutes at a time, once every hour, on the first day. Skip the raw steak trick you’ve seen in movies. Raw meat on an open or injured area carries a real risk of bacterial infection.

How Eye Pain Gets Diagnosed

When you see an eye care provider for pain, they’ll likely use a slit lamp, a specialized microscope with an adjustable bright light that lets them examine the layers of your eye in detail. They’ll inspect the outer structures first, including the white of the eye, the clear membrane, and the cornea, then look deeper at the iris and internal structures. Your pupils will usually be dilated with drops to get a better view. If a corneal scratch is suspected, they may use a special dye that makes tiny abrasions glow under blue light, revealing damage invisible to the naked eye.