Yes, a stye can cause a headache, but usually only a mild, one-sided one that tracks with the swelling. The mechanism is regional: inflammation around the eyelid activates the trigeminal nerve's first branch (V1, the ophthalmic division), and that signal can be referred along shared nerve pathways into the temple and forehead. Most stye headaches resolve within 3 to 5 days as the abscess drains or the swelling subsides (American Academy of Ophthalmology). A severe, global, or persistent headache is not a stye symptom and needs separate evaluation.

A stye — more precisely called a hordeolum — is an acute bacterial infection of a sebaceous or sweat gland at the eyelid margin. The two types matter for understanding the headache link. An external hordeolum involves the Zeis or Moll glands on the lid edge and points outward. An internal hordeolum involves a Meibomian gland deep in the tarsal plate and points inward through the conjunctiva. Both are typically staphylococcal, and both generate localized inflammation in tissue that is densely innervated by the trigeminal nerve.

The trigeminal referral mechanism behind a stye headache

The eyelid and surrounding orbit are supplied by the ophthalmic branch of the trigeminal nerve, which divides into the frontal, lacrimal, and nasociliary nerves. When a stye produces prostaglandins, bradykinin, and histamine, those mediators sensitize nociceptors in the lid margin. Sensitized first-order neurons fire more readily and lower the threshold for pain signaling. This is called peripheral sensitization.

The deeper step is central convergence. Trigeminal afferents from the eyelid, temple, forehead, and nasal bridge converge onto the same second-order neurons in the trigeminal nucleus caudalis. When one input is inflamed and firing continuously, the brain can misattribute the signal to neighboring territories. That is referred pain — the reason a stye near the outer lid often produces a temple ache, and one near the inner lid can produce a brow or forehead ache. The headache is not a separate disease process; it is a projection of the same inflammatory signal onto a larger map.

A second pathway involves the trigeminal-autonomic reflex, which links trigeminal activation to parasympathetic outflow. This is why eyelid inflammation can produce lacrimation, mild conjunctival injection, and a sense of pressure behind the eye alongside the headache. Prostaglandin E2 and calcitonin gene-related peptide both rise in inflamed periocular tissue and both are established contributors to headache in susceptible people. Plainly: the stye sets off a small nerve fire, and the brain reads the smoke in more than one room.

This referral explains why the headache is almost always ipsilateral — on the same side as the stye — and why it usually carries a dull, pressure-like quality rather than the throbbing of migraine. It also explains a counterintuitive clinical point: a very small stye near the inner canthus can produce more referred brow pain than a larger one on the outer lid, because the nasociliary territory converges more densely on the same central neurons.

How common and how long: quantified context

Quantifying stye headache is difficult because hordeola are usually self-managed and rarely studied in headache registries. What is well established: hordeola are among the most common acute eyelid conditions in primary and optometric care, and chalazia — the chronic granulomatous cousin — are frequently seen in general ophthalmology. In clinical series, most uncomplicated hordeola resolve spontaneously within 1 to 2 weeks, with the painful inflammatory peak in the first 2 to 4 days.

Against that timeline, a referred headache that follows the swelling curve is expected. A headache that peaks after the lid swelling begins to settle, or that persists more than 48 hours beyond visible resolution, falls outside the typical referral pattern. In practical terms, treat the stye headache as a 3-to-5-day phenomenon during the inflammatory phase. Symptoms beyond that window deserve a different explanation.

One important caveat: prevalence figures for "stye headache" are not directly measured in population studies. Estimates must be derived from the overlap of two common conditions — hordeola and tension-type headache — and the referral mechanism itself. That means no single percentage can be stated with confidence, and any article offering a precise rate is likely extrapolating. The safer statement is that a mild ipsilateral headache during the inflammatory phase of a hordeolum is a recognized and mechanistically plausible complaint, while a severe headache is not.

Edge cases where the headache means something else

The most consequential distinction is between a hordeolum and preseptal versus orbital cellulitis. Preseptal cellulitis affects tissue anterior to the orbital septum and presents with diffuse lid swelling, warmth, and tenderness — headache can accompany it. Orbital cellulitis crosses the septum and threatens vision and the cavernous sinus. Its red flags include pain with eye movement, proptosis, reduced visual acuity, and fever. These are emergencies, not stye headaches.

Another edge case is the stye that triggers a secondary migraine in a susceptible person. People with a personal or family history of migraine have a lower threshold for trigeminal activation. A hordeolum in such a person can act as a peripheral trigger, producing a full migraine with nausea, photophobia, and phonophobia rather than a simple referred ache. The distinction matters because treatment differs: a simple stye headache responds to local care, while a triggered migraine may need the person's usual acute migraine protocol as directed by their clinician.

