How to Get Rid of a Stye on Your Eyelid

Most styes heal on their own within one to two weeks, but warm compresses can speed up the process significantly. A stye is a small, painful bump that forms when bacteria infect an oil gland or hair follicle along your eyelid margin. The good news is that the most effective treatment is simple and free: consistent application of warmth to the affected area.

What’s Actually Happening in Your Eyelid

A stye forms when bacteria, usually the common skin bacterium Staphylococcus, get into one of the tiny glands along your eyelid and cause an infection. There are two types, depending on which gland is involved.

An external stye is the more common kind. It develops at the base of an eyelash, where a small oil gland opens into the hair follicle. You’ll see redness and swelling right at the lash line, often with a visible yellowish-red point of pus. An internal stye develops deeper in the eyelid, inside one of the larger oil-producing glands that help keep your tear film stable. Internal styes tend to be more painful and may not be visible from the outside. Instead, the yellowish point appears on the inner surface of the eyelid when you flip it. Both types cause tenderness, swelling, and a gritty or irritated feeling in the eye.

Warm Compresses: Your Primary Treatment

The single most effective thing you can do is apply a warm compress to the affected eyelid several times a day. The heat softens the hardened oils blocking the gland, increases blood flow to the area, and helps the stye drain naturally. Use a clean washcloth soaked in warm (not scalding) water, wring it out, and hold it gently against your closed eyelid for 10 to 15 minutes. Repeat this three to four times daily.

The washcloth cools quickly, so re-dip it in warm water every few minutes to maintain consistent heat. Some people find a microwavable eye mask or a warm, damp tea bag holds heat longer and is easier to use. Whichever method you choose, consistency matters more than perfection. If you skip sessions or only do it once a day, healing will take longer. Most styes that are treated with regular warm compresses begin to improve noticeably within a few days, though full resolution can still take a week or two.

Keeping the Area Clean

Gentle eyelid hygiene helps prevent the infection from worsening or spreading. After applying your warm compress, you can clean the eyelid with a mild cleanser. Diluted baby shampoo on a cotton swab or a pre-moistened eyelid cleansing wipe (sold at most pharmacies) both work well. Gently wipe along the lash line to remove crusting, debris, and excess oil. Use a fresh cloth or swab each time to avoid reintroducing bacteria.

Between cleanings, keep your hands away from the stye. Touching it transfers bacteria from your fingers and can make the infection worse or spread it to the other eye.

What Not to Do

The most important rule: do not squeeze, pop, or try to puncture a stye. It’s tempting, especially when you can see a white or yellow head forming, but squeezing forces pus deeper into the eyelid tissue and can spread the infection well beyond the original gland. Let it drain on its own.

While your stye is healing, skip eye makeup entirely. Mascara, eyeliner, and eyeshadow can irritate the area, introduce more bacteria, and slow recovery. Once the stye has resolved, throw out any eye makeup you used in the days before or during the infection, as the products may harbor bacteria. As a general rule, replace mascara and liquid eyeliner every three months regardless.

If you wear contact lenses, switch to glasses until the stye fully heals. Contacts can pick up bacteria from the infected area and redistribute them across the eye’s surface. They also create additional friction against the already-irritated eyelid.

When Antibiotics or Drainage Are Needed

Most styes don’t need medication, but if yours hasn’t started improving after a week of consistent warm compresses, it may be time for a professional evaluation. A doctor can prescribe antibiotic ointment or drops (commonly erythromycin or bacitracin) to apply directly to the eyelid. In rare cases where the entire eyelid becomes red, swollen, and painful, oral antibiotics may be necessary.

If a stye becomes very large, persists for several weeks, or hardens into a painless lump (at that point it’s called a chalazion), an eye doctor can perform a minor in-office drainage procedure. The eyelid is numbed with local anesthetic, a small clamp holds it in place, and a tiny incision is made on the inner surface of the lid so the trapped material can be drained. The incision is made on the inside, so there’s no visible scar. The procedure takes just a few minutes and provides immediate relief.

Warning Signs That Need Urgent Attention

A straightforward stye is annoying but harmless. Rarely, the infection can spread beyond the gland into the surrounding tissue, a condition called periorbital cellulitis. This is a medical emergency, particularly in children. Seek immediate care if you develop a fever along with worsening eyelid swelling, if redness and puffiness spread across the entire eye socket area, if you experience changes in your vision, or if the eye itself begins to bulge forward. These symptoms mean the infection has moved beyond the stye and needs prompt treatment.

Why Some People Get Styes Repeatedly

If you keep getting styes, there’s likely an underlying issue with the oil glands in your eyelids. The most common culprit is blepharitis, a chronic, low-grade inflammation of the eyelid margins that creates the perfect environment for gland blockages. Blepharitis is frequently linked to ocular rosacea, a condition that healthcare providers sometimes describe as meibomian gland dysfunction. People with rosacea affecting their skin are particularly prone to recurrent styes and chalazia.

A daily eyelid hygiene routine can break the cycle. This means warm compresses for a few minutes each morning (even when you don’t have a stye), followed by gentle cleaning of the lash line. If that alone doesn’t reduce the frequency, an eye doctor can evaluate your glands and recommend additional treatments tailored to the underlying cause. Replacing eye makeup regularly, avoiding rubbing your eyes, and washing your hands before touching your face all reduce the chance of reinfection.