Most styes clear up on their own within one to two weeks, but warm compresses can speed that timeline significantly. A stye is essentially a small, painful pimple on your eyelid caused by a bacterial infection, and the treatment approach is straightforward: help it drain naturally while keeping the area clean.
What Causes a Stye
A stye forms when bacteria, usually Staphylococcus aureus, infect a gland or hair follicle along your eyelid. The most common type is an external stye, which develops at the base of an eyelash where oil glands become blocked and then infected. Internal styes are less common and form deeper in the lid, inside the oil-producing glands that line the inner eyelid surface. Both types start the same way: a gland gets clogged, secretions build up behind the blockage, and bacteria move in.
People with chronic eyelid inflammation (blepharitis) are especially prone to styes because their lid glands are already partially blocked and irritated. Touching your eyes with unwashed hands, sleeping in eye makeup, or using expired cosmetics all increase the risk.
Warm Compresses Are the Core Treatment
The single most effective thing you can do is apply a warm, moist compress to the affected eye for 5 to 10 minutes, 3 to 6 times a day. The heat softens the clogged material inside the gland, encourages it to open, and helps the stye drain on its own. Use a clean washcloth soaked in warm (not hot) water. Rewet it as it cools to keep consistent warmth on the lid.
Don’t heat a wet cloth in the microwave. It’s easy to overshoot the temperature and burn your eyelid, which is some of the thinnest skin on your body. Instead, run the cloth under warm tap water or dip it in a bowl of warm water you’ve tested with the inside of your wrist.
After each compress session, you can gently clean the eyelid with a mild, tear-free soap or diluted baby shampoo on a cotton swab. This helps keep the area free of crusting and reduces bacteria around the lash line. Pat dry with a clean towel.
What Not to Do
Never squeeze or pop a stye. It’s tempting because it looks like a pimple, but the risks are real. Popping a stye can spread the bacterial infection to other parts of your eyelid or into the eye itself. It can also worsen the existing infection, leave behind dark pigmented scars, create pitting scars (small holes in the skin), or cause hardened scar tissue that becomes a permanent bump. The eyelid tissue is delicate and sits right next to structures you cannot afford to damage.
You should also avoid wearing contact lenses while you have an active stye. Bacteria can transfer to the lens and reinfect the eye or spread to the other eye. Skip eye makeup too, since applying it means dragging brushes and pencils across inflamed, infected skin.
Over-the-Counter Options
Stye ointments sold at pharmacies are primarily lubricants, not antibiotics. The most common OTC stye products contain mineral oil and white petrolatum as their active ingredients. These work as emollients, meaning they keep the surface of the eye and lid moist and reduce irritation from the bump rubbing against the eyeball. They can provide comfort, but they’re not treating the infection itself. Warm compresses do more to resolve the stye than any drugstore ointment.
When a Stye Needs Medical Treatment
Most styes respond well to home care, but some need professional attention. If a stye hasn’t improved after two weeks of consistent warm compresses, is large enough to press on your eye and blur your vision, or if redness and swelling start spreading beyond the eyelid onto your cheek or around the eye socket, it’s time to see a doctor.
For styes that are unusually large or resistant to home treatment, a doctor can perform a small incision and drainage procedure. This is done in-office with local numbing and takes only a few minutes. The relief is almost immediate because the trapped material is released.
In cases where the infection spreads to the surrounding skin (a condition called preseptal cellulitis, where the tissue around the eye becomes hot, red, and swollen), oral antibiotics are necessary. Doctors may also prescribe oral antibiotics if you get styes repeatedly, which suggests chronic inflammation in the oil glands of your eyelids that needs longer-term management.
Stye vs. Chalazion
A stye and a chalazion can look similar, but they feel different and behave differently. A stye is very painful, tends to appear right at the edge of the eyelid near the lash line, and develops quickly. A chalazion is usually not painful, forms farther back on the lid away from the lash line, and grows more slowly. A chalazion is a blocked gland without active infection, so it’s more of a firm, painless lump than a red, tender swelling.
Sometimes a stye that doesn’t fully drain transforms into a chalazion. The infection resolves, but the blocked material hardens into a cyst. Warm compresses help with both, but chalazions are more stubborn and more likely to need drainage if they persist. If a stye or chalazion keeps returning in the same spot, your doctor may want to biopsy the tissue to rule out anything unusual.
Preventing Styes From Coming Back
If you’ve had one stye, you’re more likely to get another, especially if the underlying cause (clogged lid glands or chronic lid inflammation) hasn’t been addressed. A few habits make a real difference:
- Wash your hands before touching your face. This is the simplest and most effective prevention step, since staph bacteria from your fingers are the most common cause.
- Clean your eyelids regularly. A nightly wipe along the lash line with diluted baby shampoo or a pre-moistened lid scrub pad keeps the oil glands clear.
- Replace eye makeup every three to six months. Mascara and eyeliner collect bacteria over time. Never share eye cosmetics.
- Remove makeup before bed every night. Sleeping in eye makeup is one of the most common contributors to blocked eyelid glands.
- Replace contact lens cases monthly and follow your lens cleaning routine without shortcuts.
If you deal with styes frequently despite good hygiene, it may be worth asking a doctor about treating underlying blepharitis. Daily warm compresses as a preventive habit, even when you don’t have a stye, can keep the oil glands flowing freely and reduce flare-ups over time.

