Why Does the Top of My Eye Hurt? Causes and Relief

Experiencing pain at the top of your eye? Gain clarity on its potential reasons and find practical strategies for comfort and lasting eye wellness.

Pain along the top of the eye, whether felt in the upper eyelid, the brow bone, or deep behind the socket, usually traces back to one of a handful of common causes: an inflamed oil gland in the lid, eye strain from prolonged screen use, sinus congestion pressing on the surrounding bone, or nerve irritation in the brow area. Less commonly, the pain signals something more urgent, from a spike in eye pressure to an orbital infection. Because so many different structures sit in such a small space, pinning down the source matters more here than in most body regions.

Upper Eyelid Bumps and Blocked Glands

The upper eyelid contains roughly twice as many oil-producing glands as the lower lid, all packed into a thin strip of cartilage-like tissue. When one of those glands clogs, you get either a chalazion (a slow, non-infected lump) or a hordeolum (what most people call a stye, usually caused by a bacterial infection). Both tend to cause a localized ache or tenderness right at the top of the eye, and the upper lid is the more frequent site simply because there are more glands available to block. A chalazion feels like a firm, pea-sized nodule under the skin and is usually painless at first, becoming sore only if it grows or gets secondarily infected. A stye, by contrast, hurts from the start, with a red, swollen, tender spot that may come to a head like a small pimple.

Warm compresses applied for ten to fifteen minutes a few times a day are the standard first step for both. The heat softens the blocked oil and encourages drainage. Most styes resolve within a week. Chalazia can linger for months, and if a stubborn one does not shrink with warm compresses, a doctor can drain it with a minor in-office procedure. If you keep getting these bumps, that pattern itself is worth mentioning to an eye care provider, since recurring gland blockages sometimes point to an underlying lid-margin condition like blepharitis.

Digital Eye Strain

Spending hours on a phone, laptop, or monitor is one of the most common modern reasons for forehead and upper-eye discomfort. The symptoms tend to come as a package: dry, gritty-feeling eyes, blurred vision at the end of the day, and a dull ache across the brow or behind the eyes, often accompanied by neck stiffness and general fatigue. Reported rates of digital eye strain vary widely, but studies have found prevalence anywhere from about 5% to 65% depending on the population and how much screen time is involved.

The pain at the top of the eye in these cases usually comes from a combination of reduced blinking (which dries the surface and makes the lids work harder) and sustained contraction of the muscles that keep your gaze focused at a fixed distance. The classic remedy is the 20-20-20 rule: every 20 minutes, look at something 20 feet away for 20 seconds. Adjusting screen brightness, keeping artificial tears on hand, and positioning your monitor slightly below eye level so you are looking slightly downward (which reduces how wide your lids need to open and slows tear evaporation) all help. If the ache persists even on days off from screens, an uncorrected or under-corrected refractive error may be the real driver, and a proper refraction check is worth scheduling.

Sinus Pressure Mistaken for Eye Pain

The frontal sinuses sit right behind the brow bone, and the ethmoid sinuses nestle between the eyes. When either set gets congested or infected, the pressure tends to radiate directly into the forehead and the area above and between the eyes. This is probably the most over-self-diagnosed cause of eye pain. As one literature review noted, ear, nose, and throat specialists see large numbers of patients who are certain their forehead discomfort is sinus disease, only to discover they have no infection at all.

True sinus-related eye pain typically comes with other signals: nasal congestion, discolored mucus, a sense of fullness that worsens when you bend forward, and sometimes a low-grade fever. If the pain above your eye is present without any nasal symptoms, sinusitis is a less likely explanation than it feels. That said, when sinusitis genuinely is the cause, treating the underlying infection or congestion (with decongestants, nasal irrigation, or antibiotics if bacterial) usually resolves the eye pain along with everything else.

Trochleitis

This is an under-recognized cause of pain localized right at the inner upper corner of the eye socket. The trochlea is a small pulley of cartilage through which the superior oblique muscle passes to rotate the eye. When the trochlea or the tissue around it becomes inflamed, the result is a sharp, boring pain in that upper-inner corner that can mimic a migraine or sinus headache. In one clinical study of over a thousand patients examined for eye pain and migraine symptoms, about 3% turned out to have trochleitis or trochleodynia confirmed on imaging.

The telltale feature is exquisite tenderness when you press on the upper-inner rim of the eye socket, right where the trochlea sits. The pain often worsens when you look upward or inward. Because it is relatively uncommon and overlaps so much with migraine and sinusitis, trochleitis tends to be diagnosed late. Anti-inflammatory medications are typically the first-line treatment, and many patients respond well once the condition is correctly identified.

