What Medical Conditions Cause Styes to Form?

Styes are most often triggered by bacterial infection of the eyelid’s oil glands, but several underlying medical conditions make some people far more prone to them than others. If you keep getting styes, the cause is rarely bad luck. It’s usually a chronic condition affecting your eyelids, skin, or even your blood lipid levels that creates the perfect environment for blockages and infection.

How Styes Form in the First Place

Understanding why certain conditions cause styes starts with the basic mechanism. Your eyelids contain dozens of tiny oil glands (called meibomian glands) along with smaller glands at the base of each eyelash. These glands produce oils that keep your tears from evaporating too quickly. When those glands become blocked, their secretions thicken and stagnate. That stagnation creates a breeding ground for bacteria, most commonly Staphylococcus aureus, which is already living on your skin in small numbers. The result is a painful, swollen bump on or inside the eyelid.

External styes form at the eyelid margin, right where your lashes grow. Internal styes develop deeper, in the larger oil glands on the inner surface of the eyelid. Both types start the same way: a clogged gland, followed by bacterial infection. Any condition that thickens your eyelid oils, inflames the gland openings, or disrupts normal oil flow raises your risk.

Blepharitis

Blepharitis is the single most common condition behind recurrent styes. It’s a chronic inflammation of the eyelid margins that affects the area where your lashes attach. Two things drive it: an overgrowth of bacteria that normally live on the eyelid surface, and clogged oil pores near the lash base. Both processes feed each other, creating a cycle of irritation that never fully resolves on its own.

People with blepharitis often notice crusty debris along their lash line, redness, and a gritty or burning sensation. The ongoing inflammation keeps the oil glands partially blocked, which means bacteria have a constant opportunity to multiply and trigger infection. Styes and a related bump called a chalazion are significantly more common in people with blepharitis than in the general population. If you’re getting styes more than once or twice a year, undiagnosed blepharitis is one of the first things worth investigating.

Rosacea and Ocular Rosacea

Rosacea is best known for causing facial redness and flushing, but it frequently affects the eyes as well. Ocular rosacea involves chronic inflammation of the eyelids and is closely tied to oil gland dysfunction. In fact, meibomian gland dysfunction is present in up to 92% of rosacea patients. The glands produce abnormally thick, cloudy secretions that plug the gland openings. This plugging leads directly to recurrent styes and chalazia.

Many people develop eye symptoms before they ever notice the classic facial redness of rosacea, which makes this an easy diagnosis to miss. If you have persistent eyelid irritation, frequent styes, and skin that tends to flush easily, ocular rosacea could be the underlying cause. The condition is bilateral, meaning it typically affects both eyes, and it tends to be chronic without treatment.

Seborrheic Dermatitis

Seborrheic dermatitis is a common skin condition that causes flaky, scaly patches on oily areas of the body, particularly the scalp, eyebrows, and the creases around the nose. When it affects the eyelid margins, it directly contributes to blepharitis, which in turn raises the risk of styes. The connection makes sense: the same overproduction and alteration of skin oils that causes dandruff on your scalp can disrupt the delicate oil glands in your eyelids.

People with seborrheic dermatitis are more likely to develop blepharitis, and people with blepharitis are more likely to develop styes. It’s a chain reaction. Controlling the dermatitis elsewhere on your face and scalp often helps reduce eyelid flare-ups as well.

High Cholesterol and Lipid Disorders

This one surprises most people, but there is a real connection between abnormal blood lipid levels and eyelid gland dysfunction. Clinical studies have found that patients with moderate to severe meibomian gland dysfunction tend to have abnormal cholesterol levels, and that the severity of gland problems increases alongside high triglycerides and high LDL (“bad”) cholesterol.

The mechanism appears to be straightforward: when your blood lipid composition is off, the oils your eyelid glands produce change too. Animal research has shown that high cholesterol leads to visible gland dropout (where glands shrink or disappear), dilated ducts, and plugged gland openings. All of these changes set the stage for the kind of blockage that causes styes. If you have hyperlipidemia and keep getting styes, the two problems may share a root cause.

Diabetes

Diabetes increases susceptibility to bacterial infections throughout the body, and the eyelids are no exception. Elevated blood sugar impairs your immune system’s ability to fight off the Staphylococcus bacteria that cause styes. Diabetes also tends to coexist with high cholesterol and altered skin oil composition, compounding the risk. People with poorly controlled blood sugar often experience recurrent skin infections, and styes are part of that pattern.

Stye vs. Chalazion: Why the Difference Matters

If you’re dealing with eyelid bumps linked to an underlying condition, it helps to know whether you’re getting true styes or chalazia, because the distinction points toward different aspects of the problem. A stye (hordeolum) is an acute bacterial infection. It forms quickly, stays painful, and localizes to the eyelid margin within a day or two. A chalazion starts similarly but becomes a firm, nontender nodule in the body of the eyelid as inflammation replaces active infection.

Conditions that primarily cause gland blockage without much bacterial overgrowth, like rosacea-related meibomian gland dysfunction, tend to produce chalazia. Conditions that involve heavy bacterial colonization, like blepharitis, lean more toward true styes. Many people get both, especially when multiple underlying conditions overlap. Knowing which type you tend to get can help your eye doctor narrow down the root cause.

What Ties These Conditions Together

The common thread across all of these conditions is disruption of your eyelid oil glands. Whether the trigger is bacterial overgrowth, inflammatory skin disease, or altered lipid metabolism, the endpoint is the same: thickened secretions, blocked gland openings, and an environment where infection can take hold. That’s why treating styes in isolation, with warm compresses and waiting, often isn’t enough for people who get them repeatedly. The underlying condition keeps recreating the same gland dysfunction.

If you get more than two or three styes a year, or if they keep coming back in the same eye, it’s worth looking beyond the bump itself. Conditions like blepharitis and ocular rosacea are manageable with consistent eyelid hygiene and targeted treatment, and addressing high cholesterol or blood sugar can reduce stye frequency as a secondary benefit. Recurrent styes are rarely just a nuisance. They’re usually a signal that something else is going on.