A swollen eyelid is almost always treatable at home, at least initially. The most effective first step is applying a warm, moist compress for 5 to 10 minutes, repeated 3 to 6 times a day. That single habit resolves the majority of common causes, from styes to mild allergic reactions. But what you do next depends on why your eyelid swelled up in the first place.
Figure Out What’s Causing It
The swelling usually falls into one of a few categories, and you can often tell them apart without a mirror and a medical degree.
A stye is a bacterial infection at the base of an eyelash or in a small oil gland inside the lid. It shows up as a tender, red, localized bump along the lid margin. It typically affects one eye and hurts when you touch it. Styes are the most common reason for sudden eyelid swelling.
A chalazion looks similar but feels different. It’s a firm, painless nodule that forms when an oil gland gets blocked and inflamed without infection. Because it isn’t infected, a chalazion won’t be red or tender the way a stye is. It can linger for weeks if untreated.
If both eyelids feel gritty, itchy, and slightly puffy, especially near the lash line, you’re likely dealing with blepharitis. The hallmark is soft, oily, yellowish scaling or crusting around the lashes. It tends to be chronic and flares up rather than appearing out of nowhere.
Swelling that appears within minutes to a couple of hours after exposure to something new, like a food, a cosmetic product, pet dander, or an insect sting, points to an allergic reaction. Allergic eyelid swelling is usually puffy and soft rather than firm, often affects both eyes, and may come with itching or watering. In more dramatic cases, fluid leaks from small blood vessels and fills the loose tissue around the eye, producing significant puffiness that looks alarming but is generally not dangerous on its own.
Start With a Warm Compress
For styes, chalazia, and blepharitis, a warm compress is the cornerstone treatment. Soak a clean washcloth in warm (not hot) water, wring it out, and hold it gently against the closed eyelid for 5 to 10 minutes. Do this 3 to 6 times a day. The heat loosens clogged oil, encourages drainage, and brings blood flow to the area to speed healing.
One important caution: don’t microwave a wet cloth or use water that’s too hot. The skin on your eyelid is the thinnest on your body, and burns happen easily. The compress should feel comfortably warm, not steaming. If it cools down during your session, re-soak and reapply.
For allergic swelling, a cool compress often works better, since the goal is to reduce fluid leakage rather than encourage circulation. A chilled washcloth or gel pack wrapped in a thin towel for 10 to 15 minutes can bring noticeable relief.
Keep Your Eyelids Clean
Once the compress is done, gently clean the lid margin. This matters most for blepharitis and styes, where bacteria and debris build up along the lash line. Use a cotton swab or clean fingertip with a small amount of diluted baby shampoo or a pre-made lid scrub (sold at most pharmacies). Gently rub along the base of the lashes with medium pressure for about 30 seconds per eye, then rinse with clean water and pat dry.
If you’ve been told you have Demodex mites, tiny organisms that live in lash follicles and contribute to chronic blepharitis, tea tree oil lid scrubs can help. Over-the-counter tea tree oil lid wipes are available, and the typical recommendation is to use them twice daily. Don’t apply undiluted tea tree oil near your eyes; commercially prepared wipes or foams are formulated at safe concentrations.
Over-the-Counter Options for Relief
If swelling is allergy-related, an oral antihistamine like cetirizine or loratadine can reduce puffiness, itching, and tearing. These take about 30 to 60 minutes to kick in. Antihistamine eye drops work faster for localized symptoms but should be used according to the package directions and not combined with contact lenses unless the label says otherwise.
For pain from a stye or general lid inflammation, an oral anti-inflammatory like ibuprofen can help with both discomfort and swelling. Avoid applying any over-the-counter creams or ointments inside the eye unless they are specifically labeled as ophthalmic (safe for eye use). Standard skin products can irritate the eye surface badly.
What Not to Do
Don’t squeeze or pop a stye or chalazion. It might look like a pimple, but squeezing can push the infection deeper into the lid tissue or spread bacteria across the eye. Let warmth and time do the work.
Avoid wearing eye makeup while the lid is swollen. Mascara, eyeliner, and eyeshadow can introduce bacteria, block oil glands, and slow healing. If you were using a product when the swelling started, discard it, since the applicator may be contaminated.
If you wear contact lenses, take them out and switch to glasses until the swelling fully resolves. Contacts can trap bacteria against the eye, worsen irritation, and make it harder to apply compresses or drops. Your eye care provider can tell you when it’s safe to resume wearing them, and in some cases, you may need to switch to a different lens type.
How Long Recovery Takes
Most styes resolve on their own within one to two weeks with consistent warm compresses. You’ll usually notice the bump softening and draining within the first few days, with swelling gradually fading after that.
Chalazia take longer. Because they’re not infected but rather chronically inflamed, they can persist for several weeks to a couple of months. Warm compresses speed things up significantly, but if a chalazion hasn’t budged after a month of daily home care, a healthcare provider can inject it with a small amount of anti-inflammatory medication or drain it with a minor in-office procedure.
Allergic swelling often resolves within hours once you remove the trigger and take an antihistamine. If you can’t identify or avoid the trigger, the puffiness may come and go repeatedly.
Blepharitis is a chronic condition for many people. It can be managed well with daily lid hygiene, but it tends to recur. Think of it less as something to cure and more as something to maintain, like flossing for your eyelids.
When Swollen Means Dangerous
Most eyelid swelling is minor, but a few warning signs mean you need emergency care. Orbital cellulitis is a serious infection that spreads behind the eye into the socket. It can threaten your vision and, in rare cases, your life. Go to an emergency room if you notice any of the following alongside a swollen eyelid:
- Fever, nausea, or feeling generally unwell, especially in children
- Pain when moving the eye in any direction
- Double vision or decreased vision
- The eye itself pushing forward, looking like it’s bulging out of the socket
- Severe headache, particularly across the forehead
- Confusion or disorientation
Orbital cellulitis requires immediate hospital treatment. It progresses quickly, sometimes over the course of hours, so don’t take a wait-and-see approach if these symptoms are present. The distinction is straightforward: garden-variety eyelid swelling stays at the surface and doesn’t affect your vision or how you feel overall. The moment the eye itself is involved, with movement problems, vision changes, or systemic illness, the situation has escalated.

