Most styes heal on their own within one to two weeks, but consistent warm compresses can speed that timeline and relieve pain in the meantime. A stye is a small, painful bump that forms when bacteria infect an oil gland or hair follicle at the edge of your eyelid. The good news: effective treatment is simple and starts at home.
What a Stye Actually Is
A stye (the medical term is hordeolum) is a localized infection, usually caused by staph bacteria. External styes, the most common type, develop at the base of an eyelash when a hair follicle or one of the tiny oil glands along your lash line gets blocked and infected. You’ll notice a red, tender bump that looks a bit like a pimple, often with a small yellowish head that appears after a day or two.
Internal styes form deeper in the eyelid, inside one of the oil-producing glands that help lubricate your eye. These tend to be more painful and may not show a visible head on the outside. Instead, you might see a small yellow bump on the inner surface of your eyelid when you gently pull it back.
A stye is not the same thing as a chalazion, though in the first couple of days they can look identical. A chalazion is a blocked gland without infection. It tends to become a painless, firm lump in the middle of the eyelid, while a stye stays painful and sits right at the eyelid margin. If your bump isn’t tender and has been there for weeks, you’re likely dealing with a chalazion instead.
Warm Compresses: The Most Effective Home Treatment
The single best thing you can do for a stye 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 oil inside the gland, encourages the stye to drain naturally, and increases blood flow to help your immune system fight the infection.
Use a clean washcloth soaked in warm (not hot) water. Wring it out so it’s damp, not dripping, and hold it gently against your closed eyelid. The cloth will cool down quickly, so re-soak it every couple of minutes to keep the temperature consistent. Do not microwave a wet cloth or use water that’s too hot. The skin on your eyelid is thin and burns easily.
Some people find that a warm compress stays hotter longer if they place the damp cloth inside a zip-lock bag or use a reusable heat mask designed for eyes. Either works fine as long as the surface touching your eyelid isn’t too hot to hold comfortably against the inside of your wrist.
What Not to Do
Don’t squeeze or pop a stye. It may look like a pimple, but squeezing can push the infection deeper into the eyelid tissue or spread bacteria to surrounding glands. Let it drain on its own. You should also avoid wearing contact lenses and eye makeup until the stye has fully healed, since both can reintroduce bacteria and slow recovery.
Over-the-Counter Stye Products
Stye ointments sold at pharmacies typically contain mineral oil and white petrolatum. These are lubricants, not antibiotics. They won’t kill the bacteria causing the infection, but they can ease the burning, dryness, and irritation that come with a swollen eyelid. Think of them as comfort care while the stye heals.
If your eyes feel gritty or dry from the swelling, a lubricating ointment or preservative-free artificial tears can help. Just avoid any drops that promise to “get the red out,” since those contain vasoconstrictors that won’t address the underlying problem and can be irritating with repeated use.
When You Might Need Prescription Treatment
Most styes resolve with warm compresses alone, but sometimes the infection is stubborn. If your stye hasn’t improved after a week of consistent home treatment, or if it’s getting larger, a doctor may prescribe antibiotic eye drops or a topical antibiotic cream to apply directly to the eyelid. For infections that spread beyond the eyelid itself, oral antibiotics may be necessary.
If the stye becomes very large and doesn’t drain on its own, a doctor can make a small incision to release the pus. This is a quick in-office procedure done under local numbing. It provides almost immediate pressure relief, and the eyelid typically heals within a few days afterward.
Signs of a More Serious Problem
A stye that stays small and localized is rarely dangerous. But an eyelid infection can occasionally spread to the surrounding tissue, a condition called preseptal cellulitis. Watch for redness and swelling that extends well beyond the bump itself, spreading across the entire eyelid or onto the cheek.
More concerning is orbital cellulitis, where infection moves deeper behind the eye. Symptoms include pain when moving your eye, reduced vision, the eye appearing to bulge forward, and fever. This is a medical emergency. If you notice any combination of these signs, especially decreased vision or pain with eye movement, get to an emergency room. Orbital cellulitis can lead to vision loss and other serious complications if untreated.
Preventing Styes From Coming Back
Some people get styes once and never again. Others deal with them repeatedly, often because bacteria linger along the lash line or oil glands stay chronically clogged. A simple daily eyelid hygiene routine can break that cycle.
Wash your hands before touching your face or eyes. Clean your eyelids daily using a gentle lid scrub or a diluted baby shampoo on a clean washcloth, massaging lightly along the lash line. Hypochlorous acid eyelid sprays are another option; they’re gentle enough for daily use and help reduce the bacterial load on your lids without irritation.
Replace eye makeup regularly, especially mascara and eyeliner, which sit right at the lash line where styes form. A good rule is every three months, or immediately after a stye. Never share eye makeup or applicators. If you wear contact lenses, clean them properly and replace them on schedule, since handling lenses with less-than-clean hands is one of the most common ways bacteria reach the eyelid.

