A stye, clinically known as a hordeolum, is a common yet painful condition that presents as a small, red lump on or inside the eyelid. While they often appear suddenly, styes are the result of a specific biological process involving the eye’s natural oil glands and common skin bacteria. Understanding what triggers these localized infections is essential for both treating an active lump and preventing the frustration of recurrent episodes.
What We’ll Discuss in This Article
- The primary biological causes of stye formation
- Distinguishing between external and internal styes
- The role of Staphylococcus bacteria in eyelid infections
- Common lifestyle triggers that increase your risk
- The clinical link between blepharitis and frequent styes
- How blocked oil glands lead to localized swelling
- Practical steps for identifying the early signs of a stye
The primary cause: Bacterial infection
The most common cause of a stye is an infection of an oil gland or eyelash follicle by Staphylococcus bacteria. These bacteria are “commensal,” meaning they live harmlessly on the skin of almost every healthy person. However, if these bacteria become trapped inside a gland or a hair follicle often alongside dead skin cells or thickened oils they can multiply rapidly, causing the localized redness, swelling, and pus that characterize a stye.
According to the NHS guide to styes, a stye is essentially a small abscess. Much like a pimple on the face, the body responds to the bacterial overgrowth by sending white blood cells to the area, which leads to the formation of a “head” or a point of pus. While they are uncomfortable, most styes are superficial and do not affect the eyeball itself.
Clinical context suggests that anything that increases the “bacterial load” on the eyelids such as touching the eyes with unwashed hands significantly increases the likelihood of a stye forming.
Blocked glands and the “Internal Stye”
While many styes occur at the base of an eyelash (an external stye), they can also form deeper within the eyelid. These are called internal styes and occur when one of the meibomian glands the glands responsible for producing the oily layer of your tears becomes infected.
The process of formation involves:
- The Blockage: Thickened oil (meibum) or debris plugs the opening of the gland.
- Stagnation: The oil inside the gland cannot escape and becomes stagnant.
- Infection: Bacteria trapped behind the “plug” begin to grow.
- Inflammation: The gland swells, causing a lump that is often felt more than it is seen on the eyelid’s surface.
The College of Optometrists notes that internal styes are often more painful than external ones because the infection is contained within the firmer tissue of the eyelid.
Link to chronic conditions: Blepharitis
If you experience styes frequently, the underlying cause is often blepharitis. This chronic inflammation of the eyelid margins creates the perfect environment for styes to develop. In people with blepharitis, the eyelid oils are naturally thicker and more prone to blocking glands, and the bacterial population on the lash line is often higher than normal.
Because blepharitis is a long-term condition, it acts as a “constant trigger.” Without managing the underlying inflammation through daily eyelid hygiene, the glands will continue to block and infect, leading to the “cycle” of recurrent styes that many patients find so frustrating.
Common lifestyle triggers
Beyond underlying health conditions, several daily habits and environmental factors can trigger the formation of a stye by introducing bacteria or causing gland blockages.
| Trigger | How it causes a Stye |
| Eye Rubbing | Transfers bacteria from the hands directly into the glands. |
| Old Makeup | Mascara and eyeliner can harbour bacteria; old products increase infection risk. |
| Contact Lenses | Improper cleaning or handling can introduce pathogens to the eye. |
| Sleep Deprivation | A weakened immune system can make it harder for the body to fight off skin bacteria. |
| Stress | Linked to increased inflammation and frequent face-touching. |
The Association of Optometrists emphasizes that simple changes, such as replacing eye makeup every three months and washing hands before touching the face, are the most effective ways to prevent these triggers from leading to an infection.
Distinguishing a stye from a chalazion
It is important to ensure the lump is a stye and not a chalazion. While a stye is an acute infection (usually painful and red), a chalazion is a chronic, non-infectious blockage of an oil gland. A chalazion usually feels like a firm, painless “pea” under the skin and often develops after an internal stye has settled down but the gland remains blocked.
Management for both usually involves warm compresses to soften the blockage, but a stye may occasionally require antibiotic ointment if the infection is severe or spreading.
Conclusion
A stye is caused by a localized bacterial infection, typically involving Staphylococcus bacteria trapped within an eyelash follicle or an oil gland. While lifestyle factors like poor hand hygiene or old makeup often act as immediate triggers, chronic conditions like blepharitis provide the underlying environment for recurrent styes to form. By understanding the mechanical process of gland blockage and infection, you can take proactive steps such as consistent eyelid hygiene and avoiding eye rubbing to reduce your risk and maintain clear, comfortable eyelids.
If you experience severe, sudden, or worsening symptoms, call 999 immediately.
Seek urgent medical advice if your eyelid becomes extremely swollen and red, if the redness spreads to your cheek, or if you develop a fever alongside an eyelid lump.
Are styes contagious?
Styes are not generally considered contagious in the same way as a cold, but the bacteria can be spread via shared towels or makeup.
Can a stye be caused by stress?
Stress doesn’t directly cause an infection, but it can weaken your immune system and make you more prone to inflammation and eye rubbing.
Should I “pop” a stye?
No. Never squeeze a stye. This can push the infection deeper into the eyelid and lead to a much more serious condition called orbital cellulitis.
Why do I keep getting styes in the same eye?
This often suggests that you have localized blepharitis or a specific gland in that eye that is prone to becoming blocked.
How long does a stye take to form?
A stye usually develops quickly, often reaching its full size and peak pain within 24 to 48 hours.
Does washing my face help prevent styes?
Yes, regular face washing and specific eyelid hygiene help reduce the bacterial load and keep the oil gland openings clear.
Can I wear makeup with a stye?
It is best to avoid eye makeup while you have a stye to prevent further irritation and contamination of your products.
Authority Snapshot (E-E-A-T Block)
This article provides educational guidance on the causes of eyelid styes, following UK clinical standards from the NHS and the College of Optometrists. It was written by the Medical Content Team and reviewed by Dr. Rebecca Fernandez, a UK-trained physician with experience in internal medicine and emergency care. The goal is to provide accurate, safety-first information on common eyelid infections and their prevention.



