Most styes clear up on their own within one to two weeks, but consistent warm compresses are the single most effective thing you can do to speed that process along. A stye is a small, painful bump on or inside the eyelid caused by a blocked oil gland that becomes infected with bacteria. The blockage traps oily secretions inside the gland, and heat is what loosens them back up.
Why Warm Compresses Work
The oil glands along your eyelid margins produce a waxy substance that normally flows freely onto the surface of your eye. When a gland gets plugged, that substance thickens into a gel-like state. Applying heat raises the temperature of those oils above their transition point (around 40 to 42°C, or roughly 104 to 107°F), which disorders the lipid structure enough for it to flow again. Once the blockage clears, the trapped material drains, inflammation subsides, and the bump shrinks.
This isn’t just folk wisdom. The temperature threshold at which these oils shift from a thick gel to a more fluid state has been measured with infrared spectroscopy. Reaching about 90% of maximum fluidity requires sustained warmth at that narrow temperature range, which is why a quick pass with a warm cloth doesn’t do much. You need prolonged, consistent contact.
How to Apply a Warm Compress
Soak a clean washcloth in warm (not hot) water, wring it out, and hold it gently against your closed eyelid. Keep it there for 5 to 10 minutes per session, rewarming the cloth as it cools. Repeat this 3 to 6 times throughout the day. Clinical guidelines from StatPearls recommend at least 4 sessions daily for a minimum of 15 minutes each, so more frequent and longer sessions tend to produce better results.
A few things to avoid: don’t microwave a wet cloth to heat it, because microwaves heat unevenly and can create hot spots that burn the delicate skin of your eyelid. Test the temperature on the inside of your wrist first. If it’s too hot for your wrist, it’s too hot for your eye. A rice-filled sock or a commercially made heated eye mask can hold warmth longer than a washcloth, which loses heat quickly.
Do Not Squeeze or Pop It
A stye can look a lot like a pimple, and the urge to pop it is understandable. Resist it. Squeezing a stye risks pushing the infection deeper into the eyelid tissue, which can lead to a more severe infection, scarring, permanent pigment changes on the lid, or a scratch on the surface of the eye (corneal abrasion). Let the warm compresses do the work of drawing the contents to the surface. Most styes will eventually drain on their own.
Keeping the Area Clean
Gentle lid hygiene helps the stye resolve faster and lowers the odds of getting another one. Once or twice a day, clean your eyelid margin with a cotton swab or clean fingertip dipped in diluted baby shampoo or a pre-made lid scrub. This removes the flaky debris and bacteria that accumulate along the lash line and contribute to gland blockages. If you wear eye makeup, stop using it until the stye heals, and throw out any products (especially mascara or eyeliner) that touched the infected eye.
Wash your hands thoroughly before and after touching the area. Avoid wearing contact lenses while you have an active stye, as they can spread bacteria and irritate the already inflamed lid.
Over-the-Counter Stye Products
Drugstore stye ointments are available without a prescription, but their active ingredients are simply mineral oil and white petrolatum. These are emollients and lubricants. They soothe burning and irritation and prevent the skin around the stye from drying out, but they don’t contain antibiotics and won’t treat the underlying infection. They can offer comfort between compress sessions, especially if the bump is rubbing against your eye. Apply a thin ribbon along the eyelid margin as directed on the package.
When a Stye Needs Medical Treatment
If the stye hasn’t started improving after a week of consistent warm compresses, or if it’s growing larger, it’s reasonable to see a doctor. Prescription antibiotic ointment applied to the lid margin can help treat the bacterial component. The evidence for topical antibiotics in routine styes is limited, but they’re commonly prescribed for stubborn cases or when the surrounding skin starts looking red and inflamed.
Oral antibiotics are rarely needed for a simple stye. They come into play only when the redness and swelling extend well beyond the bump itself, raising concern about a spreading skin infection around the eye. Very large styes that don’t respond to any of these measures may need to be drained by an ophthalmologist through a small incision on the inside of the eyelid. This is a minor in-office procedure, not surgery in the traditional sense.
Signs of a More Serious Problem
A stye that seems to be getting worse rather than better deserves attention, particularly if you notice any of the following: significant swelling that spreads across the entire eyelid or to the other eye, fever, worsening pain (especially pain when you move your eye), blurred or decreased vision, or the eye itself starting to bulge forward. These symptoms can indicate that the infection has moved beyond the surface into the deeper tissues around the eye socket, a condition that requires prompt treatment with systemic antibiotics.
The key warning signs that separate a routine stye from something more dangerous are restricted eye movement, pain during eye movement, and any change in vision. If you experience these, don’t wait for the stye to resolve on its own.
Preventing Styes From Coming Back
Some people get styes once and never again. Others deal with them repeatedly, often because of a chronic tendency toward clogged lid glands (a condition called blepharitis). If you fall into the second group, daily lid hygiene becomes important even when you don’t have an active stye. A nightly routine of warm compresses for a few minutes followed by a gentle lid scrub can keep the oil glands flowing and reduce flare-ups. This is a long-term maintenance habit, not a short-term fix. Addressing underlying factors like consistently removing makeup before bed, replacing old cosmetics, and keeping your hands away from your eyes also makes a meaningful difference over time.