closed eye with stye on upper lid
1 / 12

What Is a Stye?

It’s a small, painful lump that can pop up inside or outside your eyelid. It may look like a pimple at the base of your eyelashes. Styes under the eyelid may be less noticeable at first. But both can make your eyelid red, swollen, and tender to the touch. Your eye might feel scratchy and sore, too.  

Swipe to advance
chalazion on inside upper eyelid
2 / 12

What Is a Chalazion?

It’s a bump on the eyelid that grows when an oil gland gets clogged. It can sometimes start as a stye that hardens over time. Unlike a stye, it’s usually painless and feels rubbery.

Swipe to advance
toddler rubbing eye
3 / 12

What Causes a Stye?

The problem is bacteria. It infects an oil gland inside the eyelid or the hair follicle of an eyelash. Those germs can come from anything that touches or rubs your eyes, like your hands or eye makeup. You may tend to get more styes during allergy season when eyes get itchy. You’re also more likely to get them if you have blepharitis, a type of inflammation around the edges of your eyelids.

Swipe to advance
meibomian glands
4 / 12

What Causes a Chalazion?

When glands around the eyelids make oil that’s too thick or their openings get blocked, oil builds up and inflames the area, causing a lump. Usually your doctor can’t tell exactly what caused it, though certain skin types and conditions like blepharitis may make them more common. Sometimes styes inside the eyelid can turn into chalazia.

Swipe to advance
5 / 12

Which Is Which?

It can be hard to tell, but there are differences. In general, a stye is infected and a chalazion is not. Infection can cause a small “pus spot” at the tip of a stye (shown here) that looks like a pimple. It can make your eye painful, crusty, scratchy, watery, and more sensitive to light. It may even make your whole eyelid swell. A chalazion usually doesn’t hurt and may make the eyelid swell early on. But you may not even notice it at first. If there’s no longer an infection, or the oil glands get clogged without being infected, it’s called a chalazion.

Swipe to advance
woman examining eye in mirror
6 / 12

Don’t Try to Pop Them

A stye can look very much like a pimple. That may tempt you to squeeze it until it pops. Don’t do it -- that can spread the infection to your eyelid. Just leave the area alone. Both styes and chalazia usually go away by themselves in a few days or weeks.

Swipe to advance
woman applying compress to eyes
7 / 12

Warm Compresses Speed Healing

Soak a clean washcloth in hot water and put it on your eyelid for 10-15 minutes at a time, 3-5 times a day. This can help soften and unclog a chalazion or stye. If it’s a chalazion, you can gently massage the area (don’t squeeze it) with your finger to help it along. Just make sure your hands are clean. A daily warm compress also may help prevent styes or chalazia if you get them regularly.

Swipe to advance
doctor checking patients eye
8 / 12

When to See a Doctor

Most styes and chalazia go away on their own and don’t need treatment. But get your eye checked if it doesn’t start to get better within a few days, it grows really fast, or starts to bleed or affect your vision. Also, if it starts to spread to the white of your eye or you see redness in your cheeks, see your doctor ASAP. Those could be signs of a spreading infection.

Swipe to advance
ointment on fingertip
9 / 12

At the Doctor

Your doctor can usually diagnose a stye or chalazion just by looking at your eye, sometimes under a light with magnification. If a stye is big and painful or hasn’t gotten smaller after 1-2 weeks, she may drain it. She’ll numb the area, then make a small cut to let the pus out. In some cases, doctors prescribe an antibiotic cream to put on a stye. If it’s a chalazion, you may get a steroid shot to ease some of the swelling. 

Swipe to advance
woman washing face
10 / 12

Prevention: Cosmetics

If you already have a stye or chalazion, take a break from your eyeliner, mascara, and other cosmetics until it heals. You can prevent them if you throw away old eye makeup. It’s best to replace it about every 6 months and not to share it with other people. Also, wash it off each night before you go to bed so it won’t block your pores and hair follicles.  

Swipe to advance
cleaning contact lens
11 / 12

Prevention: Contact Lenses

If you wear them, make sure they’re clean. Your doctor can tell you the best way to disinfect them. It’s also important to wash your hands thoroughly before each time you handle them. Try not to wear your contacts while you have a stye or a chalazion.

Swipe to advance
man cleaning hands
12 / 12

Prevention: Wash Your Hands

Hands often carry germs that can get in your eye and cause a chalazion or stye. Keep them clean with soap and warm water, or use an alcohol-based hand sanitizer if you can’t get to a sink. It’s tempting to rub your eyes when they’re itchy. Try to leave them alone. Think about using allergy medication to help with the itch.

Swipe to advance

Up Next

Next Slideshow Title

Sources | Medically Reviewed on 11/07/2019 Reviewed by Whitney Seltman, OD on November 07, 2019


1) H_Barth / Thinkstock

2) Eskemar / Thinkstock

3) Masopasi / Thinkstock

4) Carol Werner / Medical Images

5) grebcha / Thinkstock

6) Hero Images / Getty Images

7) Amie Brink / WebMD

8) PhotoAlto / Eric Audras / Getty Images

9) triocean / Thinkstock

10) Purestock / Thinkstock

11) bluebeat76 / Getty Images

12) Wavebreakmedia Ltd / Thinkstock



American Association for Pediatric Ophthalmology and Strabismus: “Chalazion.”

Cleveland Clinic Health Essentials: “Styes: How You Can Avoid Them and Best Treatment Tips.”

Mayo Clinic: “Diseases and Conditions: Blepharitis,” “Diseases and Conditions: Sty.”

Michigan Medicine Kellogg Eye Center: “Chalazion and Stye.”

Reviewed by Whitney Seltman, OD on November 07, 2019

This tool does not provide medical advice. See additional information.

THIS TOOL DOES NOT PROVIDE MEDICAL ADVICE. It is intended for general informational purposes only and does not address individual circumstances. It is not a substitute for professional medical advice, diagnosis or treatment and should not be relied on to make decisions about your health. Never ignore professional medical advice in seeking treatment because of something you have read on the WebMD Site. If you think you may have a medical emergency, immediately call your doctor or dial 911.