How to Prevent Styes: Tips to Reduce Your Risk

Preventing styes comes down to keeping the oil glands in your eyelids clean, unblocked, and free from bacteria. Styes form when bacteria, nearly always Staphylococcus aureus (responsible for 90% to 95% of cases), infect the tiny glands along your eyelid margin. Since these glands can become blocked or contaminated through everyday habits, most styes are preventable with a few consistent routines.

Why Styes Form in the First Place

Your eyelids contain two types of glands that are vulnerable to infection. Along the lash line, small oil glands and modified sweat glands can develop external styes, the classic red bump right at the edge of your eyelid. Deeper inside the lid, larger oil-producing glands (called meibomian glands) create the oily layer of your tear film. When these deeper glands get blocked or infected, an internal stye forms, which tends to be more painful and harder to see.

In both cases, the process is similar: dead skin cells, dried oil, or bacteria clog the gland opening, and an infection takes hold. Anything that introduces bacteria to your eyelids or thickens the oils in those glands raises your risk. That means prevention targets two things: reducing bacterial load around your eyes and keeping those gland openings clear.

Daily Eyelid Cleaning

Routine eyelid hygiene is the single most effective habit for stye prevention. When the lash roots stay dirty, bacteria and mites thrive, and debris accumulates around the gland openings. A daily cleaning takes about 30 seconds per eye and makes a noticeable difference for people prone to recurrent styes.

Start by washing your hands thoroughly. Then use a clean cotton swab, lint-free pad, or a commercially available lid wipe to gently scrub along the base of your lashes with your eyes closed. Move horizontally along the lash line, not up and down, to avoid pushing debris into the glands. You can use a specially formulated eyelid cleanser or a product containing low-concentration hypochlorous acid, which has been shown to reduce bacterial load on the eyelid without disrupting the normal balance of skin bacteria. One study found that a 0.01% hypochlorous acid solution had an immediate germ-killing effect comparable to much stronger surgical-grade antiseptics.

Diluted baby shampoo has been a traditional recommendation, but clinical trials have found that even a 1:10 dilution can damage the cells that produce protective mucus on the eye’s surface, potentially worsening dry eye. If you’ve been using baby shampoo and noticing dryness or irritation, switching to a purpose-made eyelid cleanser is worth trying.

Warm Compresses to Keep Glands Flowing

The oil your eyelid glands produce can thicken and solidify, especially if you spend long hours in air conditioning, stare at screens for extended periods, or live in a dry climate. A warm compress softens that oil and helps it flow freely out of the glands, preventing the blockages that lead to styes.

The target temperature is around 40°C (104°F), warm enough to melt thickened oils but not hot enough to burn delicate eyelid skin. A microwavable eye mask or a clean washcloth soaked in warm water both work. Hold it against your closed eyelids for at least 10 minutes. A single session can measurably improve tear quality, but for prevention, doing this once daily (or even a few times per week) is more effective than occasional use. After removing the compress, gently massaging your eyelids from top to bottom helps push the loosened oil out of the glands.

Hand Hygiene and Eye Touching

Your hands are the primary vehicle for transferring staph bacteria to your eyelids. Every time you rub your eyes, adjust your lashes, or apply products around your eyes, you’re potentially introducing bacteria to those vulnerable gland openings. The habit to build is simple: don’t touch your eyes without washing your hands first, and try to reduce unnecessary eye rubbing altogether. If your eyes feel itchy or tired, a few drops of preservative-free artificial tears can relieve the urge to rub.

Contact Lens Practices

Contact lens wearers handle their eyes multiple times a day, which multiplies the opportunities for bacterial transfer. The CDC recommends washing your hands with soap and water and drying them completely with a clean cloth before touching your lenses. Beyond that, your lens case itself can become a bacterial reservoir. Clean it by rubbing and rinsing with fresh solution (never tap water), then store it upside down with the caps off so it air-dries completely between uses. Replace the case at least every three months, and never top off old solution with fresh solution, as this dilutes the disinfectant and lets bacteria survive.

Makeup Habits That Matter

Eye makeup, especially mascara, is a common and underestimated source of bacterial contamination. Mascara’s high water content creates an ideal breeding ground for microbes, and the wand picks up bacteria from your lashes every time you use it, then reintroduces them into the tube. The FDA recommends replacing mascara three months after opening, regardless of how much is left. Eyeliner and eyeshadow last longer but should still be replaced regularly and never shared.

A few other makeup rules help: never apply liner on the inner rim of your eyelid (the waterline), where it can directly block gland openings. Remove all eye makeup before bed every night, using a gentle, oil-based remover that dissolves product without heavy rubbing. Sleeping in mascara or eyeliner gives bacteria hours of uninterrupted contact with your lash line.

Air Quality and Environmental Exposure

If you live in an area with heavy air pollution or work in dusty environments, your eyelid glands face additional stress. Research has linked exposure to fine particulate matter (PM2.5) to meibomian gland damage, including clogged gland openings and permanent gland loss. In animal studies, PM2.5 exposure caused significant gland dropout and promoted the kind of tissue changes that lead to chronic gland dysfunction.

You can’t always control your environment, but wearing wraparound sunglasses or protective eyewear on high-pollution days or in dusty workplaces creates a physical barrier. Using preservative-free artificial tears after exposure helps rinse particles from the eye surface before they settle into gland openings.

Omega-3s and Gland Health

The oil your meibomian glands produce is heavily influenced by dietary fats. Omega-3 fatty acids, found in fatty fish, flaxseed, and supplements, help keep that oil fluid rather than thick and waxy. A clinical trial using a high-dose omega-3 supplement (about 2,200 mg total per day, mostly from DHA) found measurable improvements in tear film stability and meibomian gland function after eight weeks. Another study using 2,400 mg per day of omega-3s saw symptom improvement within one month. If you get recurrent styes and your diet is low in fish and other omega-3 sources, supplementation is a reasonable addition to your prevention routine.

Managing Underlying Conditions

Some people get styes repeatedly despite good hygiene, and the cause is often an underlying condition that keeps the eyelid glands chronically inflamed. Ocular rosacea is one of the most common culprits. It causes persistent eyelid redness, irregular lid margins, and frequent styes or chalazia (the hard bumps that form when a blocked gland doesn’t resolve). Seborrheic dermatitis, a flaky skin condition that often affects the eyebrows and scalp, is another identified risk factor.

Managing ocular rosacea involves a combination of lid hygiene, lubricating eye drops, and avoiding known triggers like UV exposure, stress, alcohol, hot or spicy foods, and extreme temperatures. For moderate to severe cases, topical or oral treatments prescribed by an eye doctor can reduce the chronic inflammation that makes the glands vulnerable to repeated infections. If you notice that styes keep coming back despite doing everything right with cleaning and compresses, an underlying inflammatory condition is worth investigating.

What Recurrent Styes Can Signal

A single stye is common and usually nothing to worry about. But if you’re getting styes more than two or three times a year, or if they keep forming in the same spot, that pattern suggests something beyond a random bacterial exposure. Possible explanations include chronic blepharitis (ongoing inflammation of the lid margin), meibomian gland dysfunction, Demodex mite overgrowth along your lashes, or one of the systemic conditions mentioned above. An eye care provider can examine your lid margin under magnification, assess your gland function, and identify what’s driving the cycle so you can treat the root cause rather than just reacting to each new stye.