A swollen eyelid can result from dozens of causes, ranging from a blocked oil gland that resolves on its own to a serious infection that needs same-day treatment. The most common culprits are styes, allergies, and blepharitis, but eyelid swelling can also signal something happening elsewhere in the body. Understanding where the swelling is, whether it hurts, and whether it affects one eye or both helps narrow the list quickly.
Styes and Chalazia
These are the most familiar causes of a single, localized bump on the eyelid. They look similar but behave differently.
A stye (hordeolum) is an infection, usually of a lash follicle or one of the small oil glands along the eyelid margin. It’s painful from the start, and the tenderness stays right at the lid’s edge. Most styes come to a head and rupture within 2 to 4 days, releasing pus and quickly relieving the pain.
A chalazion starts as a blocked oil gland deeper in the lid. It’s not an infection, so it’s rarely painful. Over the first few days it may be tender, but it soon becomes a small, firm, painless nodule in the center of the eyelid. Chalazia typically drain on their own or shrink over 2 to 8 weeks, though some persist longer and may need a minor in-office procedure.
For both, warm compresses are the standard home treatment. Stanford Health Care recommends applying a warm, wet cloth for 5 to 10 minutes, 3 to 6 times a day. This softens the blocked material and encourages drainage. Avoid squeezing either type of bump, which can spread bacteria into surrounding tissue.
Allergies and Allergic Reactions
Allergic eyelid swelling is one of the most common reasons both lids puff up at the same time, especially in the morning. Pollen, dust mites, pet dander, and mold trigger the reaction. Along with puffy lids, you’ll typically notice intense itching or burning, watery eyes, redness, and sometimes stringy discharge. The itching is the key clue: infections tend to hurt, while allergies tend to itch.
A more dramatic version is angioedema, a rapid allergic swelling of the deeper skin layers. It can make one or both eyelids balloon within minutes after exposure to a food, medication, or insect sting. If swelling is limited to the eyelid and you can still see and breathe normally, oral antihistamines usually bring it down. If swelling spreads to the lips, tongue, or throat, that’s anaphylaxis and requires emergency treatment.
Contact Dermatitis
The skin on your eyelids is thinner than almost anywhere else on your body, which makes it especially reactive to chemicals that wouldn’t bother thicker skin. Common triggers include mascara, eyeliner, eye shadow, sunscreen, moisturizers, fragrances, essential oils, hair dye, and even the nickel in tweezers or eyelash curlers. False eyelashes, contact lens solution, and latex in goggles or other products can also cause reactions.
Contact dermatitis usually shows up as red, scaly, itchy, swollen skin on and around the lids. It can appear hours or even a day after exposure, which makes it tricky to identify the trigger. If you suspect a product, stop using it for at least two weeks to see if the swelling clears. Reintroduce products one at a time to isolate the offender.
Blepharitis
Blepharitis is chronic inflammation along the eyelid margins. It tends to come and go rather than striking once and disappearing. The lids look red and swollen, and they may burn or feel sore. You might notice dandruff-like flakes at the base of your lashes or a crusty buildup when you wake up.
Several things drive it. Some people have a heavier-than-normal bacterial load at the lash line. Others have dysfunction in the oil glands that line the inner lid margin, leading to poor-quality tears and irritation. A third trigger is an overpopulation of tiny mites called Demodex that live inside eyelash follicles. Blepharitis is managed rather than cured: daily lid hygiene with warm compresses and gentle lid scrubs keeps flare-ups in check. Artificial tears help with the dryness that often accompanies it.
Preseptal and Orbital Cellulitis
These two infections sound similar but carry very different levels of risk. Knowing the difference matters because one of them is a medical emergency.
Preseptal cellulitis is an infection of the eyelid skin and soft tissue in front of the eye socket. The lid turns red, warm, and swollen, sometimes dramatically. But when the lid is gently opened, the eye itself looks normal: vision is clear, the eye moves freely in all directions, and it doesn’t bulge forward. A nearby skin wound, insect bite, or sinus infection is often the starting point. Preseptal cellulitis needs antibiotics but is generally straightforward to treat.
Orbital cellulitis is an infection behind the eyelid, inside the bony eye socket. It produces the same red, swollen lid, but with alarming additional signs: pain when moving the eye, limited eye movement, bulging of the eye forward (proptosis), and decreased vision. This infection can spread to the brain and is treated as an emergency. If you or your child has a swollen eyelid along with any vision changes, eye pain with movement, or a protruding eye, seek immediate care.
Lacrimal Gland Inflammation
The lacrimal gland sits in the upper outer corner of each eye socket and produces tears. When it becomes inflamed, a condition called dacryoadenitis, it causes swelling, redness, warmth, and tenderness in the outer part of the upper eyelid. In more severe cases, the swollen gland can push the eyeball slightly downward and inward.
Dacryoadenitis can be triggered by a viral or bacterial infection, or by inflammatory conditions like sarcoidosis. It’s much less common than a stye, but its location in the outer upper lid is a distinguishing clue.
Systemic Conditions
Sometimes a swollen eyelid has nothing to do with the eye itself. Because eyelid tissue is loose and thin, it’s one of the first places fluid accumulates when something is off elsewhere in the body. A few patterns to be aware of:
- Thyroid disease. An overactive thyroid, particularly Graves’ disease, can cause the eyes to bulge, the lids to retract, and eye movement to become restricted. An underactive thyroid causes a different look: painless, puffy eyelids and a generally swollen face, along with dry skin, coarse hair, and cold intolerance.
- Kidney disease. Chronic kidney problems can cause the body to retain fluid, which often shows up as bilateral, painless eyelid puffiness in the morning, along with swelling in the feet and ankles.
- Heart failure. Like kidney disease, heart failure leads to generalized fluid retention. Eyelid swelling in this case is bilateral and painless, usually accompanied by swelling in the lower legs and shortness of breath.
- Preeclampsia. In pregnant women, sudden facial and eyelid puffiness alongside high blood pressure and protein in the urine can signal preeclampsia, which requires urgent medical attention.
The hallmark of swelling caused by a systemic condition is that it affects both eyes, isn’t red or painful, and comes with other symptoms that point to the underlying problem.
How to Tell What’s Causing Yours
A few quick questions can help you sort through the possibilities. Is it one eye or both? One-sided swelling usually points to a local cause like a stye, chalazion, or insect bite. Both eyes swelling together suggests allergies, blepharitis, or a systemic issue. Does it itch or hurt? Itching favors an allergy or dermatitis; pain favors an infection. Is there a visible bump? A tender lump at the lid margin is likely a stye. A painless nodule deeper in the lid is likely a chalazion.
Most eyelid swelling from styes, allergies, or mild irritation resolves within a few days to a couple of weeks with basic care: warm compresses for bumps, antihistamines for allergies, and removing the offending product for contact dermatitis. The situations that demand prompt medical evaluation are swelling with vision changes, pain during eye movement, a bulging eye, fever, or swelling that spreads rapidly across the face.

