How to Treat a Stye in Your Eye at Home

Most styes heal 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 that forms along your eyelid margin when bacteria (usually staph) infect an oil gland at the base of an eyelash. While it looks alarming and feels uncomfortable, it’s rarely dangerous and responds well to simple care.

Why Styes Form

Your eyelids contain dozens of tiny oil glands that keep your tear film healthy. When those glands get clogged, their secretions stagnate, and bacteria that normally live harmlessly on your skin can multiply inside the blocked gland. The result is essentially a small abscess: a pocket of infection right at the eyelash line. That’s why a stye typically appears as a yellowish pustule surrounded by redness and swelling.

People who frequently touch their eyes, sleep in contact lenses, or skip removing eye makeup are more prone to styes. Chronic eyelid inflammation (blepharitis) is another common driver, because the ongoing irritation thickens gland secretions and makes blockages more likely.

Warm Compresses: Your First-Line Treatment

Moisten a clean washcloth with warm water, wring it out, and place it gently over the affected eye for about five minutes. Repeat this several times a day. The warmth softens the clogged oil, encourages the gland to drain naturally, and increases blood flow to speed healing. Most styes will come to a head and drain on their own with consistent compress use over several days.

A few tips to get the most out of it. Use a fresh washcloth each time, or at least a freshly laundered one, to avoid reintroducing bacteria. The cloth cools quickly, so you can re-dip it in warm water midway through to maintain the temperature. If you prefer, you can also stand in a warm shower and let the water run over your closed eyes for a minute or so.

What Not to Do

Resist the urge to squeeze or pop a stye. Forcing the contents out can push the infection deeper into the eyelid or spread bacteria to surrounding tissue. Let the warm compresses do the work. If the stye is going to drain, it will do so on its own once the blockage softens enough.

You should also stop wearing eye makeup while you have an active stye. Mascara and eyeliner that were used before or during the infection can harbor bacteria. Once the stye heals, throw out any eye makeup you used around the time of the infection, and replace eye makeup in general every three months as a preventive habit. Contact lenses should be avoided until the stye resolves, since they can irritate the area and transfer bacteria.

Over-the-Counter Products

You’ll find stye ointments at most pharmacies. These are typically emollient-based, meaning their active ingredients are mineral oil and petrolatum. They work by lubricating and protecting the irritated skin around the stye rather than fighting the infection itself. They can ease dryness and discomfort, but they’re not a replacement for warm compresses. No over-the-counter product contains antibiotics strong enough to resolve a stye on its own.

Stye vs. Chalazion

In the first few days, a stye and a chalazion can look identical: red, swollen, tender eyelid. But they diverge quickly. A stye stays painful and sits right at the eyelid margin, usually around a lash. A chalazion migrates toward the center of the eyelid and becomes a firm, painless nodule. The distinction matters because chalazia are less about infection and more about a chronically blocked gland, and they’re slower to resolve. If your bump becomes painless but doesn’t shrink after several weeks, it’s likely a chalazion and may need different treatment from your eye doctor.

When a Stye Needs Medical Attention

Most styes don’t require a doctor’s visit, but certain signs mean the infection may be spreading beyond the gland. Watch for swelling that extends across the entire eyelid or around the eye socket, pain when moving your eye, changes in your vision, or fever. These can signal a deeper infection called orbital cellulitis, which needs prompt treatment. In children especially, a high fever combined with a bulging or severely swollen eye warrants an emergency room visit.

If a stye hasn’t improved after two weeks of consistent warm compresses, or if it keeps growing, an eye doctor can evaluate it. In some cases, a minor in-office procedure to drain the stye may be recommended. This is quick, done under local numbing, and provides faster relief than waiting for a stubborn stye to resolve naturally.

Preventing Styes From Coming Back

If you get styes more than once, the underlying issue is often chronic eyelid inflammation. A daily eyelid hygiene routine can make a real difference. After a warm shower or compress, put a few drops of diluted baby shampoo on a clean washcloth and gently scrub along the lash line of both eyes. Rinse thoroughly. This removes the oily debris and dead skin that clog glands. If your eyes tend to be dry afterward, preservative-free artificial tears can help restore comfort.

Beyond eyelid hygiene, a few simple habits lower your risk. Wash your hands before touching your face or eyes. Remove all eye makeup before bed. Clean contact lenses properly and never sleep in them unless they’re specifically designed for overnight wear. Replace mascara and eyeliner every three months, even if the tube isn’t empty, since bacteria accumulate in the product over time.