Most eyelid bumps are caused by blocked oil glands or minor infections, and they typically resolve on their own within one to two weeks. The most common culprits are styes and chalazia, but several other conditions can produce a visible lump on or near the eyelid. Understanding what type of bump you’re dealing with helps you decide whether to treat it at home or get it checked.
Styes: The Most Common Cause
A stye is a small, red, painful bump caused by a bacterial infection in an oil gland or hair follicle along the eyelid margin. Most styes are external, forming right at the lash line where the eyelash follicle and its surrounding glands become blocked and infected. Within a day or two, you’ll notice the bump localizing to a specific spot on the eyelid edge, often developing a visible whitehead similar to a pimple.
Internal styes are less common. These form deeper in the eyelid when one of the larger oil-producing glands becomes infected. They tend to be more painful and may not be visible from the outside, though you’ll feel a tender lump when you press on the lid. Both types usually resolve within one to two weeks with basic home care.
Chalazia: When the Gland Stays Blocked
A chalazion looks similar to a stye at first, with redness, swelling, and some discomfort. The key difference is that a chalazion isn’t caused by infection. It forms when one of the oil glands in the center of the eyelid becomes blocked, and the trapped oil triggers inflammation rather than bacterial growth. Over a few days, a chalazion migrates away from the eyelid margin and settles into the body of the lid itself, becoming a firm, round, painless nodule.
Chalazia sometimes develop after a stye heals incompletely. The infection clears, but the gland remains clogged, leaving behind a persistent lump that can stick around for weeks or even months. They’re not dangerous, but larger chalazia can press on the eyeball and blur your vision, which is a good reason to have them evaluated.
Milia: Tiny White Bumps
Milia are small, firm, white or skin-colored bumps that appear when dead skin cells become trapped beneath the surface. They’re especially common on the eyelids and the skin just below the eyes. Unlike styes, milia aren’t red, swollen, or painful. They look like tiny pearls embedded under the skin, typically ranging from pinhead to pencil-eraser size.
The temptation to squeeze or pick at milia is strong, but doing so can cause bleeding, scabbing, scarring, and infection. They sometimes resolve on their own, but when they don’t, a dermatologist can remove them quickly using a tiny needle, a freezing technique with liquid nitrogen, or a small laser. These procedures heal fast and leave minimal marks.
Xanthelasma: Yellowish Patches Near the Eyes
Xanthelasma appears as flat or slightly raised yellowish patches, usually near the inner corners of the eyelids. These deposits are made of cholesterol, and about half of people who develop them have elevated cholesterol levels, often the inherited type or cholesterol linked to liver conditions. The other half have completely normal cholesterol.
Xanthelasma itself is harmless and painless, but its presence is worth mentioning to your doctor because it can be an early visible sign of a lipid disorder that increases cardiovascular risk. The patches don’t go away on their own and tend to grow slowly over time. Removal is cosmetic and usually involves freezing, laser treatment, or minor surgery.
Molluscum Contagiosum in Children
In children ages 1 to 10, a viral infection called molluscum contagiosum can cause small, raised bumps on or around the eyelids. These bumps are white, pink, or skin-colored, feel firm, and often have a characteristic small dimple in the center. They spread through direct skin contact or by touching contaminated surfaces like towels, clothing, toys, or pool equipment.
Kids can also spread the bumps to other areas of their own body by scratching or rubbing the affected spots. The infection is generally harmless and clears on its own over several months, though bumps near the eye sometimes cause irritation or a secondary pink eye that may need treatment.
How to Treat an Eyelid Bump at Home
For styes and chalazia, the standard home treatment is a warm, moist compress applied to the closed eyelid for 5 to 10 minutes, 3 to 6 times a day. The warmth helps soften the blocked oil and encourages the gland to drain naturally. Use a clean washcloth soaked in warm (not hot) water. Don’t heat a wet cloth in the microwave, as it can become hot enough to burn the delicate eyelid skin.
Avoid squeezing, popping, or pressing on the bump. This pushes bacteria deeper into the tissue and can worsen infection or cause scarring. Don’t wear eye makeup or contact lenses while you have an active stye, as both can introduce more bacteria and slow healing. If you’re doing the warm compresses consistently and the pain and swelling aren’t improving after 48 hours, it’s time to see an eye doctor. You should also seek care if symptoms get worse after the first two to three days rather than better.
When a Bump Could Be Something Serious
Eyelid cancer, most commonly basal cell carcinoma, can initially look like a harmless bump. In its early stages, it typically appears as a firm, pearly or waxy nodule with tiny visible blood vessels running across its surface. As it progresses, the center may ulcerate, crust over, or bleed.
Several features distinguish a potentially cancerous bump from a benign one. Loss of eyelashes in the area around the bump is a significant warning sign, as is whitening or loss of pigment in nearby lashes. Thickening of the eyelid margin, distortion of the lid’s normal shape, and rapid growth all warrant a biopsy. A bump that keeps recurring in the exact same spot after treatment, or one that bleeds and crusts repeatedly, should be evaluated promptly. These cancers are highly treatable when caught early, but they can damage surrounding structures if left alone.

