What Is a Chalazion vs. Stye? How to Tell Them Apart

A stye is a painful, infected bump that forms at the edge of your eyelid, while a chalazion is a painless, slow-growing lump that develops deeper in the eyelid from a blocked oil gland. Both look similar in their first day or two, which is why they’re so often confused, but they have different causes and follow different timelines.

How a Stye Forms

Your eyelids contain tiny oil glands at the base of each eyelash. A stye (the clinical term is hordeolum) starts when one of these glands gets clogged and bacteria, almost always Staphylococcus aureus, move in. The gland’s oily secretions thicken and stagnate, creating the perfect environment for infection. Within a day or two, a small yellowish pustule appears right at the eyelid margin, usually centered on a single eyelash. The surrounding skin turns red and swollen.

Styes hurt. They’re tender to the touch, and the swelling can make your whole eyelid feel heavy or sore. Most styes point outward (external hordeolum), but occasionally the infection hits a larger oil gland on the inner surface of the eyelid (internal hordeolum). Internal styes are harder to see because the swelling faces the eyeball rather than the skin, but they produce the same pain and redness.

How a Chalazion Forms

A chalazion also begins with a blocked oil gland, but no bacteria are involved. Instead, the trapped oily secretion triggers a chronic inflammatory reaction. Your immune system walls off the blocked material, forming a firm, round cyst called a lipogranuloma. This process happens in the meibomian glands (deeper in the eyelid) or the Zeis glands (closer to the surface), both of which normally produce the oily layer of your tear film.

Because there’s no infection, chalazia are typically painless after the first couple of days. What you notice is a firm, pea-sized nodule sitting in the body of the eyelid, not at the lash line. It can stick around for weeks or even months if left alone, though many resolve on their own within two to eight weeks.

Telling Them Apart

In the first 24 to 48 hours, a chalazion and a stye can look identical: a red, swollen, tender spot on the eyelid. After that initial window, they diverge in predictable ways.

  • Location: A stye localizes to the eyelid margin, right where the lashes grow. A chalazion settles into the center of the eyelid body, away from the edge.
  • Pain: A stye stays painful throughout its course. A chalazion becomes painless once the initial inflammation calms down.
  • Appearance: A stye often develops a visible yellowish head, like a small pimple. A chalazion looks like a smooth, firm nodule under the skin without a visible point.
  • Timeline: Styes typically come to a head and drain within a week. Chalazia grow slowly and can persist for two months or longer.

One complication worth knowing: a stye that doesn’t fully drain can leave behind a residual lump that behaves exactly like a chalazion. The infection clears, but the blocked gland remains inflamed. At that point, you’re essentially dealing with a chalazion regardless of how it started.

Why Some People Get Them Repeatedly

If you’ve had more than one or two of these bumps, there’s often an underlying condition making your oil glands more prone to clogging. Blepharitis, a chronic low-grade inflammation of the eyelid margins, is the most common culprit. It causes the oil glands to produce thicker secretions that block more easily.

Ocular rosacea is another frequent driver. People with rosacea affecting their face often develop eye involvement too, with recurrent styes, chalazia, and a burning, gritty sensation. You can also have ocular rosacea without any visible skin changes on your face, which makes it easy to miss. If you’re getting recurrent eyelid bumps, it’s worth mentioning any facial flushing or sensitivity to an eye care provider, since treating the underlying rosacea can break the cycle.

Home Treatment for Both

The first-line treatment is the same for styes and chalazia: warm compresses. Heat liquefies the thickened oil inside the blocked gland. Research shows it takes two to three minutes of sustained warmth on the eyelid surface to start melting the trapped material, so brief contact isn’t enough.

The American Academy of Ophthalmology recommends applying a warm compress for about five minutes at a time, two to four times per day. A clean washcloth soaked in warm water works, though it loses heat quickly. Microwavable eye masks hold their temperature longer and tend to be more effective for that reason. After each compress session, gently massaging the eyelid toward the lash line can help push softened oil out of the gland.

One precaution: don’t leave the compress on continuously. Prolonged heat dilates blood vessels in the area and can actually increase swelling. Five-minute sessions with breaks in between are more effective than one long application. Lid scrubs, using diluted baby shampoo or commercial eyelid wipes, help keep the gland openings clear and are especially useful if blepharitis is contributing to the problem.

When Home Care Isn’t Enough

Most styes drain on their own within a week of consistent warm compresses. Chalazia are more stubborn. If a chalazion hasn’t responded to several weeks of conservative care, the next step is typically a minor in-office procedure. The doctor numbs the eyelid, makes a small incision on the inner surface (so there’s no visible scar), and scrapes out the contents of the cyst. The procedure takes a few minutes and recovery is quick.

For chalazia that are relatively new and still soft, a steroid injection into the lump is sometimes offered as an alternative. The steroid reduces the inflammatory reaction and can shrink the cyst without surgery. Older, more solidified chalazia don’t respond as well to injection alone because the inflammatory tissue has hardened into an organized mass that’s difficult to penetrate with a needle. In those cases, incision and drainage is more reliable, sometimes with a steroid injection added at the same time to reduce the chance of recurrence.

Signs of Something More Serious

A garden-variety stye or chalazion, while annoying, isn’t dangerous. The concern is when infection spreads beyond the gland into the surrounding tissue. Preseptal cellulitis, an infection of the eyelid skin and soft tissue, causes the entire eyelid to become red, swollen, and warm, well beyond the borders of the original bump. Your eye movements and vision stay normal, which distinguishes it from the more serious orbital cellulitis.

Orbital cellulitis is rare but requires urgent care. It involves infection behind the eye socket and produces a distinct set of warning signs: pain when moving the eye, double vision, bulging of the eye forward, or any change in how clearly you can see. In children, it often comes with fever and a visibly sick appearance. These symptoms call for immediate evaluation, as orbital cellulitis can threaten vision and spread to nearby structures.

A chalazion that keeps coming back in exactly the same spot, or one that looks unusual in texture or color, also deserves a closer look. Rarely, a recurring eyelid lump can mimic a chalazion but turn out to be something else entirely, which is why persistent or atypical bumps are sometimes biopsied after removal.