Styes form when bacteria infect one of the tiny glands or hair follicles along your eyelid’s edge. The culprit is almost always Staphylococcus aureus, a common skin bacterium that gets trapped inside a blocked gland, triggering a painful, pus-filled bump. Most styes clear up on their own within one to two weeks, but understanding what causes them can help you avoid getting them repeatedly.
What Actually Happens Inside Your Eyelid
Your eyelids contain dozens of small oil-producing glands. Some sit right at the base of your eyelashes, while others (called meibomian glands) line the inner rim of the lid. These glands release oils that coat your tears and keep your eyes from drying out. A stye begins when one of these gland openings gets clogged, usually by dead skin cells, dried oil, or debris. Bacteria that naturally live on your skin colonize the blocked gland and multiply, creating a small abscess.
There are two types. An external stye, the more common kind, develops at the root of an eyelash follicle and appears as a red, swollen bump on the outer edge of your lid. An internal stye forms deeper inside the lid when a meibomian gland becomes infected. Internal styes tend to be less visible but can feel more uncomfortable because they press against the eye itself.
Why Some People Get Styes More Often
A single stye can happen to anyone, but recurring styes usually point to an underlying issue with eyelid health. The most common one is blepharitis, a chronic low-grade inflammation of the eyelid margins. People with blepharitis carry higher levels of bacteria along their lash line and tend to have thicker, stickier gland secretions that clog more easily. Doctors don’t fully understand why blepharitis develops, but it often involves a combination of excess bacteria and ongoing inflammation.
Meibomian gland dysfunction, a related condition, causes the oil glands to stop producing healthy secretions. When the glands are blocked, they can’t release the oils your eyes need, and the stagnant material inside becomes a perfect environment for infection. Blepharitis and meibomian gland dysfunction frequently overlap, and both significantly raise your chances of developing styes or chalazia (the non-painful bumps that form when a blocked gland becomes chronically inflamed rather than infected).
Rosacea is another major risk factor. People with acne-related rosacea can develop a version that affects the eyes, called ocular rosacea, which leads to blocked oil glands around the eyelids. If you notice that styes keep coming back alongside facial redness or flushing, ocular rosacea may be the connection.
The Role of Eyelid Mites
Microscopic mites called Demodex live in human hair follicles and eyelashes. They’re surprisingly common: roughly 18% of healthy adults under 35 carry them on their lashes, and prevalence rates range from 13% to 70% across different populations worldwide. In small numbers, they’re harmless. But when they overpopulate, they cause a form of chronic eyelid inflammation called Demodex blepharitis.
These mites don’t directly cause styes, but they act as mechanical carriers of bacteria, including Staphylococcus. As they move along your lash line, they transfer skin and environmental bacteria into gland openings that might otherwise stay clean. If you’ve had persistent eyelid irritation that doesn’t respond to standard hygiene, a Demodex infestation is worth investigating with your eye doctor.
Makeup and Hygiene Habits That Raise Your Risk
The bacteria that cause styes thrive in warm, moist environments, which is exactly what the inside of a mascara tube provides. Mascara expires faster than any other eye product because each use pumps air into the tube. Using it beyond three months significantly increases bacterial contamination. Liquid eyeliner follows a similar timeline: three months before bacteria levels become problematic. Pencil eyeliners last longer (up to two years) because sharpening exposes a fresh, clean surface, but only if you clean your sharpener with alcohol regularly.
Cream eyeshadows should be replaced every six months, and any applicator brushes need weekly cleaning at minimum. Eye creams in jars, which involve fingertips and open air exposure, also carry a six-month shelf life. If you do develop a stye or any eye infection, discard all the eye makeup you were using at the time. Brushes can retransmit bacteria, causing the infection to recur in the same eye or spread to the other one.
Beyond cosmetics, some everyday habits introduce bacteria directly. Touching or rubbing your eyes with unwashed hands is one of the most common ways Staph bacteria reach your lash follicles. Sleeping in your makeup is another, since it gives bacteria hours of uninterrupted contact with clogged gland openings.
Styes vs. Chalazia
People often confuse styes with chalazia because both produce bumps on the eyelid, but they feel quite different. A stye is very painful, appears right at the eyelid’s edge near a lash root, and develops quickly over a day or two. A chalazion is usually not painful. It forms farther back on the lid, grows more slowly, and results from chronic inflammation of a blocked gland rather than an active bacterial infection. A stye that doesn’t drain can sometimes turn into a chalazion over time as the acute infection fades but the blocked gland remains swollen.
How Styes Resolve
Most styes drain on their own within one to two weeks without any medical treatment. Applying a warm compress for 10 to 15 minutes several times a day speeds the process by softening the blocked material and encouraging the gland to open. With consistent warm compresses, styes often resolve a few days sooner than they would otherwise. Resist the urge to squeeze or pop a stye, since that can spread the infection deeper into the lid tissue.
If a stye hasn’t started improving within a few days of warm compresses, or within a week without any treatment, it’s worth having a doctor take a look. Persistent or very large styes occasionally need to be drained in a clinical setting, and recurrent styes may signal an underlying condition like blepharitis or ocular rosacea that benefits from targeted management.
Practical Steps to Prevent Styes
Good eyelid hygiene is the single most effective prevention strategy. That means washing your hands before touching your face and eyes, removing all eye and face makeup before bed, and keeping your lash line clean. If you’re prone to styes, a daily lid scrub with a gentle cleanser or pre-moistened lid wipes can help keep bacteria and oil buildup under control.
Replace eye makeup on schedule: mascara and liquid liner every three months, cream shadows every six months. Never share eye makeup with others, and avoid using products that smell off, look clumpy, or have changed in texture. If you wear contact lenses, handle them with freshly washed hands and follow your replacement schedule closely. These habits won’t guarantee you never get another stye, but they remove the conditions that let bacteria gain a foothold.