How to Treat an Eyelid Infection: Remedies and When to Act

Most eyelid infections clear up within one to two weeks using simple home care, primarily warm compresses and good eyelid hygiene. The right approach depends on what type of infection you’re dealing with, since a stye, a chalazion, and blepharitis each behave differently and sometimes need different levels of treatment.

Identifying Your Eyelid Infection

A stye (also called a hordeolum) is a red, painful bump on the eyelid caused by a clogged and infected oil gland or eyelash follicle. It looks and feels like a small pimple, usually near the eyelid margin, and it’s tender to the touch. Most styes come to a head and drain on their own.

A chalazion starts the same way, as a blocked oil gland, but without the acute infection. It forms a round, firm bump on the inner surface of the eyelid that grows slowly and can stick around for several months. Chalazia are less painful than styes but can become tender as they enlarge. Sometimes a stye that doesn’t fully resolve turns into a chalazion.

Blepharitis is a broader inflammation of the eyelid, affecting the oil glands and eyelash area along the lid margin. Rather than a single bump, you’ll notice redness, burning, and flaky or crusty debris at the base of your eyelashes. It can affect the front of the lid (causing dandruff-like scaling around the lashes) or the back of the lid (disrupting the oil glands that keep your tears stable). Blepharitis tends to be chronic and recurring rather than a one-time event.

Warm Compresses: The First-Line Treatment

For styes, chalazia, and flare-ups of blepharitis, warm compresses are the single most effective home treatment. The heat softens clogged oil in the glands, encourages drainage, and increases blood flow to help your body fight infection. Apply a warm, moist cloth to the affected eye for 5 to 10 minutes, 3 to 6 times a day.

A few details matter here. Use comfortably warm water, not hot. Don’t heat a wet cloth in the microwave, since it can develop hot spots that burn the thin skin of your eyelid. A clean washcloth soaked in warm tap water works well, though it cools quickly. Reheating or re-soaking it halfway through each session helps maintain consistent warmth. Some people prefer a microwavable eye mask designed for dry heat, which holds its temperature longer.

After each compress session, gently massage the eyelid with a clean finger, working from the outer edge toward the lash line. This helps push softened oil out of blocked glands. If you have a stye, resist the urge to squeeze or pop it. Forcing it open can spread the infection deeper into the lid tissue.

Keeping Your Eyelids Clean

Daily eyelid hygiene matters both for treating an active infection and preventing the next one. After your warm compress, gently scrub the base of your eyelashes with a clean cloth, cotton swab, or commercial eyelid wipe. You can use diluted baby shampoo (a drop or two mixed with warm water) or a dedicated eyelid cleanser.

Hypochlorous acid sprays and wipes (typically at a 0.01% concentration) have become a popular option. Hypochlorous acid is naturally produced by your own immune cells, and lab studies show it selectively kills harmful bacteria like Staphylococcus species and Pseudomonas while leaving normal skin bacteria relatively intact. These products are available over the counter at most pharmacies and are gentle enough for daily use.

For blepharitis linked to tiny Demodex mites (a common culprit, especially in people over 50), tea tree oil products are sometimes recommended. These come as eyelid wipes, shampoos, or diluted oil for massage. However, a Cochrane review found the evidence for tea tree oil’s effectiveness is still uncertain. If you try it, lower concentrations are safer around the eyes, since higher concentrations can cause irritation. Some people experience discomfort that improves once they adjust their application technique, but it’s worth knowing the evidence isn’t strong.

When You Need Prescription Treatment

If warm compresses and lid hygiene don’t improve things after a week or two, or if the infection is worsening, a doctor can prescribe antibiotic ointment. These ointments are applied as a thin strip (about a third of an inch) inside the lower eyelid or along the lash line, typically several times a day. Your doctor will specify the exact schedule based on the severity of your infection.

For blepharitis with significant inflammation, your doctor may also prescribe a short course of anti-inflammatory drops or a combination antibiotic-steroid ointment. Chronic or severe blepharitis sometimes requires oral antibiotics taken for several weeks, not primarily for their antibacterial effect but because certain antibiotics also reduce inflammation in the oil glands.

A chalazion that persists for several months despite conservative treatment can be drained in an office procedure. The doctor numbs the eyelid, makes a small incision on the inner surface (so there’s no visible scar), and removes the trapped material. Recovery is quick, though if multiple glands are involved, the bump can return and the procedure may need to be repeated.

What to Avoid During an Eyelid Infection

Stop wearing contact lenses at the first sign of redness, irritation, or pain. Contacts can trap bacteria against the eye and make any eyelid infection worse. Most people end up keeping their lenses out for about five days, though you should wait until all symptoms have fully resolved before putting them back in. Use your glasses in the meantime.

Don’t wear eye makeup while you have an active infection. Mascara, eyeliner, and eyeshadow can introduce bacteria into inflamed glands and contaminate the products themselves. Throw away any eye makeup you were using when the infection started. Even without an infection, the American Academy of Ophthalmology recommends replacing all eye makeup every three months, since bacteria colonize these products over time. Never share eye makeup with others, and don’t apply it in a moving vehicle where an applicator could scratch your eye.

Avoid touching or rubbing your eyes with unwashed hands. This sounds obvious, but it’s the most common way bacteria get transferred to the eyelid. If you need to apply compresses or clean your lids, wash your hands thoroughly first.

Signs of a Serious Infection

Most eyelid infections are minor and stay superficial. Rarely, infection can spread deeper into the tissue around the eye, a condition called periorbital or orbital cellulitis. The warning signs are distinct from a simple stye: significant swelling and redness spreading beyond the eyelid, significant pain when you move your eyeball, double or blurry vision, a fever, or the eyeball appearing to bulge forward.

Orbital cellulitis is a medical emergency. Because the eye is connected to the brain through the optic nerve, deep orbital infections can progress to a brain abscess, permanent vision loss, or in very rare cases, death. If you notice any combination of these symptoms, especially pain with eye movement or vision changes, get to an emergency room rather than waiting for a doctor’s appointment.