What Causes Swollen Eyelids and When to Worry

Swollen eyelids are most commonly caused by allergies, but they can also result from infections, blocked glands, fluid retention, skin conditions, and occasionally serious infections that need urgent care. The eyelid skin is the thinnest in the body, which makes it especially prone to puffiness from even minor irritation or fluid shifts.

Allergic Reactions

Allergies are the single most common reason eyelids swell. When an allergen like pollen, pet dander, or dust contacts the eye, immune cells in the tissue release histamine, which causes rapid swelling, redness, and itching. This reaction peaks within 15 to 30 minutes of exposure but tends to linger and fade slowly. You’ll typically notice pale, puffy lids without much pain, and both eyes are often affected.

Contact dermatitis is actually the most common cause of eyelid skin inflammation specifically. This happens when something touches the eyelid and triggers a reaction: cosmetics, eye creams, nail polish (transferred by touching your face), hair dye, or even medicated eye drops. The swelling may show up hours after contact rather than immediately.

Angioedema is a deeper form of allergic swelling that can make the eyelids balloon dramatically. It’s triggered by foods (shellfish is a classic culprit), medications, or other allergens. It usually resolves on its own but can be alarming because of how pronounced the swelling becomes.

Styes and Chalazia

A stye (hordeolum) is a bacterial infection at the base of an eyelash or in one of the oil glands along the eyelid margin. It produces a painful, red, localized bump that usually comes to a head and ruptures within 2 to 4 days, draining pus and resolving on its own. Warm compresses several times a day help speed this along.

A chalazion looks similar at first but develops differently. It’s a blocked oil gland deeper in the eyelid, not an active infection. After the initial tenderness fades, it becomes a firm, painless nodule in the center of the lid. Most chalazia drain or get reabsorbed within 2 to 8 weeks, though some persist longer and may need minor in-office treatment.

The key difference: a stye stays painful and sits right at the eyelid edge, while a chalazion becomes painless and sits farther from the margin.

Blepharitis

Blepharitis is chronic inflammation along the eyelid margins that causes swelling, redness, burning, and crusty buildup around the lashes. It comes in two forms. Anterior blepharitis affects the lash line and is often linked to bacterial overgrowth or seborrheic dermatitis. Posterior blepharitis involves the oil glands on the inner eyelid and is related to dysfunction of those glands.

About 15% of people with atopic dermatitis (eczema) also experience eyelid involvement, which can look and feel similar. Rosacea is another skin condition that can affect the eyelids, causing swelling, redness, and visible blood vessels along the lid margins.

Blepharitis is a chronic condition that can be managed but not permanently cured. Daily lid hygiene, including warm compresses and gentle cleaning of the lash line, is the foundation of treatment. If the condition doesn’t improve or you notice lash loss, that warrants a closer look from an eye care provider.

Conjunctivitis (Pink Eye)

Both viral and bacterial conjunctivitis can cause eyelid swelling alongside the hallmark redness, discharge, and irritation of the eye surface. Bacterial infections tend to produce thicker, yellow-green discharge, while viral cases are more watery. Either type can affect one or both eyes, and the lids may stick together after sleep from dried discharge.

Contact lens wearers face an additional risk called giant papillary conjunctivitis, where the inside of the eyelid becomes inflamed from friction, lens deposits, or reactions to cleaning solutions. Symptoms include itchy, sore eyes, swollen or droopy lids, blurred vision from thick mucus, and a persistent feeling that something is in your eye. Switching lens types or taking a break from contacts usually helps.

Morning Puffiness

Waking up with puffy eyelids is extremely common and usually harmless. During sleep, several things work against your eyelids. Lying flat allows fluid to pool in the face and lids rather than draining downward with gravity. The closed-eye environment creates mild, low-grade inflammation on the eye surface. And the skin around the eyes loses some of its firmness overnight, making it easier for fluid to seep from blood vessels into the surrounding tissue.

High salt intake makes this worse by promoting fluid retention and reducing skin firmness. Alcohol, crying before bed, and sleeping face-down all amplify the effect. Once you’re upright, gravity gradually shifts fluid from your face to your lower body, and the puffiness typically resolves within an hour or two.

Viral Infections

Herpes simplex can occasionally affect the eyelid, producing clusters of small blisters on a red, swollen base. It’s painful and always affects just one eye. Herpes zoster (shingles) causes a similar appearance but follows the nerve path across the forehead and down to the eyelid on one side. Both require antiviral treatment to prevent complications affecting the eye itself.

Cellulitis Around the Eye

Two types of cellulitis can cause significant eyelid swelling, and telling them apart matters. Preseptal cellulitis is an infection of the eyelid tissue itself, usually spreading from a nearby skin wound, insect bite, or sinus infection. The lid becomes red, swollen, and warm, but your vision stays normal, the eye moves freely, and the eyeball itself isn’t pushed forward. This is treatable with antibiotics and, while it needs prompt attention, is not an emergency in the same way orbital cellulitis is.

Orbital cellulitis is the infection to worry about. It involves the tissue behind the eyelid, deeper in the eye socket. The warning signs are distinct: the eye bulges forward (proptosis), it hurts to move the eye, eye movement is restricted, and vision may be blurred or decreased. Fever is common. This most often develops from a sinus infection spreading backward. It requires immediate treatment to prevent vision loss and other serious complications.

When Eyelid Swelling Is a Red Flag

Most swollen eyelids are caused by allergies, minor infections, or fluid retention and resolve on their own or with simple care. But certain combinations of symptoms signal something more dangerous. Seek urgent care if you notice any of the following alongside a swollen eyelid:

  • Eye bulging or protrusion, especially if it comes on suddenly or affects only one eye
  • Pain when moving the eye or inability to move it fully in all directions
  • Vision changes including blurriness, double vision, or decreased sharpness
  • Fever combined with eyelid redness and swelling, particularly in children
  • Severe headache with eye swelling, which in rare cases can indicate a blood clot in the veins behind the eye

In young children, distinguishing preseptal from orbital cellulitis can be difficult because the exam is harder to perform. Imaging is often used when there’s any uncertainty, especially if nasal congestion or signs of a sinus infection are present.