Why Do I Have a Ball on My Eyelid? Common Causes

A ball or bump on your eyelid is most likely a chalazion or a stye, two very common conditions caused by blocked or infected oil glands in the eyelid. Both start as a small, tender swelling and can look almost identical in the first day or two. The key difference is what happens next: a stye stays painful and forms near the lash line, while a chalazion moves deeper into the eyelid and gradually loses its tenderness, settling into a firm, round lump.

Stye: A Painful Bump Near the Lash Line

A stye is a bacterial infection of one of the tiny glands at the base of your eyelashes. About 90% to 95% of styes are caused by Staphylococcus aureus, a bacterium that commonly lives on skin. The infection creates a small, yellowish pustule right at the eyelid margin, surrounded by redness and swelling. It hurts, and that pain usually sticks around until the stye drains.

There are two types. An external stye forms in the oil or sweat glands at the root of a lash, so you can usually see it clearly on the surface. An internal stye develops in the larger oil glands embedded deeper in the eyelid. Internal styes tend to be more uncomfortable and can occasionally cause fever or chills if the inflammation is severe.

Most styes resolve on their own within one to three days once they drain. The full healing process after that takes roughly 7 to 10 days.

Chalazion: A Painless Lump in the Eyelid

A chalazion forms when one of the oil glands in the eyelid (called meibomian glands) gets blocked but not infected. The trapped oil leaks into the surrounding tissue, and your body responds with a slow, sterile inflammatory reaction that builds a firm, round nodule. Unlike a stye, a chalazion isn’t caused by bacteria. It’s a clogged gland that your immune system walls off.

In the first day or two, a chalazion can be red, swollen, and sore, making it hard to tell apart from a stye. But within a few days, the pain fades and you’re left with a small, hard ball sitting in the body of the eyelid rather than at the lash line. Some chalazia point inward toward the eye, while others push outward through the skin.

Chalazia are the most common inflammatory lesion of the eyelid. A large study of nearly two million eye patients found a prevalence of about 0.57%, with slightly higher rates in children (0.95%) than adults (0.51%). About 1 in 10 people who get one will have a recurrence.

Small chalazia often shrink on their own over a few weeks. Larger ones can linger for a month or more and sometimes need medical treatment.

Less Common Causes

Not every eyelid bump is a stye or chalazion. A few other possibilities are worth knowing about:

  • Xanthelasma. These are flat or slightly raised yellow patches that appear near the inner corners of the eyelids. They’re cholesterol deposits under the skin, not infections or blocked glands. They’re harmless on their own, but your doctor may want to check your cholesterol, blood sugar, thyroid, and liver function, since xanthelasma can signal underlying metabolic issues.
  • Sebaceous cysts. These are slow-growing, fluid-filled lumps beneath the skin. They feel smooth and round, move slightly when you press them, and are typically painless.
  • Skin cancer. Rarely, a persistent bump on the eyelid can be basal cell carcinoma. These tend to have a pearly or waxy edge, a pinkish color, and may ulcerate or bleed. Loss of eyelashes in the area around the bump is another warning sign. Any lump that doesn’t heal within a few weeks, keeps growing, or bleeds deserves a prompt evaluation.

How Warm Compresses Help

For both styes and chalazia, a warm compress is the most effective first-line treatment. The heat melts the hardened oil blocking the gland and encourages drainage. Research on oil gland therapy has found that the compress needs to reach at least 40°C (about 104°F) to be effective. A clean washcloth soaked in warm water works, but it cools quickly. Microwavable eye masks hold heat longer and tend to give better results.

Apply the compress for at least 10 minutes once a day. Some clinicians recommend up to 20 minutes, or multiple shorter sessions. After removing the compress, you can gently massage the area to help move the trapped oil out of the gland. Most styes will drain within a few days of consistent compress use, and small chalazia often start shrinking within two to three weeks.

When a Bump Needs Medical Treatment

If a chalazion doesn’t respond to warm compresses after several weeks, a doctor can drain it through a minor in-office procedure. The eyelid is numbed, a small clamp holds it in place, and the contents are scooped out through a tiny incision, usually on the inside of the lid so there’s no visible scar. The whole thing takes just a few minutes. Afterward, you’ll use antibiotic drops or ointment for about a week and apply cold compresses for the first 48 hours, then switch back to warm compresses. Gentle massage of the area starting about two weeks later helps smooth the healing tissue.

For styes that don’t drain on their own, your doctor may prescribe antibiotic ointment or, in stubborn cases, drain the abscess similarly.

Keeping Eyelid Bumps From Coming Back

People who get styes or chalazia once are prone to getting them again, so regular eyelid hygiene makes a real difference. The goal is to keep the oil glands along your lash line from getting clogged with debris, dried oil, or bacteria.

The traditional approach is scrubbing the lash line with diluted baby shampoo, but this has drawbacks. Studies using a 1:10 dilution found it significantly reduced a protective mucus layer on the eye’s surface, potentially worsening dry eye. A better alternative for many people is a hypochlorous acid spray or wipe at a concentration of around 0.7% to 0.9%. Multiple studies have shown it reduces eyelid redness, improves tear film stability, and is gentle enough for daily use.

Beyond lid cleaning, a daily warm compress for 10 minutes can keep the oil glands flowing freely, especially if you have naturally thick or sluggish eyelid oil. Avoiding touching or rubbing your eyes with unwashed hands also reduces the bacterial load that triggers styes.