Swollen Eyelid: Causes, Treatment & When to See a Doctor

A swollen eyelid is almost always treatable at home, at least initially. The right first step depends on the cause: a warm compress for bumps and crusty buildup, a cold compress for allergies or injury, and a hands-off approach while you figure out which one you’re dealing with. Most cases resolve within a few days to a few weeks without medical treatment.

Figure Out What’s Causing It

Before you reach for a remedy, take a close look. The appearance and feel of the swelling points toward the likely cause, and different causes call for different treatment.

A stye is a red, painful lump right at the edge of your eyelid, usually centered on an infected eyelash root. It often has a small white or yellow pus spot at its center. A chalazion looks similar but sits farther back on the lid, away from the lash line. Chalazia are usually painless or only mildly tender, and they develop when an oil gland in the eyelid gets blocked rather than infected.

Blepharitis causes more generalized swelling across the lid along with itching, flaking skin around the eyes, greasy-looking eyelids, and crusty eyelashes that may stick together in the morning. It’s driven by bacterial overgrowth or inflammation along the lash line. Allergic reactions tend to affect both eyes at once and come with watery eyes and itching but without crusting or a visible bump. And if your lid is swollen after a hit or impact, you’re dealing with simple trauma.

Warm Compress: When and How

Warm compresses are the single most effective home treatment for styes, chalazia, and blepharitis. The heat loosens clogged oil, softens crusty debris, and increases blood flow to speed healing.

Soak a clean washcloth in hot (not scalding) water, wring it out, and hold it against your closed eyelid for 10 to 15 minutes. Research shows that reheating the cloth every two minutes keeps it effective; a cloth that cools down quickly won’t do much. Repeat this three to five times a day. For a chalazion, follow the compress by gently massaging around the bump with a clean finger to help the blocked gland drain.

With consistent warm compresses, a chalazion often clears within a week. Left alone without treatment, the same bump can take four to six weeks to resolve, and some persist for months. Most styes also clear within a week or two of regular compress use.

Cold Compress: When and How

Cold compresses work better for a different set of problems: allergic swelling, bug bites, black eyes, and the initial swelling after any eye-area injury. Cold constricts blood vessels and reduces fluid buildup in the tissue. Wrap ice or a cold pack in a thin cloth and hold it against the lid for 10 to 15 minutes at a time. Once the initial swelling from a black eye has gone down (usually after a couple of days), you can switch to warm compresses for lingering soreness.

If allergies are the culprit, over-the-counter antihistamine eye drops can help with both itching and swelling. These are available without a prescription and are typically used once or twice daily. An oral antihistamine can also reduce puffiness if the swelling is part of a broader allergic response.

Eyelid Cleaning for Blepharitis

If your swelling comes with flaking, crusting, or greasy lids, you likely need a daily eyelid-cleaning routine, not just a one-time fix. This is the standard approach for blepharitis, and you’ll need to keep it up for as long as symptoms recur.

Start by applying a warm washcloth over your closed eye for several minutes to loosen crusts. Then gently massage the lid with a clean finger or fresh washcloth. Immediately after, use a clean cotton swab or washcloth moistened with warm water and a few drops of diluted baby shampoo (or a store-bought eyelid cleanser) to scrub gently at the base of your lashes, where oily debris collects. Use a separate washcloth or swab for each eye to avoid spreading bacteria. Depending on severity, you may need to do this two to four times a day at first, then taper down as symptoms improve.

What Not to Do

Resist the urge to squeeze, pop, or pick at a stye or chalazion. Squeezing can push the infection deeper into the tissue and make things significantly worse. Don’t wear eye makeup while your eyelid is swollen, as cosmetics can introduce more bacteria and irritate already inflamed skin.

If you wear contact lenses, take them out as soon as you notice swelling, redness, or irritation. The CDC recommends not putting lenses back in until an eye doctor clears you. Contact lenses can trap bacteria against the eye, turning a mild problem into a serious infection.

When Swelling Needs Medical Attention

Most eyelid swelling is a surface-level problem, meaning the infection or inflammation stays in the skin and tissue in front of the eye socket. This is called preseptal (or periorbital) cellulitis when it involves infection, and it typically causes one-sided lid swelling, some redness, and mild discomfort when blinking. Vision stays normal or close to it.

The concern is when infection pushes deeper into the eye socket itself, a condition called orbital cellulitis. This is a medical emergency. The warning signs that distinguish it from ordinary swelling are:

  • Pain when moving your eye, not just when blinking
  • Blurred or decreased vision
  • A bulging eye that looks like it’s being pushed forward
  • Double vision
  • Inability to move the eye normally in one or more directions
  • Fever alongside the swelling

If you notice any combination of these, get to an emergency room. Orbital cellulitis can threaten your vision and, in rare cases, spread to the brain. A CT scan is typically used to confirm the diagnosis and guide treatment.

You should also see a doctor if a stye or chalazion hasn’t improved after a month of home care, if it’s large enough to press on your eye and blur your vision, or if styes keep coming back. Persistent or recurring bumps occasionally need to be drained in a quick office procedure under local anesthesia, and your doctor may want to biopsy tissue from bumps that return repeatedly.

Typical Healing Timelines

A stye usually resolves in one to two weeks with warm compresses. A chalazion that you treat consistently with compresses and gentle massage often clears within a week, though without any treatment it can linger for four to six weeks or longer. Blepharitis is more of a chronic, managed condition. It tends to flare and settle, and the daily cleaning routine is something many people need to maintain indefinitely to keep symptoms under control. Allergic swelling typically subsides within hours to a day once you remove the trigger or take an antihistamine.