A stye is a small, painful bump that forms on the eyelid when an oil gland or hair follicle becomes infected with bacteria. It looks similar to a pimple, usually appears right along the edge of the eyelid, and typically clears up on its own within one to two weeks. While styes can be uncomfortable and sometimes alarming in appearance, they’re one of the most common eye complaints and rarely cause lasting problems.
What Causes a Stye
Your eyelids contain dozens of tiny oil glands that help lubricate the surface of your eye. When bacteria, usually the type already living on your skin, get into one of these glands, the gland becomes blocked and infected. The result is a localized abscess: a pocket of pus that swells into a tender red bump.
There are two types, depending on which gland is affected. An external stye forms at the base of an eyelash, right at the eyelid margin where you can see and feel it easily. An internal stye develops deeper inside the eyelid, in one of the larger oil-producing glands embedded in the eyelid tissue. Internal styes tend to be more painful because the swelling presses against the inner surface of the eyelid, and you may only notice them when you flip the lid or feel a deep ache when you blink.
Who Gets Styes and Why
Several things raise your risk. Chronic eyelid inflammation, a condition called blepharitis, is one of the strongest predictors of recurrent styes. Blepharitis causes a persistent low-grade irritation along the lid margin that keeps the oil glands clogged and vulnerable to infection. Touching your eyes with unwashed hands, sleeping in eye makeup, and using old or shared cosmetics all introduce bacteria to the lid area. Contact lens wearers who skip proper disinfection steps are also more prone.
Stye vs. Chalazion
A chalazion is the bump most often confused with a stye, and for good reason: both are swollen lumps on the eyelid. The key difference is infection. A stye is an active bacterial infection, so it’s tender to touch and often painful from the start. A chalazion is not infected. It forms when a blocked oil gland triggers inflammation but no bacterial growth, producing a firm, painless nodule that sits in the body of the eyelid rather than at the margin.
The timeline helps distinguish them too. A stye develops quickly, localizing to the eyelid margin within a day or two, and stays painful throughout. A chalazion tends to grow more slowly and, once it settles in, feels like a small, hard lump you can roll under your finger without much discomfort. Sometimes a stye that doesn’t fully drain will leave behind a chalazion, which is why the two conditions overlap so often.
What a Stye Feels Like
The first sign is usually a gritty, sore sensation in one spot on the eyelid. Within a day, that spot swells into a visible red bump. The eyelid around it may puff up enough to partly close the eye, and your eye might water more than usual. Some people notice crusting along the lashes in the morning. The bump itself is tender, especially if you press on it or blink hard. Despite the swelling, your vision should stay normal. A stye affects the lid, not the eye itself.
How to Treat a Stye at Home
Warm compresses are the primary treatment and the only one consistently recommended across major medical sources. Soak a clean washcloth in warm water, wring it out, and hold it gently against the closed eyelid for about five minutes. Do this several times a day. The heat softens the hardened oil blocking the gland and encourages the stye to drain on its own. You can reheat or re-wet the cloth as it cools.
Resist the urge to squeeze or pop the bump. Forcing it open can spread the infection deeper into the eyelid tissue. Let the warm compresses do the work. Keep the area clean, wash your hands before and after touching your face, and skip eye makeup until the stye resolves. If you wear contact lenses, switch to glasses until the bump is gone.
Most styes drain and heal within one to two weeks with nothing more than consistent warm compresses. Over-the-counter stye ointments and eye drops are widely available, but the evidence for their effectiveness is limited. Warm compresses remain the standard recommendation.
When a Stye Needs Medical Attention
A stye that hasn’t improved after two weeks, or one that keeps getting larger despite home treatment, may need to be drained by a doctor. This is a brief in-office procedure where the bump is opened with a small incision to release the trapped pus. It provides quick relief and is typically straightforward.
If styes keep coming back, your provider may want to investigate further. Recurrent styes can sometimes signal underlying blepharitis that needs ongoing management, and in rare cases, a biopsy may be done to rule out other eyelid conditions that mimic a stye.
The more serious concern is when infection spreads beyond the stye into the surrounding skin. If swelling expands across the entire eyelid and into the tissue around the eye socket, especially with fever, significant eye pain, vision changes, or the eye beginning to bulge forward, this can indicate a condition called preseptal cellulitis. That requires prompt medical care, as the infection can potentially spread deeper into the eye socket.
Preventing Styes
Good lid hygiene is the most effective prevention. Wash your hands thoroughly before touching your eyes or handling contact lenses. Replace eye makeup regularly, never share mascara or eyeliner, and always remove makeup before bed. If you’ve had a stye before, using a warm compress on your eyelids regularly, even when you don’t have a bump, can help keep the oil glands flowing and reduce your chances of another one.
If you have blepharitis, following a consistent lid-cleaning routine is especially important. Keeping that chronic inflammation under control makes it significantly harder for bacteria to gain a foothold in the glands along your eyelid margin.

