That tender little bump on your eyelid is annoying, sometimes painful, and often confusing. The two most common causes are a stye and a chalazion, and they are not the same thing. A stye is an infected oil gland at the base of an eyelash, while a chalazion is a blocked oil gland deeper in the eyelid that is usually not infected. Most styes and chalazia clear up on their own within a few weeks with simple home care, but the right approach depends on which one you have.
Stye vs Chalazion: What Is the Actual Difference?
A stye is an infection. A chalazion is a blockage. That single difference explains almost everything about how each one looks and feels.
A stye, also called a hordeolum, happens when bacteria — most often Staphylococcus — infect a tiny oil-producing gland along the eyelid margin. Because it is an active infection, a stye tends to be red, tender, and sometimes filled with a small pocket of pus. It usually sits right at the edge of the eyelid where the lashes grow. There are two types: an external stye forms at the base of a lash, and an internal stye forms in a deeper gland. Both can hurt when you blink.
A chalazion forms when a meibomian gland — one of the many oil glands embedded in your eyelid — gets blocked. The oil backs up and creates a firm, rubbery lump. Because there is usually no infection, a chalazion is often painless or only mildly tender. It tends to sit a little farther from the lash line and can grow slowly over weeks. Some chalazia start as a stye that never fully cleared.
One useful way to tell them apart: a stye feels like a pimple and often has a visible white or yellow head. A chalazion feels like a small pea under the skin and usually has no head.
What Causes a Stye or Chalazion in the First Place?
Both problems come down to the oil glands in your eyelids not working the way they should. Your eyelids contain dozens of meibomian glands that release oil onto the surface of your eye. That oil keeps your tears from evaporating too fast. When these glands get blocked or infected, a bump can form.
Several things raise your risk:
- Touching or rubbing your eyes with unwashed hands
- Leaving eye makeup on overnight or using old, contaminated makeup
- Sleeping in contact lenses or not cleaning them properly
- Having blepharitis, a chronic inflammation of the eyelid margin
- Skin conditions like rosacea, which can affect the eyelids
- Hormonal changes, which is why they are more common during the teen years
People with blepharitis or rosacea tend to get these bumps repeatedly. That is not bad luck — it reflects an underlying tendency for the oil glands to become inflamed or blocked. Managing the underlying condition is often the difference between occasional bumps and a recurring problem.
How To Get Rid Of an Eye Pimple, Stye vs Chalazion, With Home Care
Warm compresses are the single most reliable home treatment for both styes and chalazia. Heat softens the hardened oil inside the gland, improves blood flow, and helps the body clear the blockage or infection.
Here is how to do it properly:
- Use a clean washcloth soaked in warm — not hot — water. It should feel comfortable on the back of your wrist.
- Hold it gently against the closed eyelid for about 10 to 15 minutes.
- Repeat three to four times a day.
- Use a fresh cloth or re-warm the same one as it cools.
For a stye, the bump often comes to a head and drains on its own within a few days. Do not squeeze it. The eyelid has thin skin and delicate structures underneath, and squeezing can push infection deeper. Let it open on its own.
For a chalazion, warm compresses may take longer to work — sometimes several weeks. The lump may shrink gradually rather than disappearing overnight. Patience matters here. Many people give up after a few days and assume nothing is helping, when the gland simply needs more time.
Lid hygiene helps too. Gentle washing of the eyelid margin with a diluted baby shampoo or a commercially available eyelid wipe can reduce bacteria and unclog glands. Some clinicians recommend this daily for people who get recurring bumps. The evidence for lid hygiene is reasonable but not as strong as the evidence for warm compresses.
When Should You See a Doctor for an Eyelid Bump?
Most styes and chalazia do not need medical care. But some situations do. See a doctor if:
- The bump has not improved after several weeks of warm compresses
- It keeps getting bigger
- Your vision is blurred or affected
- The eyelid is very swollen, red, and hot
- You have pain that is getting worse rather than better
- You have a fever or feel unwell
- The bump bleeds or looks unusual
A spreading infection of the eyelid, called preseptal cellulitis, is uncommon but needs prompt treatment. In rare cases, infection can spread behind the eye, which is a medical emergency. Signs include severe pain, bulging of the eye, double vision, or difficulty moving the eye. If any of these appear, seek care immediately.
Also see a doctor if the lump is on the eyelid but does not look like a typical stye or chalazion. A persistent, painless, or unusual eyelid lump should always be checked, because a small number of eyelid growths are not styes or chalazia at all.
Medical Treatments for Styes and Chalazia
When home care is not enough, doctors have several options. Which one is used depends on whether the problem is a stye or a chalazion and how long it has been there.
For a stye, a doctor may prescribe an antibiotic ointment or, less often, oral antibiotics if the infection is significant or spreading. Antibiotics do not help a chalazion, because a chalazion is usually not an infection.
For a chalazion that will not go away, a doctor may inject a small amount of a steroid directly into the lump. This can reduce inflammation and help it shrink. Another option is a minor procedure to open and drain the gland, or surgical removal if the lump is large or persistent. These are typically done by an ophthalmologist.
Some clinicians also recommend treating underlying blepharitis with warm compresses, lid hygiene, and sometimes prescription treatments. The evidence for treating the underlying condition to prevent recurrence is reasonable but not as strong as the evidence for treating the bump itself.
How To Prevent Styes and Chalazia
Prevention focuses on keeping the oil glands clear and the eyelids clean.
- Wash your hands before touching your eyes or face.
- Remove eye makeup every night.
- Replace eye makeup every three months, and never share it.
- Clean contact lenses properly and never sleep in them unless your eye doctor says it is safe.
- If you get recurring bumps, ask your doctor about daily eyelid hygiene.
- Manage conditions like rosacea or blepharitis with your doctor’s help.
There is no strong evidence that any specific diet change prevents these bumps. Some people report fewer flare-ups when they manage overall eyelid inflammation, but that is not the same as a proven dietary fix. Be cautious of products or supplements marketed to prevent styes — no large human trials confirm they work.
What About Popping or Squeezing an Eyelid Bump?
Do not pop it. This is one of the few times the advice is absolute.
The eyelid is not like the skin on your back. It is thin, richly supplied with blood vessels, and sits directly over the eye and the structures that drain the sinuses. Squeezing a stye can push bacteria into deeper tissue and, in rare cases, lead to a serious infection. It can also make the bump worse and slow healing.
If a stye comes to a head and drains on its own, that is fine. Clean the area gently and keep your hands away. If it does not drain and is causing problems, let a doctor handle it.
Frequently Asked Questions
How long does a stye last?
Most styes start to improve within a few days and clear up within one to two weeks with warm compresses. A stye that lasts longer than two weeks or keeps getting worse should be checked by a doctor.
How long does a chalazion take to go away?
A chalazion often takes several weeks to months to shrink, and some never fully disappear without treatment. If it is still there after a month or is growing, see an eye doctor.
Can I wear makeup or contact lenses with a stye or chalazion?
It is best to avoid eye makeup and contact lenses until the bump is fully gone. Both can irritate the eyelid and, in the case of contact lenses, may spread bacteria or worsen the blockage.
Is a chalazion always harmless?
Most chalazia are harmless and not cancer, but a persistent eyelid lump should still be evaluated. A doctor can usually tell the difference during an exam, and unusual lumps may need a biopsy.

