The most common cause of a lump on your eyelid is a chalazion, a painless bump that forms when one of the tiny oil glands inside your eyelid gets blocked. The second most likely cause is a stye, which looks similar but is an active infection and hurts. Together, these two conditions account for the vast majority of eyelid lumps, and both typically resolve on their own within weeks.
Chalazion: The Painless Bump
A chalazion starts when a meibomian gland, one of dozens of oil-producing glands that line the inner surface of your eyelids, gets clogged. The trapped oil leaks into surrounding tissue, and your immune system walls it off into a firm, round nodule. At first the whole eyelid may swell, sometimes enough to close the eye completely. Within a day or two, the swelling concentrates into a distinct lump closer to the center of the lid. Early on it can be tender, but once it fully forms, a chalazion is typically painless.
Most chalazia drain on their own or get reabsorbed within two to eight weeks. Some last longer, occasionally stretching into months. If a chalazion hasn’t improved after about a month, it’s worth seeing an eye doctor. At that point, the two main options are a steroid injection into the bump or a minor in-office procedure where the doctor makes a small incision on the inside of the eyelid and drains it. The incision approach tends to be definitive, resolving the chalazion in a single visit, while injections sometimes require follow-up appointments.
Stye: The Painful, Red Bump
A stye (hordeolum) is a bacterial infection at the base of an eyelash or inside a meibomian gland. Unlike a chalazion, a stye hurts from the start and stays painful. You may also notice watering eyes, sensitivity to light, or a feeling like something is stuck in your eye.
An external stye shows up right at the eyelid margin, usually as a small yellowish spot at the root of a lash surrounded by red, swollen skin. It typically comes to a head and ruptures on its own within two to four days, and the pain drops off quickly once it drains. An internal stye forms deeper in the lid. It looks and feels more like a chalazion at first, but the pain and redness are more pronounced. Internal styes sometimes evolve into a chalazion if the infection clears but the gland stays blocked.
Why Some People Get Lumps Repeatedly
If you keep getting chalazia or styes, the underlying issue is often blepharitis, a chronic low-grade inflammation along the eyelid margins. Blepharitis has several drivers: bacterial buildup on the lids, meibomian gland dysfunction (where the oil glands produce thick, waxy secretions that plug easily), seborrheic dermatitis, and rosacea that affects the eyes. When these conditions go unmanaged, the oil glands clog more frequently, and lumps recur.
Keeping the eyelid margins clean is the single most effective way to break the cycle. A warm compress held against the closed eyelid for about five minutes at a time softens the hardened oil inside the glands. Research shows it takes at least two to three minutes of sustained heat on the eyelid surface to liquefy the oil plugs, so a quick pass with a warm washcloth isn’t enough. Doing this once or twice a day, combined with gently cleaning the lash line afterward, reduces recurrence significantly.
Other Types of Eyelid Lumps
Milia
Milia are tiny white or yellowish bumps, usually two millimeters or smaller, caused by keratin trapped just beneath the skin surface. They’re completely harmless and painless. Unlike a pimple, milia are firmly anchored to the skin and can’t be squeezed out. Picking at them tends to cause irritation without removing the bump. If one bothers you cosmetically, a dermatologist can nick the surface with a fine blade and flick the contents out in seconds.
Xanthelasma
Xanthelasma are soft, flat, yellowish patches or plaques that appear on the eyelids, most often near the inner corners. They’re deposits of cholesterol under the skin. About half of people with xanthelasma have elevated cholesterol levels, often inherited forms of high cholesterol or cholesterol linked to liver conditions. The other half have normal levels. Either way, these patches are worth mentioning to your doctor because they can signal cardiovascular risk factors worth screening for.
Signs a Lump Could Be Something Serious
The overwhelming majority of eyelid lumps are benign, but a few features should prompt a prompt visit to an eye doctor. Sebaceous carcinoma, a rare but aggressive cancer of the eyelid’s oil glands, can mimic a chalazion. The key warning signs are a lump that keeps coming back in the same spot after treatment, loss of eyelashes in the area around the bump, or a diffuse thickening of the eyelid rather than a well-defined nodule. Basal cell carcinoma, the more common eyelid skin cancer, tends to appear on the lower lid as a pearly or translucent bump with visible blood vessels at its edges, sometimes with a central ulcer that doesn’t heal.
Infection spreading beyond the bump itself is the other red flag. If the skin around your entire eye becomes red, hot, swollen, and tender to the touch, that pattern suggests periorbital cellulitis, a bacterial infection of the soft tissue around the eye socket. Fever, eye pain, vision changes, or the eye starting to bulge outward are signs to go to an emergency room, especially in children, who develop this complication more readily.
Home Care That Actually Helps
For a straightforward stye or chalazion, warm compresses are the first-line treatment and often the only one needed. Use a clean washcloth soaked in warm (not scalding) water, or a microwaveable eye mask designed for the purpose. Hold it against the closed eyelid for five minutes per session, rewarming as needed to maintain consistent heat. Doing this two to four times a day speeds drainage and softens blocked oil.
Resist the urge to squeeze or pop the lump. Styes drain on their own once they’re ready, and squeezing a chalazion won’t expel the trapped material but can push it deeper into the tissue or introduce bacteria. Keep the eyelid clean, avoid wearing eye makeup on the affected lid while it heals, and replace mascara and eyeliner that were in use when the lump appeared, since they may harbor bacteria.
If you notice a chalazion is shrinking, becoming less firm, or the skin over it is flattening, those are signs it’s resolving. A stye that ruptures and stops hurting is healing normally. For lumps that persist past a month, grow larger, or come with any of the warning signs above, an eye care provider can evaluate whether drainage, biopsy, or another approach is needed.