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 boil on the eyelid, caused by a bacterial infection in an oil gland or hair follicle along the lash line. The good news: you can treat nearly all of them at home.
What Causes a Stye
A stye forms when bacteria, usually staph, get trapped in one of the tiny glands along your eyelid. External styes, the most common type, develop at the base of an eyelash where it meets the small oil and sweat glands at the lid margin. Internal styes form deeper in the eyelid, in the larger oil-producing glands that help keep your tear film stable. Both types start with a blocked gland that becomes infected, producing a red, tender bump that fills with pus.
You’re more likely to get styes if you tend to touch your eyes frequently, sleep in eye makeup, or have a chronic condition called blepharitis (ongoing inflammation of the eyelid margins). Some people are simply more prone to them than others.
Warm Compresses: The Core Treatment
A warm compress is the single most effective thing you can do. The heat softens the hardened oils blocking the gland, encourages the stye to drain naturally, and increases blood flow to help your body fight the infection. Use a clean washcloth soaked in warm (not hot) water, wring it out, and hold it gently against your closed eyelid for 10 to 15 minutes. Repeat this three to four times a day.
The biggest challenge is keeping the compress warm long enough. A washcloth cools off quickly, so re-dip it in warm water every few minutes to maintain the temperature. Some people prefer a microwavable eye mask designed to hold heat longer, which works just as well. After each session, you may notice the stye looks slightly larger or more “ready” before it eventually drains on its own. That’s normal and means the compress is working.
One critical rule: never squeeze or pop a stye. Forcing it open pushes bacteria deeper into the tissue and can spread the infection across your eyelid.
Keeping the Area Clean
While the stye is healing, gentle eyelid hygiene prevents reinfection and keeps the surrounding glands from clogging too. A simple approach: add a few drops of baby shampoo to a cup of warm water, dip a cotton swab or clean washcloth in the mixture, and with your eyes closed, gently wipe across each eyelid about 10 times, making sure to clean along the lash line. Rinse well afterward. You can also do this in the shower by letting warm water run over your closed eyes for a minute, then using a small amount of baby shampoo on a washcloth to scrub gently along the lids and lashes before rinsing.
Avoid wearing eye makeup while you have a stye. Mascara, eyeliner, and eyeshadow can reintroduce bacteria and block the glands you’re trying to open. If you wear contact lenses, switch to glasses until the stye resolves.
Over-the-Counter and Prescription Options
For most uncomplicated styes, warm compresses alone are enough. If you want to add a topical antibiotic, Neosporin (the brand name specifically, not generic triple antibiotic ointments) is available without a prescription and is safe to use near the eye. Generic triple antibiotic ointments can burn or cause irritation if they get into the eye, so stick with the name brand for this particular use.
If the stye isn’t improving after a week of home treatment, a doctor can prescribe an antibiotic ointment. Erythromycin ointment is the standard choice because it targets the staph bacteria responsible for most styes and is formulated to be applied on the eyelid skin. Antibiotic eye drops, by contrast, won’t help. They’re designed for the eye’s surface, not for treating a skin infection on the lid.
When a Stye Needs Medical Attention
A stye that doesn’t respond to weeks of warm compresses and medication sometimes needs to be drained by an eye doctor. This is a quick in-office procedure done under local anesthesia. The doctor makes a small incision, drains the contents, and the relief is usually immediate. It’s straightforward but only necessary when the bump persists, becomes painful enough to interfere with daily life, or grows large enough to press on your eye and blur your vision.
Rarely, a stye can progress to a more serious infection called preseptal cellulitis, where the infection spreads beyond the bump into the surrounding eyelid tissue. Signs that warrant urgent care include a fever alongside eye pain and swelling, redness and swelling spreading well beyond the original bump to involve the entire eyelid or eye socket area, any changes in your vision, or the eye itself appearing to bulge forward. These symptoms need same-day medical evaluation, especially in children.
Preventing Styes From Coming Back
If you get styes repeatedly, daily eyelid hygiene is the best defense. The baby shampoo lid scrub described above, done once a day as part of your routine, keeps the oil glands along your lash line clear and reduces the bacterial load on your eyelids. This is the same approach used to manage blepharitis, the chronic eyelid inflammation that makes recurrent styes much more likely.
Replace eye makeup every three to six months, since bacteria accumulate in mascara tubes and eyeliner pencils over time. Wash your hands before touching your face or putting in contacts. And if you notice the early signs of a stye forming, a tender spot or slight swelling at the lid margin, start warm compresses immediately. Catching it early often prevents it from developing into a full-blown bump.

