How to Get Rid of a Stye: Treatments That Work

Most styes clear up on their own within one to two weeks, but warm compresses can speed the process and ease discomfort along the way. A stye is a small, painful bump on the eyelid caused by a bacterial infection in one of the oil glands near your lash line. The bacterium responsible is almost always staphylococcus, a common skin bacteria that occasionally gets trapped in a gland and causes a blockup.

Warm Compresses Are the Main Treatment

The single most effective thing you can do for a stye is apply a warm, damp cloth to your closed eyelid. The heat softens the hardened oil clogging the gland and encourages it to drain naturally. Use a clean washcloth soaked in warm (not hot) water, wring it out, and hold it gently against your eyelid for 10 to 15 minutes. Repeat this three to four times a day.

The cloth cools quickly, so rewet it every few minutes to keep steady warmth on the area. Some people find a heated eye mask or a warm, damp tea bag more convenient since they hold temperature longer. After each compress session, you can gently massage the eyelid with clean fingers to help the gland open up. Most styes will come to a head and drain within a few days of consistent compress use.

Keep the Area Clean

While the stye is healing, gently wash your eyelids daily. A simple approach is to mix a drop or two of baby shampoo in warm water, dip a cotton swab or clean cloth in it, and wipe along the lash line with your eyes closed. Pre-moistened eyelid wipes sold at pharmacies work the same way. This removes debris, oil buildup, and bacteria from the lash area, which helps the stye drain and lowers the chance of reinfection.

Avoid wearing eye makeup while you have a stye. Mascara, eyeliner, and eyeshadow can reintroduce bacteria to the area or irritate the swollen gland. If you wear contact lenses, switch to glasses until the stye resolves.

Don’t Pop or Squeeze a Stye

It might look like a pimple, but squeezing a stye is genuinely risky. Popping it can push the infection deeper into the eyelid tissue, potentially causing a severe infection, scarring, changes in eyelid pigmentation, or a corneal abrasion (a scratch on the surface of your eye). Let it drain on its own. The warm compresses do the work that squeezing would attempt, just more safely.

Over-the-Counter Relief

OTC stye ointments are available at most pharmacies, but they don’t treat the infection itself. These products are lubricant-based, typically containing mineral oil and white petrolatum as emollients. What they actually do is temporarily ease burning and irritation and prevent the eye’s surface from drying out while the stye heals. They can make the experience more comfortable, but they’re not a substitute for consistent warm compresses.

If the pain is bothersome, an oral pain reliever like ibuprofen or acetaminophen can help with the tenderness and inflammation.

Stye vs. Chalazion

Not every eyelid bump is a stye. A chalazion looks similar but behaves differently. A stye is painful from the start, appears right at the eyelid’s edge (usually around an eyelash root), and develops quickly. A chalazion tends to form farther back on the eyelid, is not usually painful at first, and grows slowly over days or weeks. You might not even notice a chalazion initially until it becomes large enough to cause swelling.

As a chalazion gets bigger, the eyelid may become red and tender, which is when people confuse it with a stye. The distinction matters because chalazia that don’t resolve on their own sometimes need a different approach than a simple stye. If your bump is painless, slow-growing, and positioned away from the lash line, it’s more likely a chalazion.

When a Stye Needs Medical Attention

If your stye is very painful or hasn’t started improving after two days of warm compresses, it’s worth seeing a doctor. Other signs that warrant a visit include swelling that spreads beyond the eyelid to your cheek or other parts of your face, changes in your vision, or a stye that keeps coming back in the same spot. A healthcare provider may prescribe antibiotic ointment or, for stubborn cases, perform a small in-office drainage procedure to release the trapped material.

Preventing Styes From Coming Back

Some people are prone to recurring styes, and a few simple habits make a real difference. Wash your hands before touching your face or eyes. Clean your eyelids regularly, especially if you tend toward oily skin or have a history of eyelid inflammation. Replace eye makeup every few months since bacteria accumulate in mascara tubes and eyeliner pencils over time. If you wear contacts, follow your lens cleaning schedule carefully and never sleep in lenses not designed for overnight wear.

People with skin conditions like rosacea or chronic dandruff (seborrheic dermatitis) are at higher risk for styes because these conditions increase oil gland dysfunction along the eyelid margin. Managing the underlying condition with your doctor’s help can reduce how often styes develop.