Swollen eyelids usually mean your body is reacting to an irritant, allergen, or infection in or around the eye. The most common cause is contact dermatitis, a skin reaction triggered by something that touched your eyelid. Less often, swollen eyelids signal a deeper infection, a blocked oil gland, or even a systemic health problem like kidney disease. Whether the swelling is in one eye or both, painful or painless, and how quickly it appeared all help narrow down what’s going on.
Allergies and Irritants
Contact dermatitis is the single most common cause of eyelid inflammation. The skin on your eyelids is thinner than almost anywhere else on your body, which makes it especially reactive to cosmetics, skincare products, fragrances, and even nail polish transferred by touching your face. The swelling is typically on both sides, with redness and itching. It often resolves within a few days once you stop using the offending product.
Seasonal allergies from pollen, grass, and weeds cause a similar picture. When an allergen lands on your eye’s surface, immune cells in the tissue release histamine and other inflammatory chemicals, making the eyelids and the clear membrane over the eye swell and turn red. Year-round triggers like dust mites, mold, and pet dander can keep this cycle going for months. People who wear contact lenses and don’t replace them often enough, or who have poor lens hygiene, are also prone to a related allergic reaction that causes persistent lid puffiness.
Atopic dermatitis (eczema) involves the eyelids in roughly 15 percent of cases. It tends to flare and recede over time, causing dry, scaly, swollen lids that can be intensely itchy.
Styes, Chalazia, and Blocked Glands
A stye is a bacterial infection of an eyelash follicle or one of the small glands at the lid margin. It looks like a red, tender bump right at the edge of your eyelid, and it’s usually very painful. Most styes come to a head and drain on their own within a week or so.
A chalazion looks similar but behaves differently. It forms when one of the oil-producing glands deeper in the eyelid gets plugged, causing a firm, round bump. Unlike a stye, a chalazion is typically not painful. It can linger for weeks or even months, and if it grows large enough it may press on the eye and blur your vision. Warm compresses several times a day help soften the blockage and encourage drainage. If that doesn’t work, a doctor can drain it with a minor in-office procedure.
Meibomian gland dysfunction is a related, more widespread problem. These glands line both your upper and lower lids and produce the oily outer layer of your tear film. When they become chronically blocked, the oil can’t flow properly, leading to swollen lids, dry eyes, and a gritty or burning sensation. It’s one of the most common reasons for ongoing, low-grade eyelid puffiness that people struggle to explain.
Blepharitis
Blepharitis is chronic inflammation along the base of the eyelashes. It causes red, swollen, crusty lid margins, often worse in the morning. The condition tends to wax and wane over years, and there is no permanent cure. Successful management depends on a consistent daily routine: warm compresses to loosen crusts, gentle lid scrubs, and sometimes antibiotic ointment or drops. If blepharitis doesn’t respond to treatment, or if you notice your eyelashes falling out, your doctor may want to rule out less common conditions including certain cancers that can mimic stubborn blepharitis.
Infections That Need Attention
Preseptal cellulitis is a bacterial infection of the eyelid tissue in front of the eye socket. It causes noticeable redness and swelling of the lid, sometimes after an insect bite, a scratch, or spread from a sinus infection. It’s more common in children. While it needs antibiotic treatment, it generally stays superficial and responds well.
Orbital cellulitis is the more dangerous version. The infection pushes past a thin wall of connective tissue called the orbital septum and reaches the deeper structures around the eye. The warning signs that set it apart from simpler lid swelling are specific: the eye itself may bulge forward, it hurts to move the eye in any direction, eye movements become limited, and vision gets worse. This is a medical emergency that can threaten your sight and, rarely, spread to the brain.
Viral infections can also cause eyelid swelling. Herpes simplex occasionally affects the eyelid, producing small clustered blisters on one side with surrounding redness and swelling. Shingles (herpes zoster) can do the same when it activates along the nerve branch that supplies the forehead and upper eyelid, again only on one side.
Eyelid Swelling in Children
Kids get swollen eyelids for some of the same reasons adults do, but a few causes are especially common in childhood. Simple eye rubbing is a frequent culprit. Young children touch their eyes with dirty hands and sometimes get food or other irritants in them, triggering puffiness that looks alarming but resolves quickly.
Mosquito bites near the eye can cause dramatic swelling because the loose tissue around a child’s eye puffs up easily in response to insect saliva. It often looks much worse than it is.
The cause worth watching for in children is an ethmoid sinus infection. The ethmoid sinuses sit right behind the eye, and infection there can spread forward, causing redness and swelling of the eyelid. This type of swelling needs prompt medical evaluation because it can progress to periorbital or orbital cellulitis.
When Swollen Eyelids Point to Something Systemic
Sometimes puffy eyelids have nothing to do with the eyes themselves. Kidney disease, particularly nephrotic syndrome, allows too much protein to leak from the blood into the urine. The resulting drop in blood protein levels causes fluid to accumulate in loose tissues, and the eyelids are often the first place it shows. If you notice puffy eyelids along with swelling in your ankles, feet, or lower legs, kidney function may be worth checking.
Congestive heart failure and severe thyroid underactivity (myxedema) can also cause bilateral eyelid puffiness through similar fluid-retention mechanisms. In these cases, the swelling is usually painless, present on both sides, and worse in the morning.
Warm Compress vs. Cold Compress
The right type of compress depends on the cause. Cold compresses work best for allergic reactions, insect bites, and the immediate swelling from an injury or black eye. They constrict blood vessels and slow down the inflammatory response. Warm compresses are better for styes, chalazia, and blepharitis because the heat loosens hardened oil in the glands and encourages drainage. For injuries, you can start with cold compresses for the first couple of days, then switch to warm compresses to help with lingering pain and stiffness.
Rare but Serious: Eyelid Tumors
Persistent, unexplained swelling in one eyelid that doesn’t respond to treatment can occasionally turn out to be a tumor. Basal cell carcinoma accounts for about 90 percent of malignant eyelid tumors, with squamous cell carcinoma making up around 5 percent. Sebaceous carcinoma, which arises from the oil glands in the eyelid, represents 1 to 5 percent and is particularly tricky because it can look like chronic blepharitis or a chalazion that keeps coming back. A bump or thickened area on one eyelid that won’t heal, especially with eyelash loss, warrants evaluation.

