What Does a Bump on Your Eyelid Mean? Stye or Chalazion?

A bump on your eyelid is almost always benign. The two most common causes are styes (infected oil glands) and chalazia (blocked oil glands), both of which typically resolve on their own within days to weeks. Less common possibilities include milia, xanthelasma, viral bumps, and rarely, eyelid cancer. What your bump looks like, where exactly it sits, and whether it hurts can help you figure out which type you’re dealing with.

Styes: Painful Bumps Near Your Lashes

A stye forms when a small oil gland at the base of an eyelash gets infected, usually by bacteria that already live on your skin. The result is a red, tender bump right along the lash line that looks a bit like a pimple. You’ll typically see redness and swelling around a single eyelash follicle, and if the infection is active, the bump may develop a yellowish head.

Styes hurt. That’s their defining feature. They’re tender to the touch, and you’ll probably feel a throbbing or stinging sensation even when you leave them alone. Most styes come to a head and drain within a week, though the swelling can linger a few days longer. They don’t usually need medical treatment.

Chalazia: Firm, Painless Lumps

A chalazion looks similar to a stye at first glance but behaves very differently. It develops when an oil gland deeper in the eyelid (called a meibomian gland) becomes blocked. Instead of an infection, what you get is a buildup of trapped oil surrounded by inflammatory tissue. The bump is firm, round, and sits slightly away from the lash line, often on the inner surface of the lid.

The key difference is pain. A simple chalazion is not tender. It shows up as a noticeable lump under the skin that you’re more likely to notice in the mirror than to feel. That said, if the blocked gland becomes secondarily infected, it can get sore and red, making it harder to distinguish from a stye.

Chalazia take longer to clear up. With consistent warm compress treatment, most resolve within about a week. Left alone, they can take four to six weeks, and some persist for months. If a chalazion hasn’t responded to home care after six months and is still causing symptoms, a minor in-office drainage procedure may be recommended.

How to Treat Styes and Chalazia at Home

Warm compresses are the standard treatment for both. The goal is straightforward: heat liquefies the hardened oil trapped inside the gland so it can drain. Research shows it takes about two to three minutes of sustained warmth on the eyelid surface to melt the oil, so most ophthalmologists recommend five-minute sessions to make sure you’re getting enough contact time. A clean washcloth soaked in warm water works, though it cools quickly and you’ll need to re-wet it. Microwavable eye masks hold heat more consistently.

Don’t keep the compress on for extended periods. Prolonged heat dilates blood vessels in the area and can actually increase swelling. Once the oil has been liquefied, you’ve done what that session can do. Repeat three to four times a day. Avoid squeezing or popping the bump, which can spread infection or push material deeper into the tissue.

Milia: Tiny White Bumps

If your bump is very small (one to two millimeters), white or skin-colored, smooth, and completely painless, it’s likely a milium. These are tiny cysts filled with trapped skin protein that sit just beneath the surface. They’re extremely common around the eyes and often appear in clusters. Milia grow slowly and aren’t inflamed or infected. They’re purely cosmetic and don’t need treatment, though they rarely go away on their own. A dermatologist can remove them quickly with a small needle if they bother you.

Xanthelasma: Yellowish Patches

Xanthelasma looks distinctly different from other eyelid bumps. These are flat or slightly raised yellowish deposits that appear on the inner corners of the eyelids, often on both sides. They’re soft, well-defined, and grow very slowly over time. They don’t hurt, itch, or affect your vision.

What makes xanthelasma worth paying attention to is what it can signal about your metabolism. In one case-control study, 50% of patients with xanthelasma had elevated total cholesterol, compared to about 16% of people without it. Elevated triglycerides were also significantly more common, at 25% versus 7%. Having xanthelasma doesn’t guarantee you have a lipid problem, but it’s a good reason to get your cholesterol checked if you haven’t recently.

Molluscum Contagiosum: Viral Bumps

Molluscum contagiosum is a viral skin infection that occasionally appears on or near the eyelid, most commonly in children. The bumps are small, flesh-colored, fluid-filled nodules with a distinctive dimple or depression in the center. That central indentation is the hallmark feature. The infection is mildly contagious and usually affects only one eye. In healthy individuals, molluscum bumps clear on their own over several months as the immune system clears the virus, though they can sometimes trigger eye irritation if they’re close to the lash line.

When a Bump Could Be Something Serious

Eyelid cancer is uncommon, but it does happen, particularly in older adults. When eyelid tumors turn out to be malignant, roughly 90% are basal cell carcinomas, a slow-growing type of skin cancer that very rarely spreads. The average age at diagnosis is around 72. Squamous cell carcinoma accounts for most of the remaining cases.

Certain features distinguish a potentially cancerous growth from a harmless bump:

  • A sore that won’t heal. Broken skin on the eyelid that persists for weeks or months without resolving.
  • Loss of eyelashes. A bump that causes lashes in the area to fall out and not grow back.
  • Changes in appearance. A growth that’s spreading, changing color (red, brown, or black), or developing irregular borders.
  • Thickening of the eyelid. A section of the lid that feels noticeably thicker or distorted compared to the other side.

A chalazion that keeps coming back in exactly the same spot can also be a red flag, since certain eyelid cancers can mimic a recurring chalazion. Any bump that fits these descriptions, or that persists for months without a clear explanation, warrants evaluation.

Preventing Recurrent Eyelid Bumps

If you’re prone to styes or chalazia, the problem is almost always related to how well your eyelid oil glands function. Regular eyelid hygiene helps keep those glands flowing. Gently cleaning your lash line daily with a diluted baby shampoo or a commercial eyelid cleanser removes the debris and bacteria that contribute to blockages. A brief warm compress each morning, even when you don’t have a bump, can keep gland secretions fluid. Avoiding old or shared eye makeup, replacing mascara every few months, and removing makeup fully before bed also reduce your risk.