A stye happens when a tiny oil-producing gland at the edge of the eyelid becomes blocked, the trapped oil feeds a bacterial bloom, and the immune system walls off the infection into a small, painful abscess. Two glands account for nearly all cases. An external stye forms at an eyelash follicle or its attached Zeis gland; an internal stye forms in a meibomian gland buried deeper in the eyelid plate. The visible bump is not the bacteria itself but your own neutrophils and dead tissue corralled around them.
Most styes resolve on their own within 1 to 2 weeks, and warm compresses remain the mainstay of home care. The interesting science sits one level below the surface: how a gland that secretes oil all day suddenly becomes a sealed chamber, and why the eyelid is unusually vulnerable to that failure.
The blocked duct: how a gland becomes a sealed chamber
The eyelid runs on oil. Roughly 25 to 40 meibomian glands line the upper lid and 20 to 30 line the lower lid, each a vertical tube opening onto the lid margin just behind the lashes. Every blink squeezes a film of meibum onto the eye surface. That film slows tear evaporation, which is why a healthy tear layer can hold together between blinks for about 10 seconds. When a gland's opening narrows, the meibum backs up and thickens.
This is the physical bottleneck that starts a stye. Meibum that sits still loses water and becomes more viscous, and viscous oil moves poorly through a narrow duct. A cycle sets in: slower flow allows more thickening, and thicker oil slows flow further. Eventually the duct seals. Keratinized cells shed from the duct lining can plug the opening outright, and makeup residue or a particle of debris can do the same from outside.
An external stye follows a parallel path at the lid margin. Each eyelash sits in a follicle with a small sebaceous Zeis gland and an apocrine Moll gland attached. A follicle pore that clogs traps sebum in the same way, producing a smaller, more superficial abscess right at the lash line. The anatomy explains the two presentations: external styes point outward and often drain through the skin, while internal styes stay confined by the tough tarsal plate and point inward toward the eye surface.
Bacteria, biofilm, and the immune response
The bacteria are not invaders from outside. Staphylococcus aureus colonizes the skin and eyelid margins of a large share of healthy adults, and eyelid skin carries a dense resident population. A stye begins when that resident flora gains access to a nutrient-rich, warm, enclosed space. Sealed meibum is an ideal culture medium: lipid-rich, body temperature, and shielded from the tear film's antimicrobial proteins like lysozyme and lactoferrin.
Staphylococci aggravate the blockage chemically. They release lipases that split meibum triglycerides into free fatty acids, which irritate the duct lining and provoke swelling. They also form biofilms, adherent bacterial communities embedded in a self-produced matrix. A biofilm resists clearance by immune cells and by tear flow, which helps explain why a stye can smolder for days rather than resolving in hours like a minor skin pimple.
The bump itself is the immune response. Neutrophils migrate into the blocked gland and release enzymes and reactive oxygen species to kill bacteria. That arsenal also damages surrounding tissue, and the resulting mixture of dead bacteria, dead neutrophils, and liquefied gland tissue becomes pus. A fibrous capsule of organizing tissue then walls the collection off, forming an abscess. Pressure inside rises, which stretches the lid skin and stimulates pain receptors. The tenderness of an early stye is largely a pressure and inflammation signal, not bacterial pain directly.
This cascade explains the timeline. Swelling and tenderness appear first as neutrophils arrive, and pus accumulates over the following days. A white or yellow head appears when the abscess thins the overlying tissue enough to show through: on the skin side for an external stye, at the lid margin for an internal one.
Quantified context: how common, how long, how often recurrent
Eyelid margin disease is extremely common. Blepharitis, the chronic inflammation of the lid margins that frequently accompanies meibomian gland dysfunction, is among the most frequent reasons for eye-care visits, and meibomian gland dysfunction itself affects a substantial fraction of adults in population studies. Styes are the acute, focal expression of that chronic background, which is why they cluster in people with oily skin, rosacea, or seborrheic dermatitis.
Most styes are self-limited. A typical external stye peaks in size over 2 to 4 days and resolves within 1 to 2 weeks, often draining spontaneously. Internal styes tend to run longer because the tarsal plate contains them; 1 to 3 weeks is a reasonable expectation, and some persist beyond that. Recurrence is common when the underlying gland dysfunction is not addressed. Two or more styes in a year is a signal to look at lid hygiene and skin conditions rather than treating each bump in isolation.
Age matters in the statistics. Styes occur in children and adults alike, but recurrent styes in a child warrant a closer look at lid hygiene and, in some cases, underlying skin disease. In adults, the same pattern combined with facial flushing or rosacea points to a shared inflammatory mechanism on the lid margins.
Timeline: what happens and when
| Stage | Time frame | What is occurring | What you notice |
|---|---|---|---|
| Duct narrowing | Hours to days | Meibum thickens; flow slows | Nothing, or mild lid margin crusting |
| Sealing and colonization | Hours | Duct plugs; staphylococci multiply | Faint tenderness at one lid spot |
| Early inflammation | Day 1-2 | Neutrophils arrive; lipases irritate tissue | Localized swelling and pain on blink |
| Abscess formation | Day 2-4 | Pus collects; fibrous capsule forms | Firm, tender bump; redness |
| Pointing | Day 3-5 | Abscess thins overlying tissue | Visible white or yellow head |
| Spontaneous drainage | Day 4-10 | Pressure opens the weakest point | Pus release; rapid pain relief |
| Resolution | 1-2 weeks (external); up to 3 weeks (internal) | Inflammation subsides; tissue remodels | Bump shrinks; may leave small firm nodule |
The times are typical ranges, not rules. A stye that fails to follow this arc, especially one that worsens after day 4, deserves professional evaluation.
Chalazion, hordeolum, and other look-alikes: what you are actually dealing with
A stye is a hordeolum, an acute infected gland. A chalazion is a different entity: a blocked meibomian gland that becomes a chronic, sterile, granulomatous nodule without an active infection. The distinction matters because chalazia often need different management, including injection or excision when persistent. A single bump can also shift from one to the other: an acute stye that resolves its infection can leave behind a firm, painless chalazion.
| Feature | External hordeolum (stye) | Internal hordeolum (stye) | Chalazion | Blepharitis (chronic) | Milium |
|---|---|---|---|---|---|
| Gland involved | Zeis or lash follicle | Meibomian | Meibomian | Multiple lid margin glands | Keratin-filled cyst |
| Location | Lid margin at a lash | Deep in tarsal plate | Deep in tarsal plate | Whole lid margin | Superficial skin |
| Pain | Yes, often sharp | Yes, deeper ache | Usually painless | Burning, gritty | None |
| Infection | Bacterial | Bacterial | Sterile inflammation | Low-grade bacterial | None |
| Typical duration | 1-2 weeks | 1-3 weeks | Weeks to months | Chronic, relapsing | Months |
| First-line care | Warm compresses | Warm compresses | Warm compresses, then professional care | Lid hygiene | None needed |
The counterintuitive professional point: not every lid bump is a stye, and treating a chalazion as an infection can delay the right care. Warm compresses help both, but a painless lump persisting past a month is a chalazion or another lesion, not a stye on a slow schedule.
What does not cause styes, and what actually does
Misconceptions cluster around blame and contagion. A stye is not caused by eye strain from screens, by reading in dim light, or by stress directly, though fatigue and poor sleep may reduce immune vigilance. It is not contagious through casual contact, though the bacteria involved can spread between a person's own eyes via hands, and sharing towels or eye makeup can transfer flora. It is not caused by "toxins" or a dirty eye in the ordinary sense; the eyelid is colonized by bacteria regardless of hygiene.
What actually raises risk is more specific. Meibomian gland dysfunction and blepharitis create the chronic duct narrowing that precedes most styes. Rosacea and seborrheic dermatitis inflame lid margins and alter gland secretion. Touching or rubbing the eyes transfers bacteria and physically irritates follicles. Reusing old eye makeup, particularly mascara and eyeliner beyond about 3 months, introduces both bacteria and obstructing residue at the lid margin. Contact lens wear that is extended or poorly cleaned adds mechanical and microbial load. Diabetes and other conditions that impair immunity raise recurrence risk.
A counterintuitive detail from lid physiology: the eyelid's immune defenses are deliberately restrained. The cornea needs immune privilege to avoid scarring from everyday inflammation, and the lid margin tolerates a resident bacterial population that would trigger a stronger response elsewhere on skin. That tolerance is useful most of the time, and it is also why a sealed gland can incubate quietly for a day or two before symptoms appear.
Practical actions and red-flag thresholds
The evidence-based first step is heat. A warm compress at roughly 40 to 45 degrees Celsius (about 104 to 113 degrees Fahrenheit), applied for 10 to 15 minutes, three to four times daily, softens meibum and encourages drainage. A clean washcloth under warm running water, reheated as it cools, works. Keep the heat comfortable against the closed lid; do not apply anything hot enough to sting.
Lid hygiene supports drainage and reduces recurrence. Gentle washing of the closed lids with a clean cloth, or use of commercially available eyelid cleansers, removes crust and residue. Avoid scrubbing the lid margin hard. Stop wearing eye makeup and contact lenses until the stye resolves, and discard makeup that touched the affected lid.
Do not squeeze, pop, or lance a stye at home. The eyelid's venous drainage connects toward the face and cavernous sinus region, and forceful squeezing can push infected material deeper rather than out. Let a stye drain on its own or under professional care.
See a clinician promptly for any of these:
Swelling that spreads beyond the lid to the cheek or forehead, or fever with the lid swelling. Vision changes, pain with eye movement, or the eye itself becoming red and light-sensitive. A stye that worsens after 3 to 4 days or persists beyond 2 weeks without improving. Recurrent styes, several per year, or styes in a young child. A painless lid lump present for more than a month, which suggests a chalazion or another lesion. Any lid bump in someone with diabetes or impaired immunity.
Thresholds worth reconciling explicitly: home observation is reasonable for up to 2 weeks for an external stye and up to 3 weeks for an internal one, but worsening at any point overrides the clock. A painless lump gets a different threshold, roughly 1 month, because chalazia and other lesions behave differently from infections. Professional care for a persistent chalazion may include injection or minor excision, but those decisions belong to a clinician, not a home protocol.
Limits of what this explains
The mechanism above is well established, but several practical questions lack clean answers. Why some blocked glands infect and others simply form a sterile chalazion is not fully understood; bacterial load, duct anatomy, and host immunity likely interact. Whether routine lid hygiene prevents first styes, as opposed to reducing recurrence, is plausible but not firmly proven in trials. The role of specific biofilm-forming staphylococcal strains in recurrence is an active research area.
This article describes mechanisms and general self-care, not a diagnosis or treatment plan for any individual. A stye is usually a minor, self-limited problem, and the gland-level view explains why: a small plumbing failure, a resident bacterium, and an immune response doing its job. When the plumbing keeps failing, the useful question shifts from treating the bump to addressing the lid margins that keep producing it.