A swollen eyelid is most often caused by one of a handful of common conditions: an allergic reaction, a stye, a chalazion (a blocked oil gland), or blepharitis (inflammation along the lash line). The cause usually becomes clear based on whether the swelling is painful or itchy, affects one eye or both, and where exactly on the lid it shows up.
Allergic Reactions: Itchy and Often Both Eyes
If both eyelids are puffy and itchy but not particularly painful, an allergy is the most likely explanation. Airborne pollen from trees, grass, or weeds commonly triggers swelling in both eyes at once. Pet dander, dust mites, and contact with cosmetics or skincare products can do the same. The hallmark of allergic eyelid swelling is itch without significant pain, a pale or puffy lid, and no thick discharge.
Insect bites near the eye tend to cause swelling on one side only, but the itch is still the dominant sensation. If you notice yellow or greenish pus rather than clear, watery tearing, that points toward a bacterial infection rather than an allergy.
Styes: Painful Bumps at the Lash Line
A stye (hordeolum) is an infected eyelash follicle or small gland right at the edge of the lid. It starts as a tender, red area, then within a day or two forms a small yellowish pustule at the base of a lash, surrounded by redness and swelling. Styes hurt, and the pain stays focused at the lid margin.
Less commonly, a stye can develop on the inner surface of the lid when one of the larger oil-producing glands becomes infected. These internal styes cause pain and redness but the bump faces the inside of the eyelid rather than the outer surface, so you may feel it more than see it.
Chalazia: Painless Lumps Deeper in the Lid
A chalazion starts when one of the oil glands in the middle of the eyelid gets clogged but not infected. For the first day or two, it can look and feel identical to a stye. The key difference shows up after that: a chalazion moves away from the lash line and settles into the body of the lid as a firm, round, mostly painless nodule.
With consistent warm compresses, a chalazion often resolves within about a week. Left alone, it typically takes four to six weeks to clear, and some can linger for months. If a chalazion doesn’t go away on its own, a doctor can drain it with a simple in-office procedure.
Blepharitis: Chronic Irritation Along the Lashes
Blepharitis is ongoing inflammation of the eyelid margins. You’ll notice crusting or flaking at the base of your lashes, along with burning, redness, and a gritty feeling. It can affect one or both eyes. Clogged oil pores along the lash line are a common cause, and people with seborrheic dermatitis (dandruff-like flaking on the scalp or face) are more prone to it.
Blepharitis tends to be a recurring condition rather than a one-time event. It doesn’t usually cause dramatic swelling the way a stye does, but it keeps the lids irritated and slightly puffy. When it flares badly, it can also set the stage for styes and chalazia by keeping those oil glands chronically congested.
How to Treat a Swollen Eyelid at Home
Warm compresses are the first-line treatment for styes, chalazia, and blepharitis. The goal is to soften clogged oil in the glands so it can drain. The ideal temperature is around 40 to 45°C (roughly as warm as a comfortable bath), applied for about five minutes at a time, two to four times a day. A clean washcloth soaked in warm water works well. Research shows it takes at least two to three minutes of sustained heat to liquify the oil trapped in a blocked gland, so shorter applications are less effective.
One important caution: don’t leave the compress on continuously. Prolonged warmth dilates blood vessels in the area and can actually increase swelling rather than reduce it.
For allergic swelling, a cool compress is more soothing. Over-the-counter antihistamine eye drops or oral antihistamines can reduce the itch and puffiness. Avoiding the trigger, whether that’s a new eye cream, mascara, or seasonal pollen, is the most effective long-term fix.
Preventing Recurrence
A daily eyelid hygiene routine makes a real difference if you’re prone to styes, chalazia, or blepharitis. The recommended approach has three steps: warming the lids for at least four minutes, gently massaging the lid margins to express oil from the glands, then cleaning the lash line. You can clean with a washcloth and warm water, a cotton pad, or a cotton-tipped applicator with diluted baby shampoo. This removes oil and protein buildup along the lashes and clears away bacteria and other microbes that contribute to inflammation.
Replace eye makeup every few months, and never share mascara or eyeliner. If you wear contact lenses, clean them on schedule and wash your hands before touching your eyes. These habits won’t eliminate every flare, but they significantly reduce how often the glands get clogged in the first place.
When Swelling Signals Something Serious
Most swollen eyelids are uncomfortable but harmless. A few warning signs, however, point to something that needs urgent medical attention. Orbital cellulitis is a deep infection of the tissues around the eye that can threaten your vision. Watch for these symptoms alongside eyelid swelling:
- Bulging of the eye forward out of the socket
- Pain or difficulty moving the eye in any direction
- Vision changes, including blurriness or double vision
- Fever, especially in children
- Rapidly worsening redness that spreads beyond the eyelid to the surrounding skin
In children, a high fever combined with a bulging or severely swollen eye warrants an emergency room visit. Orbital cellulitis progresses quickly and requires treatment that can’t wait for a routine appointment.