Herpes simplex blepharitis and zoster ophthalmicus can mimic a stye and are far more likely to produce significant headache — zoster especially, with a burning dermatomal pain that precedes the rash by several days. A "stye" that hurts far more than it looks, with neuralgic rather than pressure quality, should raise this possibility, particularly in adults over 50.

What the evidence does and does not support

The mechanism-level evidence for trigeminal referral from periocular inflammation is strong and anatomically grounded. The direct evidence that a hordeolum specifically causes headache is thin — mostly clinical observation and case series rather than controlled studies. This asymmetry is worth stating plainly: the pathway is well established, the frequency in hordeola is not. That gap is the professional caveat an honest explanation must carry.

It is also why claims that a stye "commonly causes headaches" should be softened. A more accurate framing is that a stye can cause a mild ipsilateral referred headache through a well-understood trigeminal mechanism, and clinicians should expect it during the inflammatory peak. Beyond that peak, alternative diagnoses should be actively considered rather than assumed to be stye-related.

Presentation Likely relationship to stye Key features Action threshold
Mild unilateral temple/brow ache Direct trigeminal referral Tracks swelling, 3–5 days Local care
Bilateral tension-type headache Coincidental, not stye-driven Global pressure, no laterality Usual care
Migraine with aura or nausea Stye as peripheral trigger Photophobia, phonophobia, vomiting Person's migraine plan
Pain with eye movement, fever Preseptal/orbital cellulitis Proptosis, vision change Urgent same-day care
Burning dermatomal pain before rash Zoster ophthalmicus Neuralgic quality, vesicles Urgent same-day care
Headache after swelling resolves Not stye referral Persists beyond 48 hours post-resolution Reassess cause

Red flags that remove "stye" from the differential

Vision changes, double vision, or pain with eye movement (possible orbital cellulitis) Fever, chills, or diffuse facial swelling (possible spreading infection) Proptosis or restricted eye movement Severe headache that is global, sudden, or worsening despite lid improvement A lid lesion that grows, ulcerates, or fails to improve after 2 weeks (possible malignancy) A "stye" with neuralgic, burning pain and no early swelling (consider zoster)

Practical actions and thresholds

Start with local measures. Warm compresses at 40 to 45 degrees Celsius for 10 to 15 minutes, three to four times daily, soften the meibum and encourage drainage. Keep the compress clean and avoid squeezing the lesion, which risks spreading infection into the orbital tissues. Over-the-counter oral analgesics such as acetaminophen or ibuprofen, used per label, address both lid pain and the referred headache; this is general information, not a dosing recommendation for any individual.

Most hordeola drain or resolve within 7 to 10 days with compresses alone. If the lesion persists beyond 2 weeks, or if a painless nodule remains after the acute phase, the diagnosis shifts toward chalazion, which may need warm compresses plus time, or clinician-guided options such as intralesional steroid injection or incision and curettage. Those are clinician decisions, not self-care steps.

For the headache specifically: if it follows the swelling curve and stays mild and unilateral, no separate workup is needed. If it outlasts the visible lid inflammation by more than 48 hours, or if it becomes severe, global, or associated with any red flag above, the headache should be evaluated on its own merits. Seek same-day care for vision change, pain with eye movement, or fever. Contact a clinician within 24 to 48 hours for a stye that worsens despite 48 hours of compresses.

Time course at a glance

Day Lid findings Typical headache status
0–1 Focal tenderness, early swelling Mild ache may begin
2–3 Peak swelling, possible pustule Referred ache most prominent
4–5 Drainage or softening Headache usually fading
6–7 Residual redness Headache typically resolved
8–14 Gradual resolution Headache absent; reassess if present
>14 Persistent nodule Consider chalazion, not stye referral

Misconceptions worth correcting

The most common misconception is that the headache means the infection is spreading. In most cases it reflects referred trigeminal pain and is not a marker of severity. The opposite error is dismissing every headache during a stye as referral — a person with sudden severe headache or fever needs evaluation regardless of the lid finding. A third misconception is that a stye "causes migraine"; more accurately, it can act as one peripheral trigger among many in a susceptible person, but it does not create migraine as a disease.

Finally, the "stye caused by stress" belief has partial mechanistic support — stress and sleep disruption affect immune function and meibomian gland behavior — but the causal chain is not established in controlled studies. Treat it as a plausible contributor, not a proven cause. The same caution applies to the assumption that a stye always needs antibiotics; most uncomplicated hordeola resolve without them, and topical or oral antibiotics are clinician-directed decisions reserved for specific presentations.

The practical takeaway is proportional: a mild, one-sided headache during the inflammatory peak of a stye fits the trigeminal referral mechanism and usually needs nothing beyond compresses and time. A headache that breaks that pattern — severe, global, persistent, or paired with any red flag — is a different clinical question and deserves a different answer.