Why Do My Eyeballs Hurt? Causes and When to Worry

Eye pain has dozens of possible causes, ranging from spending too long at a screen to serious conditions that need emergency care. Most of the time, sore eyeballs trace back to something common and fixable: dry eyes, eye strain, or a minor infection. But because a few causes are urgent, knowing what else is happening alongside the pain helps you figure out what you’re dealing with.

Screen Time and Eye Strain

If your eyes hurt after working at a computer, scrolling your phone, or binge-watching a show, digital eye strain is the most likely explanation. Your eyes constantly refocus to read the tiny pixels on a screen, and that repetitive muscle effort adds up over hours. The low contrast between text and background on most screens makes your eyes work even harder than they would reading print on paper.

The pain usually feels like a dull ache or pressure behind both eyes, often paired with a headache across the forehead. You might also notice blurry vision or difficulty focusing on distant objects after a long screen session. The fix is straightforward: follow the 20-20-20 rule. Every 20 minutes, look at something about 20 feet away for 20 seconds. This lets the focusing muscles inside your eyes relax. Adjusting your screen brightness to match the room lighting and sitting an arm’s length from your monitor also helps.

Dry Eyes

Your eyes stay comfortable thanks to a thin tear film made of three layers: an oily outer layer that prevents evaporation, a watery middle layer that hydrates and nourishes, and a mucus layer that helps tears stick evenly to the surface. When any of these layers breaks down, the surface of your eye dries out and nerve endings become exposed, producing a burning, stinging, or gritty sensation that many people describe as their eyeballs “hurting.”

Wind, smoke, dry indoor heating, air conditioning, and airplane cabins all speed up tear evaporation. So does staring at a screen, because you blink less often when you’re concentrating. If your environment is dry, closing your eyes for a few minutes at a time can slow evaporation enough to provide relief. Preservative-free artificial tears replace moisture directly. If the problem is chronic, an eye care provider can check whether you’re producing enough tears or whether the oil glands along your eyelids are blocked.

Sinus Pressure Mimicking Eye Pain

Your sinuses sit directly behind and below your eye sockets. When they’re inflamed or congested from a cold, allergies, or a sinus infection, the swelling can press against the bony walls surrounding your eyes and create deep, aching pressure that genuinely feels like it’s coming from your eyeballs. The pain is usually worse when you bend forward or lie down, and it often comes with a stuffy nose, facial tenderness, or thick nasal discharge.

In some cases, the connection is even more direct. The nerve that runs along the wall of the maxillary sinus (the large sinus beneath your cheekbone) passes through a bony canal that, in roughly 17 to 20 percent of people, has gaps exposing the nerve to the sinus lining. When the sinus is inflamed, it can compress that exposed nerve and produce sharp, shooting pain in the face and around the eyes. Treating the underlying sinus problem, whether with decongestants, antihistamines, or antibiotics for a bacterial infection, usually resolves the eye pain along with it.

Contact Lens Problems

Contact lenses sit directly on the cornea, which is one of the most nerve-dense tissues in the body. When something goes wrong with lens hygiene, you feel it fast. The most serious risk is bacterial keratitis, an infection of the cornea that causes redness, tearing, light sensitivity, and pain that can become severe within hours. The bacteria most commonly responsible thrive in moisture, which is why certain habits dramatically raise your risk: sleeping in your lenses, rinsing them with tap water instead of sterile solution, reusing old solution by “topping off” the case, and not cleaning the case itself.

Even without an infection, a scratched or poorly fitting lens can irritate the cornea enough to cause significant pain. If one eye suddenly hurts while wearing contacts, remove the lens immediately. If the pain doesn’t improve within an hour or two, or if you notice discharge, blurred vision, or a white spot on your eye, you need to be evaluated promptly to rule out infection.

Cluster Headaches and Migraines

Not all eye pain starts in the eye. Cluster headaches produce extreme, stabbing pain that centers in, behind, or around one eye and can spread across that side of the face, head, and neck. On the affected side, the eye often turns red, waters heavily, and the eyelid may droop or swell. The nostril on the same side typically gets stuffy or runny. Attacks tend to strike at the same time of day, often at night, and can last anywhere from 15 minutes to three hours before disappearing completely, only to return the next day during an active “cluster” period.

Migraines can also produce pain around or behind the eye, frequently on one side. Migraine pain is more of a throbbing or pulsing sensation, and it’s commonly accompanied by nausea, light sensitivity, and sometimes visual disturbances like flashing lights or blind spots. If you get recurring one-sided eye pain with these features, the source is neurological rather than eye-related, and a headache specialist can help with prevention and treatment.

Optic Neuritis

If your eye pain gets noticeably worse when you move your eyes, particularly when looking side to side or up, optic neuritis is one possible explanation. This condition involves inflammation of the optic nerve, the cable that carries visual information from your eye to your brain. Along with pain on eye movement, it typically causes blurred vision or a washed-out quality to colors, usually in one eye.

Optic neuritis matters beyond the eye itself because it’s strongly linked to autoimmune conditions. About 50 percent of people who experience a single episode of optic neuritis eventually develop multiple sclerosis over their lifetime. It’s also associated with neuromyelitis optica, a condition that inflames the optic nerve and spinal cord. This doesn’t mean a single episode of pain with eye movement is cause for alarm, but persistent or worsening symptoms of this type warrant a thorough neurological evaluation.

Acute Glaucoma

This is the one cause you don’t want to miss. Acute angle-closure glaucoma happens when the drainage system inside the eye suddenly blocks, causing pressure to spike rapidly. Normal eye pressure falls between 10 and 20 mmHg. During an acute attack, it can climb far above that range within minutes.

The symptoms are hard to ignore: severe eye pain, blurred vision, halos around lights, a visibly red eye, and nausea or vomiting. The nausea can be intense enough that people sometimes mistake the episode for a stomach problem rather than an eye emergency. Permanent vision damage can occur quickly without treatment, so this combination of symptoms, especially sudden severe eye pain with nausea and vision changes, calls for emergency care.

Surface Irritation and Foreign Bodies

Sometimes the simplest explanation is the right one. A tiny particle of dust, an eyelash, or a speck of debris trapped under the eyelid can make your whole eye feel like it’s on fire. The cornea is so sensitive that even a microscopic scratch produces sharp, stinging pain along with tearing and redness. This “foreign body sensation,” often described as a gritty or sandy feeling, is one of the most common reasons people search for help with eye pain.

Flushing the eye gently with clean water or saline usually washes out loose debris. A minor corneal scratch typically heals on its own within one to three days. But if you were grinding metal, using power tools, or involved in any activity that could embed a particle in the eye, that needs professional removal. Rubbing the eye in these situations can drive the object deeper and cause more damage.