Eye swelling has dozens of possible causes, ranging from a bad night’s sleep to a serious infection. The most common culprits are allergies, minor eyelid bumps, and fluid retention, but infections, autoimmune conditions, and kidney problems can also be responsible. What matters most is recognizing which type of swelling you’re dealing with, because that determines whether you can treat it at home or need to see someone quickly.
Allergies: The Most Common Cause
Allergic reactions are behind the majority of eye swelling episodes. When an allergen like pollen, pet dander, or dust lands on the surface of your eye, your immune system overreacts. Specialized cells in your eye tissue release histamine and other inflammatory chemicals, which make nearby blood vessels leak fluid into the surrounding tissue. The result is puffy, itchy, watery eyes that often affect both sides at once.
This process happens in two waves. The first wave hits within minutes of exposure: mast cells in the eye’s surface membrane dump their stored histamine, causing immediate swelling, redness, and itching. A second wave follows hours later as your immune system recruits more inflammatory cells to the area, which can keep swelling going even after you’ve removed yourself from the allergen. Seasonal allergies (spring and fall) tend to cause recurring episodes, while year-round triggers like dust mites or mold can make the problem chronic.
Styes, Chalazia, and Blepharitis
Localized bumps on or near the eyelid are another frequent cause of swelling, and three conditions account for most of them.
A stye is a small, painful lump that forms at the base of an eyelash or just inside the eyelid. It’s essentially a tiny abscess caused by a bacterial infection in a hair follicle or oil gland. Styes tend to come to a head like a pimple and usually resolve on their own with warm compresses over several days.
A chalazion looks similar but develops farther back on the eyelid and isn’t caused by infection. Instead, one of the eyelid’s oil-producing glands gets clogged, and the trapped oil triggers inflammation. Chalazia are typically painless (or only mildly tender) and can linger for weeks or even months if left alone.
Blepharitis is inflammation along the edge of the eyelid at the base of the lashes, making the lid margins red and swollen. It’s often a chronic, recurring condition tied to bacteria on the skin or problems with the eyelid’s oil glands. Unlike a stye or chalazion, blepharitis affects a wider area of the lid rather than forming a distinct bump.
Viral and Bacterial Eye Infections
Infections of the eye’s surface (conjunctivitis, or “pink eye”) frequently cause swelling alongside redness and discharge. The type of discharge is one of the clearest ways to tell viral and bacterial infections apart.
Viral conjunctivitis produces a watery, clear-to-white discharge and often starts in one eye before spreading to the other. Swollen lymph nodes near the ear are common, showing up in roughly half of viral cases. A particularly aggressive form called epidemic keratoconjunctivitis causes more significant swelling and can temporarily blur vision.
Bacterial conjunctivitis comes on quickly and produces thick, yellow-green (purulent) discharge that may crust the eyelids shut overnight. Swollen lymph nodes are less common with typical bacterial infections, though a severe form caused by gonorrhea bacteria produces heavy pus discharge and can involve lymph node swelling.
Fluid Retention and Lifestyle Factors
Sometimes puffy eyes have nothing to do with infection or allergies. The tissue around your eyes is among the thinnest and loosest in your body, which makes it one of the first places to show fluid buildup.
A high-sodium diet is a classic trigger. Excess salt causes your body to hold onto water, and that extra fluid gravitates to loose tissues like the area under your eyes, especially overnight when you’re lying flat. Sleeping with your head slightly elevated can reduce this effect by keeping fluid from pooling around the eye sockets. Alcohol, poor sleep, and crying can all produce similar temporary puffiness. These causes are harmless and typically resolve within a few hours of being upright and hydrated.
Kidney and Heart Problems
When puffy eyes show up consistently, particularly in the morning and alongside swelling in the hands or feet, it can signal something deeper. Kidney disease is one of the more important systemic causes to be aware of.
Healthy kidneys keep protein in your blood while filtering out waste. When the kidneys’ filtering units are damaged (a condition called nephrotic syndrome), protein leaks into the urine instead. With less protein in the bloodstream, fluid seeps out of blood vessels into surrounding tissues. The loose skin around the eyes is especially vulnerable, which is why periorbital puffiness is often one of the earliest visible signs of kidney trouble. Swelling around the eyes, feet, and hands, combined with foamy urine, warrants prompt medical evaluation.
Heart failure can produce a similar pattern of fluid retention, though swelling in the legs and ankles tends to be more prominent than around the eyes.
Thyroid Eye Disease
About 30% of people with Graves’ disease, the most common cause of an overactive thyroid, develop eye-related symptoms. The immune system attacks tissue behind and around the eyes, causing the fat and muscles in the eye socket to swell. This pushes the eyeballs forward (a bulging appearance), makes the eyelids puffy, and can cause redness, discomfort, and a gritty sensation. Most people with thyroid eye disease have mild symptoms like eyelid swelling and eye irritation, but more severe cases can affect eye movement and vision.
Contact Lens Complications
Contact lens wearers face a unique set of risks. Bacterial keratitis, an infection of the cornea, can cause significant eye swelling, pain, redness, and light sensitivity. The CDC identifies several key risk factors: sleeping in your lenses, rinsing or storing them in tap water instead of sterile solution, reusing old solution by “topping off” rather than replacing it, and not cleaning lens cases regularly. If you wear contacts and develop sudden eye swelling with pain, remove the lenses immediately and get evaluated.
Periorbital vs. Orbital Cellulitis
These two infections are the reason eye swelling sometimes requires emergency care, and telling them apart matters a great deal.
Periorbital cellulitis is an infection of the eyelid and skin around the eye, but in front of a thin barrier of tissue called the orbital septum. It causes one-sided eyelid swelling, redness, and warmth, with mild discomfort when blinking. Vision and eye movement are typically normal or only slightly affected. It’s serious enough to need antibiotics, but it’s far less dangerous than its counterpart.
Orbital cellulitis is an infection behind that septum, in the eye socket itself. The red flags that distinguish it include pain when moving the eye, bulging of the eyeball, double vision or vision loss, and restricted eye movement. This is a medical emergency. It can spread to the brain, and diagnosis usually requires a CT or MRI scan to confirm how deep the infection goes.
When Eye Swelling Needs Urgent Attention
Most eye swelling is benign and temporary, but certain combinations of symptoms signal something that can’t wait. Seek care right away if swelling comes with new vision changes or increased light sensitivity. The same applies if you have severe eye pain combined with headache and nausea, if your eye appears to be bulging, or if you have pain when looking in different directions. Any eye swelling after a chemical splash or after debris hits the eye during drilling, cutting, or grinding also needs immediate evaluation.