How to Treat a Stye at Home (and When You Can’t)

Most styes clear up on their own within one to two weeks, and the single most effective treatment is something you already have at home: a warm compress. A stye is a small, painful bump on the eyelid caused by a bacterial infection in one of the oil or sweat glands near your eyelashes. While uncomfortable and sometimes alarming to look at, styes are almost always harmless and respond well to simple self-care.

What Causes a Stye

Your eyelids contain dozens of tiny glands that produce oils and moisture to keep your eyes lubricated. When one of these glands gets clogged and infected, the result is a red, swollen bump that looks a bit like a pimple. The bacteria responsible are usually Staphylococcus aureus, the same common skin bacteria behind many minor infections. Touching your eyes with unwashed hands, using old eye makeup, or leaving contact lenses in too long can all introduce bacteria to these glands.

Styes can form on the outer edge of the eyelid (where your lashes grow) or on the inner surface. External styes tend to develop a visible yellowish head at the base of a lash after a day or two. Internal styes sit deeper in the lid and may not be visible from the outside, but they cause the same tenderness and swelling.

Warm Compresses: The First-Line Treatment

A warm compress is the cornerstone of stye treatment. The heat increases blood flow to the area, helps the clogged gland open, and encourages the stye to drain naturally. The American Academy of Ophthalmology recommends applying warmth for about 5 minutes at a time, two to four times per day.

To make an effective compress, soak a clean washcloth in warm (not hot) water, wring it out, and hold it gently against your closed eyelid. The cloth cools quickly, so you may need to re-soak it once or twice during each session. Some people find a microwaveable eye mask holds heat more consistently. Whichever method you choose, use a fresh cloth each time to avoid reintroducing bacteria.

After applying warmth, you can gently massage the eyelid with clean fingers to help the gland drain. Don’t squeeze or try to pop the stye the way you would a pimple. Forcing it can push the infection deeper into the eyelid tissue and make things worse.

What Not to Do

Resist the urge to touch, rub, or pick at the bump throughout the day. Keep your hands away from your eyes unless you’ve just washed them. If you wear contact lenses, switch to glasses until the stye is completely gone. Contacts can trap bacteria against the eyelid and slow healing.

Eye makeup is another concern. Don’t apply mascara, eyeliner, or eyeshadow to the affected eye while a stye is present. Bacteria from the stye can contaminate your makeup products, and reusing those products later could trigger a new infection. If you were using any eye cosmetics around the time the stye appeared, it’s a good idea to throw them out and start fresh.

When Antibiotics Are Needed

Most styes don’t require medication. But if yours isn’t improving after about 48 hours of consistent warm compresses, a doctor can prescribe a topical antibiotic ointment or drops to apply along the eyelid. These are typically mild formulations like erythromycin or bacitracin. Oral antibiotic tablets are rarely needed and are generally reserved for cases where the infection has spread beyond the bump itself, causing the entire eyelid to become red, swollen, and painful.

Stye vs. Chalazion

A chalazion is a similar-looking eyelid bump, and for the first couple of days the two can be nearly impossible to tell apart. Both cause swelling, redness, and tenderness. The key difference emerges after a day or two: a stye stays painful and sits right at the eyelid margin, often forming a small pus-filled head near a lash. A chalazion migrates toward the center of the lid and becomes a firm, painless nodule.

The distinction matters because chalazia that don’t resolve on their own sometimes need to be drained by an eye doctor through a minor in-office procedure. Styes, on the other hand, almost always rupture and drain on their own with warm compress therapy. If your bump has been painless and persistent for several weeks, it’s more likely a chalazion than a stye.

Typical Healing Timeline

With consistent warm compresses, many styes start to shrink within a few days and fully resolve in one to two weeks. You’ll often notice the bump coming to a head, draining a small amount of pus, and then rapidly improving. Some styes resolve without ever visibly draining.

If pain and swelling haven’t started to improve after 48 hours of home care, that’s a reasonable point to schedule a visit with an eye doctor. A stye that lingers beyond two weeks or keeps coming back in the same spot also warrants a professional look, since recurrent bumps occasionally need further evaluation.

Warning Signs of a Serious Problem

In rare cases, a stye infection can spread to the surrounding tissue of the eye socket, a condition called periorbital cellulitis. This is more common in children than adults. Seek immediate care if you notice any of the following alongside your stye:

  • Fever combined with significant swelling around the eye
  • Vision changes, such as blurriness or double vision
  • Bulging of the eye forward from its normal position
  • Redness and swelling spreading well beyond the eyelid itself

These symptoms suggest the infection has moved beyond the original gland and needs prompt medical treatment.

Preventing Future Styes

Some people are prone to recurrent styes, especially those with skin conditions like rosacea or chronic eyelid inflammation. A few habits can reduce your risk. Wash your hands before touching your face or handling contact lenses. Replace eye makeup every few months, particularly mascara, which sits in a dark, moist tube that bacteria love. If you tend to get styes or have irritated eyelids, a nightly routine of gently cleaning your lash line with a warm, damp cloth can keep those oil glands clear and functioning well.