A blocked eyelid oil gland infected by Staphylococcus aureus from your own skin flora is the usual culprit behind a stye. The blocked gland forms a red, tender bump called a hordeolum near the lash line or deeper inside the lid, and the soreness often starts before the swelling becomes visible.
The guide below covers the glands involved, the habits that introduce bacteria to them, and the home routine that clears most styes within two weeks.
A Stye Starts With a Blocked Oil Gland on the Eyelid
Your eyelid depends on tiny oil glands to keep the tear film smooth and the cornea comfortable. When one of those glands gets blocked, the oil backs up inside, and bacteria that normally sit on the skin without causing trouble find a warm, sealed pocket to multiply in. The result is the red, tender bump called a stye.
Three types of glands sit along the eyelid margin, and which one gets blocked shapes both the symptoms and how long the stye lasts.
The Three Glands Involved
- Zeis glands: Sebaceous glands attached to each eyelash follicle, secreting oil that lubricates the lash.
- Moll glands: Sweat-like glands next to the lash base, also emptying at the follicle opening.
- Meibomian glands: Longer sebaceous glands set deeper inside the eyelid, releasing oil onto the tear film with every blink.
Because Zeis and Moll glands sit right at the lash line, an infection there shows up quickly as a small surface bump. A blocked Meibomian gland sits deeper, so the swelling stays tucked under the lid and often presses against more nerve endings. That depth difference explains why some styes hurt sharply while others feel like a dull ache behind the eye.
That depth difference also shapes whether the bump points outward or hides beneath the lid tissue.
External Versus Internal Styes and Why the Difference Matters
An external stye forms when a Zeis or Moll gland at the lash follicle gets infected, and it points outward, close to the skin surface. An internal stye forms when a Meibomian gland inside the tarsal plate gets infected, swelling the lid from within. Location changes what the bump looks like, how much it hurts, and whether it tends to drain on its own.
| Feature | External Stye | Internal Stye |
|---|---|---|
| Affected gland | Zeis or Moll (lash follicle) | Meibomian gland (inside the lid) |
| Typical location | Outer edge of the eyelid, near the lash line | Under the eyelid, away from the lash base |
| Appearance | Small yellow or white head, looks like a pimple | Red, swollen patch with no visible white tip |
| Pain level | Localized, sharp when touched | Deeper, more constant ache across the lid |
| Usual course | Drains on its own within a week | Often slower, may need medical drainage |
External styes usually come to a head and resolve quickly, because the infection sits near a natural drainage point at the lash follicle. Internal styes often linger because the infected gland is buried under tougher tissue, and the body has a harder time pushing the pus out. An internal stye that doesn’t shrink after two weeks of warm compresses is the one most likely to need a clinician’s help.
The Bacteria and Daily Habits That Actually Trigger a Stye
Staphylococcus aureus is the organism behind most styes, and it isn’t exotic. Roughly one in three healthy adults carries it on their skin or inside their nose without symptoms, a figure documented in National Institutes of Health surveillance data. A stye isn’t a sign of a rare germ; it’s a sign that a common germ ended up in a place it shouldn’t be.
Direct Contamination Routes
- Rubbing your eyes: Every touch drags bacteria from fingers and knuckles toward the lash line, where the gland openings sit.
- Sleeping in eye makeup: Mascara and eyeliner cake overnight into the follicle, sealing bacteria inside the gland.
- Expired cosmetics: Old mascara becomes a bacterial reservoir once the preservative system breaks down, usually within three to six months of opening.
- Overnight contact lens wear: Extended-wear lenses reduce oxygen to the cornea and trap microbes against the lid margin for hours.
- Poor lens hygiene: Reusing solution or skipping the rub-and-rinse step transfers biofilm directly into the eye.
Background Factors That Weaken the Lid’s Defenses
Stress, hormonal shifts, and poor sleep don’t directly cause a stye, but they change the eyelid environment in measurable ways. Stress hormones thicken the oil that Meibomian glands secrete, which makes blockages easier to form. Hormonal changes during menstruation or pregnancy shift the same oil composition. A few nights of short sleep dry the eye surface, nudging you to rub it more. None of these triggers is enough alone; together, they stack the odds in the bacteria’s favor.
When that stacking repeats itself every few months, underlying conditions usually deserve a closer look.
Underlying Conditions and Lifestyle Patterns Behind Recurring Styes
One stye is a nuisance. Repeated styes often point to a chronic eyelid condition that keeps glands inflamed. The American Academy of Ophthalmology notes that blepharitis, rosacea, and seborrheic dermatitis all change the oil quality on the lid margin, which makes blockages more likely with each passing month.
Chronic Conditions That Feed the Cycle
Blepharitis keeps the eyelid margin inflamed and crusted, so the gland openings stay partially closed. Facial rosacea often travels to the eyelids, thickening the meibomian gland secretions. Seborrheic dermatitis adds flaking that physically obstructs the follicles. When any of these conditions is active, a stye becomes almost inevitable after a long screen day or a night of poor sleep.
Lifestyle Patterns That Quietly Set Up the Next Stye
Screen-heavy days reduce your blink rate by roughly a third, which leaves meibomian gland oil sitting in the duct longer and thickening. Dry indoor air in winter does the same thing on a longer timeline. Skipping eyelid cleaning for weeks lets biofilm build up along the margin, narrowing the openings without you noticing. None of these habits registers as a problem alone. Run them together for a season and a stye shows up like clockwork.
Some adults get a stye monthly because their gland anatomy runs narrow, or because their immune baseline runs lower. Others never get one because their glands drain freely and their skin flora stays balanced. The honest link is that repeated styes deserve a conversation with a clinician, especially when blepharitis, rosacea, or dermatitis may be quietly driving them.
Stye Versus Chalazion Versus Pink Eye: A Quick Recognition Guide
Three common eyelid problems look similar at first glance but come from different causes. Sorting them out matters because the home care isn’t the same for each.
| Sign | Stye (Hordeolum) | Chalazion | Pink Eye (Conjunctivitis) |
|---|---|---|---|
| Where it sits | Lash line or inside the lid, one gland | Inside the lid, often mid-lid away from lashes | Surface of the eyeball and inner lid |
| Pain | Tender, often sharp | Usually painless | Gritty, itchy, burning |
| Onset | Fast, hours to a day | Slow, days to weeks | Fast, often with cold symptoms |
| Discharge | Minimal | None | Watery or sticky, may crust lashes shut |
| Redness | Localized to one bump | Localized, no white head | Diffuse across the white of the eye |
A stye is tender, acute, and centered on one gland. A chalazion is a slow-growing, painless lump that comes from a blocked gland without active infection. Pink eye affects the eyeball surface, not the lid, and usually arrives with itching and discharge that crusts the lashes together overnight.
Any spreading redness across the whole lid, fever, blurred vision, or a stye that grows rapidly shifts the situation from home care to same-day medical attention. Those signs can point to preseptal cellulitis, an infection that spreads quickly through the eyelid tissue.
Safe At-Home Treatment, Healing Timeline, and Clear Signs to See a Doctor
The cornerstone of home care is warmth applied directly to the closed eyelid. Heat softens the blocked oil, brings more blood flow to the area, and helps the stye drain on its own without squeezing.
The Warm Compress Routine
- Step 1: Prepare the cloth. Run a clean washcloth under warm (not hot) water and wring it out so it stays damp without dripping.
- Step 2: Apply to the closed eye. Hold the cloth gently against the affected lid for 10 to 15 minutes without pressing.
- Step 3: Repeat through the day. Aim for three to four sessions daily until the stye drains and shrinks.
- Step 4: Clean the lid after each session. Wipe away any discharge with a fresh cotton pad and warm water, then wash your hands.
What to Skip and What to Watch For
Skip contact lenses and eye makeup until the stye has fully drained. Don’t squeeze or pop the bump: forcing pus out can push the infection deeper into the eyelid tissue and, in rare cases, into the orbit. Most styes shrink and disappear within one to two weeks of consistent warm compress use.
Seek medical help if the stye grows larger after a few days of home care, blocks your vision by swelling the lid shut, lasts beyond two weeks, or if the entire eyelid turns red, hot, and swollen. These signs can mean the infection has spread beyond the original gland and needs a clinician’s evaluation, sometimes including incision and drainage or antibiotic ointment.
Once a clinician has cleared the infection, the same habits that triggered it become the most reliable way to keep it from returning.
Prevention Habits That Target the Actual Cause, Not Just the Symptom
Because the trigger is bacteria slipping into a blocked gland, prevention comes down to keeping the lid margin clean and keeping germs off your hands and tools. The Cleveland Clinic highlights daily lid hygiene as the single most effective habit for anyone prone to recurrent styes.
Daily Lid Hygiene Checklist
- Warm washcloth once a day: Hold a clean, damp warm cloth over closed eyes for one minute to soften oil in the meibomian glands.
- Gentle lid scrub: Use a diluted baby shampoo or a commercially prepared lid wipe along the lash line to clear debris.
- Replace eye makeup every 3 to 6 months: Mascara and liquid liner break down fastest, so swap them on a schedule rather than waiting for smell or texture changes.
- Never share cosmetics or towels: Styes spread through direct contact, so keep mascara, brushes, washcloths, and pillowcases personal.
- Remove contacts before sleep: Follow the wear schedule your eye care professional set, and wash hands before handling lenses every time.
- Manage underlying conditions: Work with a clinician on blepharitis, rosacea, or seborrheic dermatitis to interrupt the cycle of recurrent styes at its source.
Rubbing your eyes is the fastest way to move bacteria from your fingers to a gland opening. Train yourself to reach for a clean tissue or artificial tears instead, especially during allergy season when the urge to rub feels constant.
The Bottom Line
A stye is your eyelid’s signal that bacteria slipped past a gland opening, usually because oil, debris, or a cosmetic sealed the door shut behind them. Warm compresses, clean hands, and a disciplined lid routine fix most cases within two weeks and stop the next one from forming. When styes keep coming back, the answer isn’t a stronger habit; it’s a conversation with an eye care professional about an underlying condition like blepharitis or rosacea that quietly drives the cycle.
FAQ
Are styes caused by stress?
Stress doesn’t directly cause a stye, but it can thicken the oil in your meibomian glands and lower your blink rate, both of which make gland blockages easier. A stye still needs bacteria in the gland to form, so stress acts as a setup, not the trigger itself.
How long does a stye last?
Most styes drain and shrink within one to two weeks of consistent warm compress use. Internal styes can run a little longer, and any stye that grows, blocks your vision, or lasts beyond two weeks should be evaluated by an eye care professional.
Can a stye be contagious?
Yes, the bacteria inside a stye can spread through direct contact, so avoid sharing towels, pillowcases, eye makeup, or washcloths while it’s active. Wash your hands after touching the affected lid to keep the infection from transferring to the other eye or to another person.
When should I see a doctor for a stye?
Seek medical care if the stye grows rapidly, the whole eyelid becomes red and swollen, you develop fever or blurred vision, or the stye hasn’t improved after two weeks of warm compresses. These signs can point to a deeper infection such as preseptal cellulitis that needs more than home care.
How can I prevent styes from coming back?
Daily lid hygiene, fresh eye makeup, removing contacts before sleep, and washing hands before touching your face are the four habits that cut recurrence the most. If styes keep returning despite good habits, ask an eye care professional to check for blepharitis, rosacea, or seborrheic dermatitis.
What causes a stye to form on your eye?
A stye forms when Staphylococcus aureus bacteria from your skin or nose enter an eyelid oil gland that has already been blocked by thickened secretions, cosmetics, or debris. The trapped bacteria multiply inside the sealed gland, producing the red, tender bump called a hordeolum.
