A stye and a chalazion are both bumps on the eyelid caused by blocked oil glands, but they differ in one key way: a stye involves a bacterial infection, while a chalazion does not. This distinction affects how they look, how they feel, how long they last, and how they’re treated. Because the two can resemble each other early on, knowing the differences helps you figure out what you’re dealing with and what to do about it.
What Causes Each One
Your eyelids contain dozens of tiny oil glands called meibomian glands. These glands produce the oily layer of your tear film, which keeps your eyes from drying out. Both styes and chalazia start when one of these glands gets clogged, but what happens next is different.
A stye (also called a hordeolum) forms when bacteria, usually staphylococcus, infect the blocked gland. This is why styes behave like a small skin abscess: they’re red, hot, swollen, and painful. A stye typically appears right at the eyelid’s edge, often at the base of an eyelash, because the infection starts in the hair follicle or a nearby gland opening.
A chalazion forms when the blocked gland simply stays clogged. Oil builds up behind the blockage, the surrounding tissue gets irritated, and a firm lump develops. Because there’s no active infection, the process is slower and less dramatic. Chalazia tend to sit farther back on the eyelid, away from the lash line, since that’s where the deeper portion of the meibomian gland sits. A stye that doesn’t fully resolve can sometimes turn into a chalazion once the infection clears but the blockage remains.
How They Look and Feel
The easiest way to tell the two apart is pain. A stye is very painful from the start. The eyelid becomes red and tender to the touch, and the area around the bump often swells. In some cases, the entire eyelid puffs up. You might also notice a yellowish point at the center of the bump where pus is collecting, similar to a pimple.
A chalazion, by contrast, starts with little or no pain. You’ll notice a firm, round bump on the eyelid that grows slowly over days or weeks. It may cause mild redness and swelling as it enlarges, and it can become tender if it gets large enough to press on surrounding tissue. But the intense, throbbing soreness of a stye is absent. If a chalazion grows large enough, it can press on the surface of the eye and temporarily blur your vision.
Location is another clue. Styes sit at or very near the eyelid margin, right along the lash line. Chalazia usually develop farther back on the lid, sometimes visible only when you flip the eyelid or feel the bump through the skin.
How Long They Last
Styes tend to resolve faster because the body fights off the bacterial infection relatively quickly. Most styes come to a head and drain on their own within about a week, though some linger for up to two weeks. Once the pus drains, the pain drops sharply and healing follows within a few days.
Chalazia are slower. Because the lump is a pocket of trapped oil and chronic inflammation rather than an active infection, it has no natural pressure to burst and drain. A small chalazion may quietly shrink over two to eight weeks with consistent home care, but larger ones can persist for months. Some never fully resolve without a procedure.
Home Treatment for Both
The first-line treatment for both styes and chalazia is the same: warm compresses. Heat softens the hardened oil inside the gland, helps unclog the opening, and encourages drainage. Research shows it takes about two to three minutes of sustained heat on the eyelid surface to liquefy the trapped oil, so most ophthalmologists recommend applying warmth for about five minutes at a time, two to four times per day.
A clean washcloth soaked in warm water works, though it cools quickly. Reheatable eye masks or warming goggles designed for eyelid therapy hold their temperature longer and can be more effective. After applying heat, gently massaging the eyelid toward the lash line can help push the softened oil out of the gland.
For styes specifically, keeping the area clean matters because you’re dealing with bacteria. Avoid squeezing or popping the bump, which can spread the infection deeper into the eyelid. Don’t wear contact lenses or eye makeup until the stye clears.
When Home Care Isn’t Enough
Most styes respond well to warm compresses alone. If a stye doesn’t improve after a week or two, or if the redness and swelling spread beyond the bump, a doctor may prescribe antibiotic ointment or, less commonly, oral antibiotics.
Chalazia are more likely to need professional treatment. If warm compresses haven’t shrunk the lump after several weeks, the next step is usually either a steroid injection into the bump or a minor in-office drainage procedure. The injection delivers an anti-inflammatory medication directly into the chalazion, which helps the body break down the trapped material. It’s quick, minimally invasive, and works well for chalazia near sensitive structures like the tear duct, or when someone has multiple bumps at once.
Drainage involves a small incision on the inside of the eyelid (so there’s no visible scar) to scoop out the contents. This is more effective for chalazia that contain liquid or pus, or ones that haven’t responded to injections. For large or complex chalazia, doctors sometimes combine both approaches: draining first, then injecting a steroid to reduce the remaining inflammation. Recovery from either procedure is typically quick, with most swelling resolving within a week.
Why Some People Get Them Repeatedly
Occasional styes and chalazia are common and don’t necessarily signal an underlying problem. But if you get them frequently, there’s often a contributing condition affecting the oil glands in your eyelids.
Blepharitis, a chronic inflammation of the eyelid margins, is the most common culprit. It changes the quality of the oil your meibomian glands produce, making it thicker and more likely to clog. Rosacea, a skin condition that causes facial redness and flushing, also directly impacts the meibomian glands. In rosacea, the glands produce a viscous, abnormal oil that irritates the eye surface and frequently leads to recurrent chalazia, dry eyes, and chronic eyelid inflammation. This is true in both adults and children.
Other risk factors include skin conditions like seborrheic dermatitis, consistently incomplete removal of eye makeup, and a type of microscopic mite called Demodex that lives in eyelash follicles (more common than most people realize and usually harmless, but in excess can contribute to gland blockages).
If you’re prone to recurrent bumps, daily eyelid hygiene becomes important. This means using warm compresses regularly as prevention, not just treatment, and gently cleaning the lash line with diluted baby shampoo or a commercial lid scrub. For people with rosacea-related eyelid problems, treating the underlying rosacea with the help of a dermatologist or ophthalmologist often reduces flare-ups significantly.
Signs of a More Serious Problem
In rare cases, infection from a stye or chalazion can spread to the soft tissue around the eye, a condition called preseptal cellulitis. Warning signs include rapidly worsening redness and swelling that extends beyond the eyelid to the skin around the eye, pain when moving the eye, changes in vision, or the eye itself appearing to push forward. These symptoms need prompt medical attention, as untreated infection can spread deeper into the eye socket.
A chalazion that keeps coming back in the exact same spot, or one that looks unusual, may occasionally need a biopsy to rule out a rare type of eyelid cancer that can mimic a chalazion’s appearance. This is uncommon but worth knowing about, particularly in older adults with a bump that won’t resolve despite treatment.