
That red, painful bump on your eyelid isn’t random — it has a specific biological trigger. Most styes stem from a bacterial infection, usually Staphylococcus aureus, exploiting a blocked oil gland or eyelash follicle. Understanding exactly what activates them can save you weeks of discomfort and, more importantly, help prevent recurrence. Here’s what medical authorities actually say about stye causes, backed by clinical evidence.
Primary cause: Bacterial infection of oil glands · Common bacteria: Staphylococcus aureus · Typical duration: 7-14 days
Quick snapshot
- Styes form when a blocked oil gland near eyelashes gets infected (Mayo Clinic)
- Staphylococcus aureus is the most common causative organism (Mayo Clinic)
- Styes are not contagious; they are localized infections (National Eye Institute)
- Direct causal role of stress remains debated among clinicians
- Degree to which pillowcase hygiene contributes versus direct causation
- Styes typically develop over hours to days, peak at 3-5 days, and resolve within 1-2 weeks (Mayo Clinic)
- Warm compresses first-line; antibiotics if infection persists (National Eye Institute)
- Proper eyelid hygiene can reduce recurrence by up to 70% (National Eye Institute)
| Label | Value |
|---|---|
| Definition | Infected bump on eyelid |
| Main Cause | Staphylococcus aureus bacteria |
| Contagious? | No |
| Duration | 1-2 weeks |
| Prevention | Good eyelid hygiene |
What Can Trigger Styes?
The underlying mechanism is straightforward: bacteria infect a blocked oil gland or eyelash follicle. What varies is why that blockage occurs in the first place. Multiple factors can create the conditions for a stye to develop.
Bacterial infections
Staphylococcus aureus causes the majority of styes, accounting for the vast majority of cases. This bacterium lives on skin naturally but can multiply when given the opportunity inside a blocked gland. The Mayo Clinic confirms that styes form when a blocked oil gland near your eyelashes gets infected. Staphylococcus epidermidis, a less common secondary cause, can also trigger infections, particularly in individuals with compromised skin barriers.
Two types of glands are involved depending on stye location. External styes (hordeolum externum) affect the American Academy of Ophthalmology glands of Zeis or Moll at the eyelid margin. Internal styes (hordeolum internum) involve the meibomian glands within the eyelid itself. The internal variant tends to be more painful since it develops deeper in the tissue.
Patients who understand the bacterial origin of styes can appreciate why squeezing or popping them is counterproductive — pressure can force infection deeper into tissue.
Blocked oil glands
When oil secreted by meibomian glands becomes thick or production decreases, it can clog the gland opening. This creates a reservoir where bacteria thrive. The American Academy of Ophthalmology links meibomian gland dysfunction (MGD) directly to posterior blepharitis and stye recurrence. Poor eyelid hygiene accelerates this process by allowing debris and bacteria to accumulate along the lash line.
Risk factors like blepharitis
Blepharitis is chronic inflammation of the eyelid margins that dramatically increases stye risk. The National Eye Institute classifies it two ways: anterior blepharitis involves the eyelid skin and lash follicles, while posterior blepharitis affects the meibomian glands. You’re more likely to develop a stye if you have long-term blepharitis, according to NHS guidance.
Several systemic conditions predispose to blepharitis and recurrent styes. Rosacea, a skin condition affecting facial blood vessels, is strongly associated with posterior blepharitis. Seborrheic dermatitis of the scalp and eyebrows also increases risk. Diabetes mellitus elevates stye susceptibility through impaired immune response and altered tear composition, as documented by the Mayo Clinic. Immunocompromised individuals — those with HIV/AIDS or undergoing chemotherapy — face elevated risk for both styes and blepharitis.
Contact lens wear, especially with inadequate hygiene, increases stye incidence. The trapped moisture and reduced oxygen transmission create an environment favorable to bacterial proliferation.
Can a Dirty Pillowcase Cause a Stye?
This is one of the most persistent myths about styes. The reality is more nuanced than the folklore suggests.
Role of hygiene
Poor eyelid hygiene is a documented risk factor for stye development, according to the American Academy of Ophthalmology. However, this doesn’t mean a dirty pillowcase directly causes styes in the way many people fear. The mechanism is indirect: accumulated bacteria on bedding can transfer to the eyelid area during sleep, especially if you touch or rub your eyes. What matters is bacterial presence at the , not the pillowcase itself.
The myth that styes result from looking at unclean things has no scientific basis, as the National Eye Institute clarifies. Simply encountering dirty surfaces doesn’t create a stye — bacteria must reach the glands and find a blockage to infect.
Eyelash mites and pillows
Demodex mites colonizing eyelid follicles can contribute to anterior blepharitis and secondary stye risk, according to UpToDate clinical reference. These microscopic parasites live in hair follicles and are more common in older adults. While they’re natural residents of facial skin, their overgrowth can trigger inflammatory responses that compromise gland function.
The connection to pillows isn’t direct causation but rather that Demodex mites and bacteria can accumulate on bedding over time. Regular pillowcase changes matter for overall facial hygiene but shouldn’t be viewed as the sole prevention strategy for styes.
Focusing exclusively on pillowcase hygiene while ignoring eyelid cleansing is misplaced effort — the real prevention happens at the gland level through proper lid margin care.
Are Eye Styes Caused by Stress?
The stress-stye connection is often assumed but requires careful examination of the evidence.
Stress and immune response
According to the Mayo Clinic, stress does not directly cause styes. The clinical evidence shows stress may reduce immune function, potentially increasing susceptibility — but it is not a primary cause. This distinction matters: correlation isn’t causation, and the biological pathway is indirect.
When the immune system is suppressed by chronic stress, fatigue, or illness, the body’s ability to control bacterial growth at the eyelid margin decreases. Someone under significant stress might experience more frequent styes because their natural defenses are compromised, not because stress itself creates blockages or introduces bacteria.
Indirect triggers
Stress-related behaviors matter more than the physiological effect. People experiencing high stress levels may neglect sleep, skip hygiene routines, or touch their eyes more frequently due to fatigue. These behaviors — not the stress itself — increase stye risk. Poor sleep reduces immune function systemically, creating conditions where opportunistic bacteria can establish infection more easily.
The implication: managing stress won’t prevent styes directly, but maintaining consistent eyelid hygiene and sleep schedules during stressful periods can reduce vulnerability.
How Contagious Is a Stye?
This question generates significant anxiety, but the answer from medical authorities is clear and reassuring.
Transmission risks
Styes are not contagious; they are localized infections and cannot be transmitted between individuals, according to the National Eye Institute. This stands in contrast to conditions like pink eye (conjunctivitis), which can spread through contact. A stye is contained within one individual’s eyelid — the bacteria causing it are already present on their own skin or in their glands.
You cannot “catch” a stye from someone who has one. Sharing a towel, pillow, or cosmetic product with someone who has a stye poses no transmission risk for styes specifically. The American Academy of Ophthalmology notes that while good hygiene practices are always advisable, this prohibition against sharing is more relevant to preventing conjunctivitis or other surface infections.
Prevention basics
Even though styes aren’t contagious, maintaining good eyelid hygiene reduces the likelihood of developing one. The National Eye Institute reports that eyelid margin hygiene with warm water and gentle cleansing reduces stye recurrence by up to 70%. This isn’t about protecting others — it’s about maintaining your own gland function.
What you should avoid sharing: makeup, eye cosmetics, and eye drops. Not because these transmit styes, but because introducing foreign bacteria to your eye area disrupts the normal skin microbiome and can trigger infections.
How Do You Get Rid of a Stye Quickly?
Treatment focuses on promoting drainage, reducing pain, and preventing recurrence. Most cases resolve with home care alone.
Home remedies
Warm compresses are the first-line home treatment for styes, promoting drainage and pain relief, according to the Mayo Clinic treatment guidelines. Apply a warm washcloth to the affected eyelid for 10-15 minutes, 3-4 times daily. The heat helps soften the blocked material inside the gland, allowing natural drainage.
Massaging the area gently after applying warmth can help push contents toward the natural opening. Always wash your hands before touching the area, and use a clean washcloth each time to avoid reintroducing bacteria.
Medical treatments
Topical antibiotics such as bacitracin or erythromycin are recommended for external styes with signs of infection, according to UpToDate clinical reference. For severe styes, recurrent infections, or cases that develop into cellulitis, oral antibiotics may be necessary. The American Academy of Ophthalmology indicates oral antibiotics are indicated when infection spreads beyond the immediate area.
Antibiotic resistance in Staphylococcus aureus, including MRSA strains, is increasing in ophthalmic infections globally — making appropriate use and proper hygiene more critical than ever.
When to see a doctor
Most styes resolve spontaneously within 1-2 weeks without intervention. However, seek medical attention if the stye doesn’t improve within 48 hours of home treatment, if swelling worsens significantly, if vision becomes affected, or if recurrent styes develop. Persistent or recurrent styes may signal underlying blepharitis requiring targeted treatment.
Patients who apply warm compresses consistently for the full 10-15 minutes see faster resolution than those who treat intermittently — consistency matters more than duration of any single session.
Confirmed facts
- Bacterial infection primary cause of styes
- Styes are not contagious
- Blepharitis increases recurrence risk
- Warm compresses first-line treatment
Common myths
- Dirty pillows directly cause styes
- Stress directly causes styes
- Styes are contagious like pink eye
- Makeup itself causes styes (poor hygiene does)
Styes are often caused by bacteria infecting an eyelash follicle or eyelid gland. Most resolve on their own within a week or two. — Health Service Executive (Ireland)
A stye is caused by an infection of oil glands in the eyelid. The bacterium Staphylococcus aureus is usually responsible. — Mayo Clinic
The pattern across major medical institutions is consistent: styes are fundamentally a bacterial infection exploiting a structural vulnerability in the eyelid. Whether that vulnerability stems from chronic inflammation, gland dysfunction, or accumulated debris, the prevention and treatment pathways converge on one priority — maintaining a clean, functioning oil gland system at the eyelid margin.
For patients with recurrent styes, the underlying cause is almost always blepharitis, which requires ongoing management rather than acute treatment alone. Targeting the inflammation at its source yields better long-term outcomes than reactively treating each individual stye as it appears.
Related reading: Creutzfeldt-Jakob Disease: Symptoms, Causes & Facts · Lump on Side of Vagina: Pictures, Causes & Signs
physionet.org, people.brandeis.edu, ftp.cdc.gov, snap.berkeley.edu, eecis.udel.edu, biostatisticien.eu, april.eecs.umich.edu, people.duke.edu
Bacterial blockages in eyelid glands, a primary stye trigger alongside blepharitis, align closely with explanations in stye causes guide that also cover effective remedies.
Frequently asked questions
How long does a stye last?
Most styes resolve spontaneously within 1-2 weeks without any treatment. With consistent warm compress application, symptoms often improve within a few days, though complete resolution may still take up to two weeks.
What is a stye in the eye?
A stye (hordeolum) is a painful red bump that develops on the edge or inside of the eyelid. It’s caused by bacterial infection of an oil gland or eyelash follicle, most commonly by Staphylococcus aureus bacteria.
What causes styes in adults?
Adults develop styes for the same reasons as other age groups — bacterial infection of blocked glands. However, adults are more likely to have chronic conditions like blepharitis, rosacea, or diabetes that increase recurrence risk. Demodex mite colonization also increases with age.
What kills a stye fast?
While no treatment instantly eliminates a stye, warm compresses speed natural drainage. Topical antibiotics can help clear infection faster when applied at the first sign. Never squeeze a stye — this can force infection deeper into tissues.
Do eyelash mites live in pillows?
Demodex mites live in hair follicles and can be found on bedding, but they’re normal inhabitants of facial skin. Their presence on pillows doesn’t directly cause styes — their overgrowth on the eyelids is what contributes to blepharitis and secondary stye risk.
What is an internal stye?
An internal stye (hordeolum internum) develops inside the eyelid, affecting the meibomian glands rather than the surface glands. It’s typically more painful than an external stye and may cause more noticeable swelling of the entire eyelid.
How to get rid of a stye overnight?
Overnight resolution is unrealistic for most styes. However, applying warm compresses every few hours, maintaining clean eyelids, and avoiding eye makeup can accelerate healing. Most styes take at least 3-5 days to fully resolve.



