How to Get Rid of a Stye: Causes, Treatment & Prevention

Most styes clear up on their own within one to two weeks, but consistent warm compresses can speed the process and relieve pain significantly. A stye is a small, painful bump on the eyelid caused by a bacterial infection, almost always from staph bacteria that clog an oil gland or hair follicle along the lash line. The good news: you can treat the vast majority of styes at home.

What Causes a Stye

Styes form when oil-producing glands in the eyelid become blocked, trapping secretions that then get infected by bacteria naturally present on your skin. Most styes are external, developing right at the base of an eyelash. Internal styes form deeper in the eyelid, inside the oil glands that keep your tear film healthy. Internal styes tend to be more painful and take longer to resolve because they’re buried under the skin rather than sitting near the surface.

Warm Compresses: The Most Effective Home Treatment

A warm compress is the single best thing you can do for a stye. The heat loosens the clogged oil, encourages the stye to drain naturally, and increases blood flow to help your body fight the infection. Soak a clean washcloth in warm water, wring it out, and hold it gently against your closed eyelid for five minutes. Repeat this several times a day.

The washcloth cools quickly, so re-soak it in warm water partway through each session to keep consistent heat on the area. Some people find a microwaveable eye mask holds warmth longer and is easier to use, but a washcloth works just as well. Use a fresh cloth each time to avoid reintroducing bacteria.

What the Healing Process Looks Like

Styes follow a fairly predictable pattern. During the first one to three days, you’ll notice a tender red bump forming, with swelling and pain increasing as the infection develops. Around days three to five, the bump often reaches its peak discomfort. You may see a small yellowish tip, which means pus is collecting near the surface. This is when the stye typically begins to drain on its own, and the pressure relief can feel dramatic.

After drainage, the remaining swelling and redness gradually fade over the next week or so. The full cycle from first bump to complete healing usually takes one to two weeks with consistent warm compress use.

What Not to Do

Never squeeze or pop a stye. The American Academy of Ophthalmology warns that popping a stye can release bacteria and spread the infection to other parts of the eye. It might be tempting when the stye develops a visible head, but let it drain on its own. The warm compresses will help it along.

While you have an active stye, stop wearing contact lenses. Contacts can trap bacteria against the eye and slow healing. Skip eye makeup too. Applying cosmetics to eyes that are red, swollen, or infected risks introducing more bacteria and contaminating your products. Once the stye has fully healed and the swelling is completely gone, you can safely return to both.

Over-the-Counter Stye Products

You’ll find stye ointments at most pharmacies, but it’s worth knowing what they actually do. The most common formulations are simple lubricants, typically mineral oil and petroleum-based. They soothe burning and irritation and protect the area from further drying, but they don’t contain antibiotics and won’t fight the underlying infection. Think of them as comfort products, not cures.

If your symptoms haven’t improved within 72 hours of using an OTC product, or if you develop eye pain, vision changes, or increasing redness, it’s time for professional help.

When a Stye Needs Medical Treatment

Most styes resolve with warm compresses alone, but some don’t. An external stye that fails to respond to home treatment can be drained by a doctor using a small incision with a fine-tipped blade. It’s a quick in-office procedure. Internal styes are more likely to need professional treatment, sometimes including oral antibiotics and drainage.

Certain warning signs call for prompt medical attention. If the infection spreads beyond the eyelid into the surrounding skin (redness and swelling extending across the cheek or around the eye socket), that suggests a more serious tissue infection. Watch for fever, a bulging eye, difficulty moving the eye, or any change in your vision. These are signs of a deeper infection that needs immediate care, especially in children.

Stye vs. Chalazion

If your bump isn’t particularly painful and has been hanging around for weeks, it may not be a stye at all. A chalazion looks similar but forms when a blocked oil gland becomes inflamed without an active infection. Chalazia are typically painless or only mildly tender, while styes are noticeably sore. A chalazion can linger for months if untreated, and large ones that don’t resolve with warm compresses may need to be drained or treated with an injection to reduce inflammation.

Preventing Styes From Coming Back

If you get styes repeatedly, a daily eyelid hygiene routine can break the cycle. The goal is to keep the oil glands along your lash line clear of debris and bacteria. Once a day, clean the edges of your eyelids using a clean cotton ball dampened with a diluted baby shampoo solution: mix two or three drops of baby shampoo into about a quarter pint of cooled boiled water. Gently wipe along the lash line from the inner corner of the eye outward, then discard the solution. Pre-made eyelid cleaning wipes are a convenient alternative and available at most pharmacies.

Pairing this cleaning habit with a brief warm compress before bed helps keep your eyelid glands flowing freely. Even after your symptoms are gone, performing eyelid cleaning once a day can prevent future flare-ups. Replace eye makeup every few months, wash your hands before touching your face, and clean your contact lenses properly. These small habits make a real difference for people prone to recurrent styes.