Supraorbital Neuralgia

A nerve called the supraorbital nerve exits through a small notch in the bone at the top of the eye socket and fans out across the forehead. When that nerve becomes irritated or compressed, the resulting pain concentrates above the eyebrow and can radiate into the forehead and scalp. Supraorbital neuralgia accounts for a small fraction of facial pain cases, roughly 4% in some series, but it can be severe. Case studies have described patients in whom the unrelenting pain led to serious distress and even suicidal thoughts.

The clinical picture has three hallmarks: pain in the forehead territory supplied by the supraorbital nerve, tenderness when pressing the notch where the nerve exits the bone, and relief when the nerve is numbed with a local anesthetic block. The quality of the pain is often described as a dull background ache with sharp or burning flare-ups. Standard pain medications sometimes offer little relief, but nerve blocks can produce dramatic, if temporary, improvement. In persistent cases, surgical decompression of the nerve is sometimes considered.

Cluster Headaches

Cluster headache deserves mention here because the pain centers itself in and around one eye, often described as behind or above the eye. Attacks are short, lasting between 15 minutes and three hours, but the pain is extraordinarily intense. Along with the pain, the affected side of the face produces autonomic symptoms: the eye waters, the nostril runs or feels blocked, the eyelid may droop or swell, and the eye turns red. Attacks tend to occur in bouts (the “clusters”), sometimes at the same time each day for weeks, followed by months or years of remission.

If you experience cyclical episodes of severe one-sided eye pain with tearing and nasal congestion, cluster headache is high on the list of possibilities, and it requires a neurologist’s evaluation. Treatment is different from migraine therapy: high-flow oxygen and injectable triptans are the main acute treatments, and preventive drugs are used to shorten cluster periods.

Contact Lenses and Foreign Bodies

The underside of the upper eyelid sweeps across the eye surface with every blink. Anything irritating that interface can produce pain that feels like it is coming from the top of the eye. Contact lens wearers are especially susceptible. Prolonged lens use can trigger a condition called contact lens-induced papillary conjunctivitis, in which the inner surface of the upper lid develops small inflammatory bumps. Symptoms include itching, lens awareness, mucus discharge, and blurred vision. The irritation occurs because deposits on the lens surface mechanically rub against the lid’s inner lining with each blink.

Foreign bodies lodged under the upper lid are another mechanical cause. Even a tiny speck of debris can get trapped there and scratch the cornea every time you blink, producing pain, tearing, and the nagging sensation that something is in your eye, because something is. One case report documented a wooden splinter that remained hidden under a child’s upper eyelid for six months, causing recurring inflammation and eventually a corneal ulcer before it was finally discovered. If you have persistent upper eye pain after any eye area trauma, an examination with the upper lid flipped (called lid eversion) should be part of the workup.

Acute Angle-Closure Glaucoma

This is one of the genuinely dangerous causes of eye pain, and it comes on suddenly. When the drainage pathway for fluid inside the eye becomes physically blocked, pressure inside the eye spikes rapidly. The result is severe pain in and around the eye (often described as above and behind it), blurry vision, halos around lights, a red eye, nausea, and headache. It is rare in Europe, on the order of two to four cases per hundred thousand people per year, but it is a genuine emergency because untreated high pressure can permanently damage the optic nerve within hours.

Certain medications can trigger an episode. Drugs with anticholinergic effects, some antidepressants, topiramate, and even over-the-counter cold medications that dilate the pupil have all been implicated. People with anatomically narrow drainage angles (more common in farsighted individuals and older adults) are at higher risk. If you have sudden severe eye pain with vision changes and nausea, get evaluated the same day. Treatment involves medications to rapidly lower eye pressure, followed by a laser procedure to create a new drainage pathway.

Orbital and Periorbital Infections

Infections of the tissue around or behind the eye cause swelling, redness, and pain that is often most prominent along the upper lid and brow. Periorbital cellulitis, the more superficial form, typically follows a skin break like a scratch or insect bite and produces swelling, redness, and tenderness around the eye. Orbital cellulitis, the deeper and more dangerous version, involves the tissues behind the eyelid and usually spreads from an adjacent sinus infection. It causes significant pain with eye movement, possible bulging of the eye forward, fever, headache, and sometimes double vision.

