A swollen eye is usually caused by one of three things: an allergic reaction, a blocked oil gland, or an infection. Most cases are mild and resolve on their own within a few days to a couple of weeks, but certain combinations of symptoms point to something more serious that needs prompt attention.
Figuring out which category your swelling falls into comes down to a few key details: whether it hurts, whether one or both eyes are affected, and whether you have other symptoms like fever, vision changes, or discharge.
Allergic Reactions: The Most Common Cause
Allergies are the single most frequent reason for eyelid swelling. The hallmark is itching without pain. Your eyelid looks pale and puffy rather than red and angry, and the swelling often affects both eyes. Seasonal allergens like pollen, pet dander, and dust mites cause this type of reaction, and you’ll usually notice other allergy symptoms like a runny nose or sneezing alongside it.
Contact dermatitis is a related but slightly different problem. This happens when something touches the skin around your eye directly, like a new mascara, eyeliner, face wash, or sunscreen. Irritant reactions cause burning and redness limited to the exact spot the product touched. True allergic reactions to a product can spread wider, producing redness, flaking skin, and sometimes a raised welt that appears within minutes of contact. If you recently switched any product that goes near your eyes, that’s your likely culprit.
For straightforward allergic swelling, over-the-counter antihistamine eye drops work well. The most widely available option contains an ingredient called ketotifen, used as one drop in the affected eye twice daily, spaced 8 to 12 hours apart. A cool compress also helps reduce puffiness. For contact dermatitis, the fix is identifying and eliminating the product causing the reaction.
Styes and Chalazions
If the swelling is focused in one spot on one eyelid and feels tender, you’re probably dealing with a stye or a chalazion. Both start as small, painful lumps, but they behave differently as they develop.
A stye (also called a hordeolum) forms right at the eyelid margin, near your lashes. It looks and feels like a pimple. Within one to two days, it localizes to that edge, and within two to four days, it typically ruptures on its own, releasing pus and relieving the pain. Styes are caused by bacterial infection of an oil gland or hair follicle.
A chalazion starts similarly but settles deeper, toward the center of the eyelid body rather than the margin. Over time it becomes a firm, painless nodule. Most chalazions drain or get reabsorbed on their own within 2 to 8 weeks, though some occasionally persist longer.
Warm compresses are the first-line treatment for both. The American Academy of Ophthalmology recommends applying gentle heat for about 5 minutes at a time, two to four times per day. Research shows it takes about 2 to 3 minutes of sustained warmth to liquefy the clogged oil inside the gland, which is what allows it to drain. A clean washcloth soaked in warm water works fine. Avoid squeezing or popping the lump, which can spread infection.
Pink Eye and Other Infections
Conjunctivitis (pink eye) causes eyelid swelling along with redness of the white of the eye, discharge, and sometimes a gritty or burning feeling. It can affect one or both eyes. Viral conjunctivitis is the most common type and clears up in 7 to 14 days without treatment, though some cases take 2 to 3 weeks. Bacterial conjunctivitis tends to produce thicker, yellow-green discharge and may benefit from antibiotic drops.
Blepharitis is an inflammation along the eyelid margins that causes crusting around the lashes, itching, and burning. You can often see the crustiness without magnification. It tends to be chronic and is frequently associated with skin conditions like seborrheic dermatitis (the same thing that causes dandruff). Keeping your eyelids clean with gentle lid scrubs is the main way to manage it.
Less commonly, herpes simplex or herpes zoster (shingles) can cause eyelid swelling. These infections produce clusters of small blisters on reddened skin, with significant pain, and always affect just one side. Shingles around the eye follows a specific nerve path across the forehead and upper eyelid. Both require antiviral treatment.
Waking Up With Puffy Eyes
If your eyes are swollen every morning but improve as the day goes on, the cause is almost certainly fluid pooling overnight. When you lie flat for hours, gravity no longer pulls fluid downward through your body, and it collects in the loose tissue of your eyelids instead. Sleeping face-down makes this worse because it directs drainage straight into the lower lids.
High salt intake the evening before compounds the problem by disrupting your body’s fluid balance. Alcohol has a similar effect. As you age, the skin around your eyes loses its ability to snap back into place quickly, which means even small amounts of fluid accumulation become more visible. Sleeping with your head slightly elevated, cutting back on salt in the evening, and applying a cool compress for a few minutes in the morning all help.
Thyroid Eye Disease
Persistent or worsening eye swelling, especially when your eyes seem to be bulging forward, can signal a thyroid-related condition called Graves’ eye disease. The immune system attacks the muscles and tissues behind the eye sockets, causing swelling that pushes the eyes outward. Other signs include eyelids that pull back more than usual (showing white above or below the iris), difficulty closing your eyes completely, and double vision. This condition requires medical treatment and sometimes surgery to reposition the eyelids.
When Eye Swelling Is an Emergency
Most swollen eyes are uncomfortable but not dangerous. A few patterns, however, need same-day or emergency evaluation.
Preseptal cellulitis is an infection of the eyelid and surrounding skin. It causes significant redness, swelling, and sometimes fever, but your vision stays normal and you can move your eye without pain. It’s usually caused by a nearby skin infection or insect bite and needs oral antibiotics.
Orbital cellulitis is a deeper, more dangerous infection behind the eye. The key differences from preseptal cellulitis are that it causes pain when you try to move your eye, your eye may bulge forward, your vision may decrease, and fever is usually present. This infection most often develops from a sinus infection. It requires emergency treatment because it can threaten your vision and, in rare cases, spread to the brain.
Seek urgent care if your swollen eye comes with any of these:
- Pain when moving your eye in any direction
- Vision changes, including blurriness or double vision
- Eye bulging forward noticeably from the socket
- Fever alongside severe eyelid swelling
- Swelling so severe that one or both eyes are swollen shut
A simple rule: if the swelling is painless, affects just the eyelid, and your vision is completely normal, you can safely try home care for a day or two. If pain is deep (not surface-level tenderness), your eye is protruding, or your vision is off, don’t wait.

