A swollen eyelid is most often caused by a stye, a blocked oil gland (chalazion), an allergic reaction, or an infection like conjunctivitis. Less commonly, it signals something more serious like cellulitis or a systemic condition. The cause usually becomes clear based on whether the swelling is painful or painless, affects one eye or both, and whether it came on suddenly or gradually.
Styes and Chalazia
These two are the most common culprits, and they start out looking identical. Both cause redness, swelling, and pain in the first day or two. After that, they diverge. A stye is an infection, typically at the base of an eyelash. Within one to two days, it localizes to the eyelid margin and often develops a small yellowish pustule surrounded by redness and swelling. It stays painful.
A chalazion, by contrast, is a blocked oil gland without infection. It also starts with pain and swelling, but after a day or two it migrates away from the eyelid margin into the body of the lid. The pain fades, leaving behind a firm, nontender lump. Chalazia can linger for weeks if the blocked gland doesn’t drain on its own.
Allergic Reactions and Contact Dermatitis
If both eyelids swell at once, especially with itching, an allergic reaction is the likely cause. Seasonal allergies from pollen, dust, or pet dander can trigger puffy, watery eyes. This type of swelling tends to come and go with exposure.
Contact dermatitis is a more localized allergic response, and eyelid skin is especially vulnerable because it’s the thinnest skin on the body. The most common triggers are metals (particularly nickel from eyelash curlers, makeup applicators, or touching your face after handling jewelry), fragrances in cosmetics and skincare, and preservatives like formaldehyde found in makeup, makeup removers, shampoos, and even eye drops. Acrylates from gel nails and eyelash extension adhesives are an increasingly recognized cause. Even topical medications you’d expect to help, like antibiotic ointments containing neomycin or bacitracin, can cause eyelid allergic reactions.
Angioedema is a more dramatic form of allergic swelling that affects deeper tissue layers. It comes on rapidly and can make the eyelid swell significantly. This can be triggered by food allergies, medications, or sometimes has no identifiable cause.
Blepharitis
Blepharitis is chronic inflammation along the eyelid margins. You’ll notice crusting at the base of your lashes, itching, burning, and redness. It can affect one or both eyes and often accompanies seborrheic dermatitis (the same condition that causes dandruff). Blepharitis doesn’t cause a single dramatic episode of swelling like a stye does. Instead, it produces persistent low-grade puffiness and irritation that flares and fades over time.
Conjunctivitis
Pink eye causes eyelid swelling along with redness of the white of the eye, discharge, and sometimes swollen lymph nodes just in front of the ear. Viral conjunctivitis tends to start in one eye and spread to the other within days, producing watery discharge. Bacterial conjunctivitis typically causes thicker, yellow-green discharge. Both can make the eyelids puffy enough that they’re hard to open in the morning.
Cellulitis Around the Eye
Cellulitis is a bacterial skin infection that causes rapidly spreading redness, swelling, and warmth. Around the eye, there are two distinct types with very different levels of severity.
Preseptal cellulitis affects only the eyelid and surrounding skin in front of a thin membrane called the orbital septum. The eyelid becomes red and swollen, sometimes dramatically, but once you manage to open the lid, the eye itself looks normal. Vision is unaffected, and the eye moves freely. This type often develops from a nearby skin wound, insect bite, or sinus infection.
Orbital cellulitis is the dangerous version. The infection sits behind that membrane, in the tissue surrounding the eyeball. Along with eyelid swelling, you’ll notice the eye itself bulging forward, pain when moving the eye, reduced vision, and redness of the white of the eye. This is a medical emergency. It typically spreads from a sinus infection through the thin bone separating the sinuses from the eye socket. Without treatment, complications include vision loss, restricted eye movement, and in severe cases, the infection can spread to the brain, causing meningitis or abscess.
Shingles Near the Eye
If the varicella-zoster virus (the same virus that causes chickenpox) reactivates in the nerve branch that supplies the eye and forehead, it causes a condition called herpes zoster ophthalmicus. Before the rash appears, you may feel pain or tingling on one side of your face. Then clusters of small blisters develop, following a path across the forehead, nose, and around one eye. The eyelid swells, and you may experience severe eye pain, light sensitivity, fever, and fatigue.
This is more than a cosmetic problem. Shingles can inflame every layer of the eye, from the surface to the retina. Without prompt treatment, it can cause scarring, long-term nerve pain, and permanent vision loss.
Thyroid Eye Disease
Thyroid-associated orbitopathy, most commonly linked to an overactive thyroid (Graves’ disease), causes the immune system to attack tissue around the eyes. The result is eyelid swelling, eyelid retraction (where the upper lid pulls back, making the eyes look wide open), bulging eyes, and difficulty moving the eyes normally. The condition typically starts with an active inflammatory phase and later transitions into a quieter stage where the swollen tissue is replaced by scar tissue. This can have significant effects on appearance, comfort, and vision.
Other Causes Worth Knowing
Insect bites on or near the eyelid can cause significant swelling that looks alarming but is usually harmless. The loose tissue around the eye puffs up easily. Trauma to the eye area, even minor bumps, can produce impressive bruising and swelling for the same reason. Vascular malformations in the orbit sometimes present as diffuse lid swelling with a bluish tint. Rarely, tumors in or around the eye socket cause progressive swelling that doesn’t resolve.
Blepharochalasis is an uncommon condition causing repeated episodes of painless eyelid swelling, usually affecting both upper lids. Over time, the skin becomes thin and papery. It’s distinct from the normal skin laxity that comes with aging.
How to Treat Mild Eyelid Swelling at Home
For styes and chalazia, warm compresses are the first-line treatment. Research shows it takes two to three minutes of sustained heat to liquefy the hardened oil inside a blocked gland, so most ophthalmologists recommend five-minute sessions, two to four times per day. The step most people skip is equally important: after removing the compress, use your fingertips to gently massage the swelling in a kneading, circular motion. This helps break down and mobilize the blocked oil so it can drain through the gland’s natural opening. Without massage, the oil simply re-solidifies once it cools. Don’t overdo it, though. Continuous heat dilates blood vessels and can actually increase swelling, and excessive rubbing can break down the delicate skin.
For blepharitis, daily eyelid hygiene makes a real difference. Start by applying a warm compress for five to ten minutes to loosen crusts and soften blocked oil. Then clean the lid margins with a cotton swab dipped in diluted baby shampoo (one teaspoon in a cup of previously boiled water) or a quarter teaspoon of baking soda in half a cup of cooled boiled water. Wipe gently along the lash line. Commercial lid-cleaning wipes work too. Do this twice daily during flare-ups, then once daily as things improve. This routine removes bacteria and debris from the lid margins and helps express the oil glands.
For allergic swelling, a cool compress and avoiding the trigger are your best tools. If you suspect a cosmetic product, stop using it and reintroduce products one at a time to identify the culprit.
When Eyelid Swelling Is an Emergency
Most causes of a swollen eyelid are annoying but not dangerous. A few situations require urgent care: sudden vision loss, severe eye pain, pain when moving your eye, the eye bulging forward, new flashes or floaters in your vision, or rapidly spreading redness with fever. These patterns suggest orbital cellulitis, shingles involving the eye, or other conditions where delays in treatment risk permanent damage to your vision.

