What Is the Bump on My Eyelid? Causes & Treatments

The bump on your eyelid is most likely a stye or a chalazion, the two most common eyelid lumps by far. Both involve the oil glands in your eyelid, but they feel different, behave differently, and sometimes need different approaches. A few other possibilities, including tiny keratin cysts and yellowish cholesterol deposits, are less common but worth knowing about.

Styes: Painful, Red, and Near the Lash Line

A stye is a small, painful lump caused by a bacterial infection, usually from staph bacteria that live on your skin. There are two types. An external stye forms at the base of an eyelash, where a hair follicle gets infected. It looks and feels like a pimple right at the edge of your lid. An internal stye forms deeper inside the eyelid when one of the oil-producing glands becomes infected. Both types hurt, and within a day or two the pain and swelling usually concentrate along the eyelid margin.

Styes tend to come to a head like a pimple, sometimes draining on their own within a week. They can make your whole eyelid feel swollen and tender, and your eye may water more than usual. You might wake up with crustiness along your lashes.

Chalazia: Painless Lumps That Linger

A chalazion starts when one of the tiny oil glands in your eyelid (called meibomian glands) gets blocked. Unlike a stye, a chalazion is not an infection. The blocked gland leaks oily material into the surrounding tissue, which triggers a slow inflammatory reaction. The result is a firm, round bump that sits in the body of your eyelid rather than at the lash line.

Early on, a chalazion may be slightly tender and look similar to a stye. Over time, though, it becomes a small, painless nodule. Some chalazia actually begin as internal styes that don’t fully resolve. They can range from pea-sized to large enough to press on your eyeball and temporarily blur your vision. Many shrink on their own over weeks to months, but some stick around and need treatment.

How to Tell Them Apart

The key differences come down to pain and position. A stye hurts and sits at the edge of your eyelid, right where your lashes grow. A chalazion is usually painless (or only mildly tender early on) and localizes to the center of the eyelid, away from the margin. Styes also tend to look more like a pimple with a visible white or yellow head, while chalazia feel like a smooth, firm pea under the skin.

Timing matters too. Styes typically peak in discomfort within two to three days and start to resolve within a week. Chalazia develop more slowly and can persist for weeks or months without changing much.

Milia: Tiny White Bumps That Won’t Pop

If your bump is very small, white, and hard, with no pain or redness, it may be a milium (or milia, if you have several). These are tiny cysts that form when dead skin cells get trapped below the surface instead of shedding normally. New skin grows over them, sealing them in, and the trapped cells harden into a small pearl-like bump.

Milia are harmless and sometimes resolve on their own, but they can be stubborn. Don’t try to squeeze or scrape them off. Unlike a pimple, there’s no opening for the contents to escape, and forcing it can cause scarring or infection. A dermatologist can remove them quickly with a sterile needle or minor procedure.

Xanthelasma: Yellowish Patches Near the Nose

Yellowish, flat or slightly raised patches on your eyelids, especially near the inner corners, are likely xanthelasma. These are deposits of cholesterol under the skin. They’re painless, don’t affect your vision, and tend to grow slowly over time.

You might assume this means your cholesterol is dangerously high, but the relationship is less straightforward than it seems. A 2024 study in the journal Ophthalmology found that people with xanthelasma had similar rates of diagnosed lipid disorders compared to matched controls (42% versus 46%). Still, it’s reasonable to get your cholesterol checked if you notice these deposits, since they can occasionally be an early visible sign of a lipid problem.

Warm Compresses: The First-Line Treatment

For styes and chalazia, warm compresses are the standard starting point and often the only treatment you’ll need. The heat liquefies the solidified oil inside the blocked gland, helping it drain. Research shows it takes about two to three minutes of sustained warmth on the eyelid surface to start liquefying that oil.

Apply a clean, warm washcloth (or a microwavable eye mask) for about five minutes at a time, two to four times per day. Don’t leave heat on continuously. Prolonged warmth dilates blood vessels in the area and can actually increase swelling. Gentle massage of the bump after warming can help the gland open. Most styes resolve within a week with this approach. Chalazia often take longer, sometimes several weeks of consistent compresses.

When a Bump Needs More Than Home Care

A chalazion that doesn’t respond to warm compresses over several weeks may need a minor in-office procedure. An eye doctor can inject a small amount of steroid directly into the bump, which resolves most cases. If the first injection doesn’t work, a second can be given one to two weeks later. For larger or more stubborn chalazia, a small incision on the inside of the eyelid allows the doctor to drain the contents. It sounds worse than it is: the area is numbed, the procedure takes minutes, and there’s no visible scar since the cut is made on the inner lid surface.

Styes that don’t drain on their own or that worsen despite warm compresses may need antibiotic treatment, particularly if the infection is spreading to surrounding tissue.

Warning Signs That Need Prompt Attention

Most eyelid bumps are benign, but a few features should prompt a visit to an eye specialist sooner rather than later. Be alert if a bump keeps coming back in the exact same spot after treatment. Recurrent chalazia in one location can occasionally mimic a rare but serious cancer of the oil glands, and the diagnosis is easy to miss. Superficial biopsies sometimes aren’t deep enough to catch it, so a full-thickness tissue sample may be needed.

Basal cell carcinoma, the most common skin cancer, can also appear on the eyelid. It typically looks quite different from a stye or chalazion: a shiny, pearly or translucent bump (sometimes with tiny visible blood vessels), a flat scaly patch, or a waxy scar-like area without a clear border. On darker skin tones, it may appear brown or glossy black. Any bump that bleeds, scabs over, and then bleeds again, or any unexplained loss of eyelashes in the area around a bump, warrants evaluation.

Changes in vision, increasing pain that spreads beyond the eyelid, or swelling that extends to your cheek or around the eye socket are signs the problem may be more than a simple blocked gland.