A slightly swollen eyelid is almost always caused by one of a handful of common, treatable conditions: a clogged oil gland, a minor bacterial infection, or an allergic reaction. The swelling typically develops because the eyelid contains dozens of tiny oil-producing glands and hair follicles that can become blocked or irritated, and the skin there is thinner than almost anywhere else on your body, so even mild inflammation shows up fast.
Styes: The Most Common Culprit
A stye is a small, painful lump that forms at the base of an eyelash or just inside the eyelid. It’s essentially a pimple caused by a bacterial infection in a hair follicle or oil gland. Styes that form on the outer edge of the lid (external styes) start in the lash follicle itself, while internal styes develop deeper inside an oil-producing gland. Both types make the eyelid noticeably swollen and tender to the touch.
The key feature of a stye is pain. If your swollen eyelid hurts, especially when you blink or press on it, a stye is the likely explanation. You may also see a small white or yellow spot at the center of the bump, similar to a whitehead.
Chalazions: Painless but Persistent
A chalazion looks similar to a stye but behaves differently. It forms when one of the oil glands in your eyelid gets clogged and the trapped oil triggers inflammation. Unlike a stye, a chalazion usually isn’t painful, though it can become tender as it grows larger. It tends to sit farther from the lash line, more toward the middle of the lid.
Chalazions are slower to develop and slower to go away. Without treatment, they can resolve on their own, but that process often takes weeks to months. They also tend to recur if the underlying gland dysfunction isn’t addressed.
Allergic Reactions
If your swollen eyelid itches rather than hurts, an allergic reaction is the more likely cause. Pollen, pet dander, dust, insect bites, new eye makeup, or contact lens solution can all trigger eyelid swelling. The distinction is straightforward: allergic swelling itches, while infectious swelling is painful and tender. Allergic reactions also tend to affect both eyes, though not always.
This type of swelling usually improves once you remove the trigger. If you recently switched to a new mascara, eyeliner, or face wash, that’s a good place to start.
Blepharitis and Ongoing Gland Problems
If your eyelid swells repeatedly or you notice crusting along your lash line when you wake up, you may have blepharitis. This is chronic inflammation of the eyelid margin caused by an overgrowth of normally harmless bacteria or by clogged oil glands. It’s associated with dandruff, rosacea, dry eyes, and even an excess of the tiny mites that naturally live on eyelashes.
A related condition called meibomian gland dysfunction occurs when the oil glands along the lid edge stop secreting oil properly. Symptoms include swollen eyelids, itching, burning, watery eyes, blurred vision, and sticky or crusty residue on the lids. This gland dysfunction is a common driver of recurring styes and chalazions, so if you keep getting bumps on the same eyelid, the oil glands themselves may need ongoing care.
What You Can Do at Home
The single most effective home treatment for a swollen eyelid is a warm compress. Soak a clean washcloth in warm water, wring it out, and hold it against your closed eyelid for 5 to 10 minutes, 3 to 6 times a day. The heat softens clogged oil and encourages the gland to drain. You can also use a microwavable eye mask with internal beads, which holds heat longer than a washcloth. Reheat as needed during each session.
Keeping the lid clean matters too. You can use pre-moistened lid scrub pads (sold at most pharmacies) or make your own cleanser by mixing warm water with a small amount of baby shampoo. Dip a clean cloth or cotton swab into the mixture and gently wipe along the lash line to clear away debris and crust. Use a fresh swab for each eyelid, and always wash your hands before and after touching your eyes.
Resist the urge to rub. Rubbing may temporarily relieve itching, but it increases irritation and can push bacteria deeper into the gland.
How Long the Swelling Lasts
Most styes improve within a week or so with consistent warm compresses. They often drain on their own once the blockage loosens. Chalazions take longer. Some shrink within a few weeks of regular compress use, while others linger for months. If a chalazion doesn’t respond to home care, a doctor can inject a small amount of anti-inflammatory medication into the bump, which resolves most cases. A repeat injection can be given one to two weeks later if needed.
Allergic swelling typically goes down within hours to a day once the allergen is removed, especially if you rinse your eyes and apply a cool compress.
Signs That Need Prompt Attention
Most mild eyelid swelling is harmless, but certain symptoms point to something more serious. Swelling that spreads across the entire area around the eye, a high fever, a bulging eyeball, pain when moving the eye, or difficulty moving the eye in any direction can indicate orbital cellulitis, a deep infection that requires immediate treatment. This is particularly urgent in children. If the swelling is progressing rapidly, involves the whole eye socket, or comes with fever or vision changes, that warrants an emergency visit rather than a wait-and-see approach.