Orbital cellulitis is a medical emergency. Without treatment, the infection can spread to the brain or cause permanent vision loss. The distinction between the two forms matters because periorbital cellulitis can sometimes be managed with oral antibiotics, while orbital cellulitis almost always requires intravenous antibiotics and may need surgical drainage. Pain with eye movement is one of the key features that pushes the diagnosis toward the more serious orbital form.

Giant Cell Arteritis

For anyone over 50 experiencing a new headache with pain around the eye, giant cell arteritis (also called temporal arteritis) is the diagnosis that doctors worry about most. It is a condition in which the walls of medium and large arteries become inflamed, most often affecting the temporal arteries that run along the sides of the head. Pain can settle above and around the eye, across the forehead, or at the temples. Additional symptoms include scalp tenderness, jaw pain while chewing, fever, weight loss, and visual disturbances. Headache is the most common presenting symptom, reported in roughly three-quarters of cases.

Giant cell arteritis is considered an ophthalmic emergency because it can cause sudden, permanent, and sometimes bilateral vision loss if the inflamed arteries cut off blood supply to the optic nerve. If there is clinical suspicion, doctors typically start high-dose corticosteroids immediately, even before biopsy results come back, because the window to preserve vision is narrow. This is a condition where a delay of even a few days can mean the difference between keeping and losing sight.

Scleritis and Deep Eye Inflammation

The sclera is the tough white shell of the eye. When it becomes inflamed, the condition is called scleritis, and the pain is characteristically deep, boring, and severe enough to wake you at night. Scleritis is uncommon but serious, with potential to threaten vision permanently if untreated. In roughly half of cases, scleritis is linked to an underlying autoimmune condition such as rheumatoid arthritis or granulomatosis with polyangiitis, which makes identifying it important beyond the eye itself. When the inflammation sits near the top of the eye, the ache localizes there and worsens with eye movement. Treatment usually involves anti-inflammatory drugs, with more aggressive immunosuppression reserved for severe or recurrent cases.

When the Pain Has No Visible Cause

Sometimes a thorough eye exam turns up nothing, and the pain persists. In children, this scenario is surprisingly common. One study of preschool-age children referred for eye pain found that over 90% received a diagnosis of functional (non-organic) eye pain, meaning no structural or disease-related cause could be identified. Among those followed for up to four years, the vast majority never developed a disease to explain the symptom.

In adults, unexplained ocular symptoms are rarer but do occur. One study of patients with ocular complaints that had no identifiable physical explanation found that all of them met at least one criterion for psychological involvement, and nearly half had a psychiatric comorbidity or were already on psychotropic medications. This does not mean the pain is imaginary. Neuropathic pain pathways can become sensitized, producing real pain signals without active tissue damage. In some cases, carefully treating subtle ocular surface problems that were initially missed, like hidden meibomian gland blockages or tear film deficiency, has resolved what appeared to be unexplained neuropathic eye pain.

Red Flags That Call for Urgent Evaluation

Most causes of upper eye pain resolve on their own or with simple treatment. But certain features warrant same-day or emergency evaluation:

  • Sudden vision loss or distortion: could indicate angle-closure glaucoma, arteritic ischemia, or retinal detachment.
  • Pain with eye movement plus fever: suggests orbital cellulitis until proven otherwise.
  • A bulging eye: proptosis combined with pain may point to an orbital mass, abscess, or serious infection.
  • Abnormal pupil shape or response: a fixed, mid-dilated pupil during an acute pain episode is a hallmark of angle-closure glaucoma.
  • New headache in someone over 50: especially with scalp tenderness, jaw pain, or visual changes, raises concern for giant cell arteritis.

Any combination of these red flags should prompt emergent evaluation by an ophthalmologist.

Simple Relief Measures for Everyday Upper Eye Pain

For the common, non-emergency causes, a few basic interventions cover a lot of ground. Warm compresses help with blocked lid glands, and the same warmth can soothe mild sinus-related aching. Artificial tears address the dryness component that contributes to both screen-related strain and contact lens discomfort. Over-the-counter anti-inflammatory drugs like ibuprofen can reduce pain from trochleitis, mild sinusitis, and the muscular component of eye strain.

For patients with dry eye disease contributing to their pain, research shows that those with milder symptoms tend to respond better to standard treatments like artificial tears, warm compresses, and lid hygiene than those with more severe pain, in whom conventional therapies are progressively less effective. If you have been diligently using drops and compresses without improvement, that plateau is itself a useful signal to bring to your eye doctor, since it may indicate that a more targeted treatment or a different diagnosis altogether is needed.