What Causes Eyelid Inflammation and How to Treat It

Eyelid inflammation, known medically as blepharitis, is one of the most common eye conditions. It affects more than 25 million Americans and shows up as redness, swelling, and irritation along the eyelid margins. The causes range from bacterial overgrowth and clogged oil glands to skin conditions, microscopic mites, and allergic reactions to everyday products.

Bacterial Overgrowth on the Eyelid

A certain amount of bacteria lives on the surface of your eyelids and eyelashes at all times. Problems start when that bacterial population grows beyond normal levels, triggering an inflammatory response along the lash line. This type of inflammation, called anterior blepharitis, typically causes crusty flakes or scales at the base of the eyelashes, redness along the lid margin, and a gritty or burning sensation.

The bacteria don’t necessarily come from outside your body. They’re part of your normal skin flora. What allows them to overgrow isn’t always clear, but it tends to happen alongside other skin conditions, particularly dandruff (seborrheic dermatitis) of the scalp and eyebrows. If you deal with persistent dandruff, you’re at higher risk for this type of eyelid inflammation.

Clogged Oil Glands in the Eyelids

Your eyelids contain dozens of tiny oil-producing glands called meibomian glands, which line the inner rim of both the upper and lower lids. These glands secrete an oily substance that forms the outermost layer of your tear film, preventing your tears from evaporating too quickly. When these glands become blocked or start producing thicker, lower-quality oil, the result is posterior blepharitis.

The blockage happens through two main pathways: the oil itself becomes too thick and viscous to flow freely, or the tiny ducts that channel the oil to the lid surface become clogged with overgrown skin cells. Either way, the glands back up, the tear film becomes unstable, and the lid margin gets inflamed. This connection between oil gland dysfunction and dry eye is so strong that an estimated 86% of all patients with dry eyes also have blepharitis. If your eyes constantly feel dry and your eyelids are irritated, clogged oil glands are a likely culprit.

Demodex Mites

Tiny mites called Demodex folliculorum live in the hair follicles of most adults, including eyelash follicles. They feed on skin cells and are usually harmless. But when they multiply out of control, typically because the immune system is weakened or suppressed, they cause a specific form of eyelid inflammation called Demodex blepharitis.

The hallmark sign is a waxy, cylindrical buildup of debris at the base of the eyelashes, called collarettes. Other symptoms include thickened or scaly eyelids, loss of lashes, itchiness, and sometimes decreased vision. This form of blepharitis was historically difficult to treat, but in 2023 the FDA approved the first prescription eye drop specifically targeting Demodex mites. In clinical trials, the treatment eradicated mites in 52% to 68% of patients after six weeks of use, compared to roughly 15% to 18% in patients using placebo drops.

Rosacea and Other Skin Conditions

Rosacea, a chronic inflammatory skin condition that causes facial redness and flushing, frequently extends to the eyes. This is called ocular rosacea, and it causes burning, itching, and redness of the eyelids and eyes. It’s common enough that eye symptoms sometimes appear before any visible facial rosacea develops, or occur entirely on their own without the skin ever being affected.

Many of the same triggers that flare facial rosacea also flare the eyelid inflammation that comes with it: hot or spicy foods, alcohol, sun exposure, wind, temperature extremes, emotional stress, and strenuous exercise. Hot baths and saunas can also set it off. If your eyelid inflammation seems to come and go with these kinds of triggers, rosacea may be the underlying driver.

Seborrheic dermatitis, the condition responsible for dandruff, also contributes to eyelid inflammation. The same flaky, oily irritation that affects your scalp can affect the skin around your eyes, feeding bacterial overgrowth and chronic lid margin inflammation.

Allergic Reactions and Contact Irritants

The eyelid skin is among the thinnest on your body, making it especially vulnerable to contact allergens in cosmetics, skincare products, and hair care. When the skin reacts to an allergen, it swells, reddens, and itches, a condition called contact dermatitis of the eyelid.

The most common classes of allergens in cosmetics and personal care products include:

  • Fragrances: The European Commission has identified 26 specific fragrance compounds as known allergens, many of which appear in eye creams, makeup, and cleansers.
  • Preservatives: Chemicals like methylisothiazolinone and formaldehyde-releasing ingredients are added to prevent product spoilage but frequently cause skin reactions.
  • Dyes: Hair dye chemicals, particularly p-phenylenediamine (PPD), are a well-known trigger. The allergen can drip or transfer from your hair to your eyelids.
  • Metals: Nickel and gold, found in eyelash curlers, eyeglass frames, and some cosmetic formulations, can cause chronic eyelid irritation in sensitized individuals.
  • Latex: Found in some cosmetic applicators and adhesive products like false eyelash glue.

This type of eyelid inflammation typically improves once you identify and stop using the offending product. If the irritation consistently gets worse after applying a specific product or after using a new brand, that’s a strong clue that contact allergy is the cause rather than an infectious or glandular problem.

Styes and Chalazia: Localized Causes

Not all eyelid inflammation is widespread. Sometimes a single, focused bump develops, and it helps to know the difference. A stye is a bacterial infection, usually at the base of an eyelash or inside an oil gland. Styes are very painful, form a red bump that may have a small pus spot at the center, and can cause the entire eyelid to swell.

A chalazion, by contrast, develops when an oil gland in the eyelid clogs up and enlarges without an active infection. Chalazia are usually painless (occasionally tender), sit farther back on the eyelid than styes, and rarely cause the whole lid to swell. Both conditions are more likely to occur in people who already have chronic blepharitis, since ongoing inflammation makes the glands and follicles more prone to blockages and infections.

Managing the Inflammation

Because blepharitis is usually chronic rather than a one-time event, management focuses on daily lid hygiene. The core routine involves applying a warm compress to your closed eyelids for several minutes, once or twice a day, to soften crusted debris and liquefy thickened oil in the glands. You can use a clean washcloth soaked in hot tap water, an over-the-counter microwavable heat mask, or a homemade rice bag. The key is sustained warmth, not just a quick pass with a warm cloth. Be careful not to make it hot enough to burn the delicate lid skin.

After warming, gently massage the eyelids and clean the lash line with a lid scrub or diluted baby shampoo to remove loosened debris and excess bacteria. This helps keep the glands flowing and the bacterial population in check.

If you don’t see improvement after about six weeks of consistent lid hygiene, that’s the point to seek further evaluation. Your eye care provider may recommend prescription drops, in-office treatments that apply controlled heat and pressure to the glands, or targeted therapy if Demodex mites are identified as the cause. The specific approach depends entirely on which type of inflammation you have, which is why persistent cases benefit from a professional assessment to pinpoint the underlying trigger.