Most styes clear up on their own within one to two weeks, but warm compresses can speed that timeline and relieve pain in the meantime. A stye is essentially a blocked oil gland at the edge of your eyelid that has become infected, and the goal of home treatment is simple: apply heat to soften the hardened oils plugging the gland so it can drain naturally.
Why Warm Compresses Work
The oil glands along your eyelid margins produce a waxy substance that normally flows freely onto your tear film. When one of these glands gets clogged, bacteria multiply behind the blockage and you get a painful, red bump. Heat works because it literally melts the solidified oils. Research shows that warming the eyelid to around 40°C (104°F) increases the fluidity of these oils by as much as 90%, allowing the clog to break up and the gland to start draining again.
Step-by-Step Compress Method
Soak a clean washcloth in warm water. The water should feel comfortably warm on the inside of your wrist, not hot enough to sting. Wring it out so it’s damp but not dripping, then hold it gently against your closed eyelid for five minutes. Repeat this several times a day, ideally four to six sessions.
The washcloth cools quickly, so re-soak it every minute or two to keep the temperature consistent. Some people find a microwavable eye mask holds heat longer and more evenly. Whichever method you choose, use a fresh cloth each time to avoid reintroducing bacteria.
Keep Your Eyelid Clean
Between compresses, gently clean the eyelid margin to remove crusting and bacteria buildup. Dilute a small amount of baby shampoo in warm water, dip a clean cotton swab or washcloth in the solution, and wipe along the lash line. Don’t scrub or rub. Baby shampoo is the go-to recommendation because it’s formulated to be mild enough for the delicate skin around your eyes.
Pre-made eyelid cleansing sprays are another option. Many contain hypochlorous acid, a gentle antiseptic that reduces the bacteria responsible for eyelid infections. These are available over the counter at most pharmacies and can be convenient if you’re cleaning your lids throughout the day.
What Not to Do
Do not squeeze or pop a stye. It’s tempting once you see a visible whitehead, but squeezing can push the infection deeper into the eyelid tissue, leading to a more severe infection, scarring, pigmentation changes, or even a scratch on the surface of your eye (corneal abrasion). Let the warm compresses do the work. If the stye is going to drain, it will do so on its own once the oils have softened enough.
Avoid wearing contact lenses while you have an active stye. Contacts sit close to the eyelid and can harbor bacteria, making the infection worse or spreading it. Hold off on eye makeup for the same reason.
Stye vs. Chalazion
If your bump isn’t very painful and sits farther back on the eyelid rather than right at the lash line, it may be a chalazion rather than a stye. A stye is typically very painful and appears at the eyelid’s edge, usually around an infected eyelash root. A chalazion develops deeper in the lid and tends to be more of a firm, painless lump. The good news is that warm compresses help both conditions. The difference matters mainly for setting expectations: chalazia can take longer to resolve and are more likely to need medical drainage if they persist.
When a Stye Needs Medical Attention
Most styes respond well to home care within a week or two, but a small number can progress. If the infection spreads beyond the eyelid into the surrounding skin and soft tissue, it becomes a condition called preseptal cellulitis, which requires prescription treatment. Watch for swelling that spreads across the entire eyelid or around the eye socket, fever, eye pain that worsens rather than improves, vision changes, or a bulging appearance of the eye. Any of these signs, especially in a child, warrant a same-day medical visit.
Preventing Styes From Coming Back
Some people get styes once and never again. Others deal with them repeatedly, often because of an underlying condition called blepharitis, a chronic low-grade inflammation of the eyelid margins. Blepharitis keeps the lids irritated and prone to infection, making styes much more likely. If you notice recurring styes along with symptoms like crusty lashes, excessive tearing, or a gritty sensation in your eyes, daily eyelid hygiene becomes essential rather than optional.
A few habits make a real difference. Wash your eyelids specifically, not just your face, using diluted baby shampoo along the lash margin. If you wear contacts, disinfect them daily. Replace eye makeup every six months, since brushes and tubes accumulate bacteria over time. And if you exercise or do anything that makes you sweat heavily, clean your eyelids afterward. Sweat and oil can clog the same glands that cause styes in the first place.

