A stye is a small, painful bump on the eyelid caused by a blocked oil gland or an infected eyelash follicle. Most styes are caused by bacteria, usually Staphylococcus, and they typically drain and heal on their own within a few days to a week. Warm compresses applied several times a day are the main home measure that clinicians recommend, and you should never squeeze or pop a stye.
What Is a Stye and What Causes It?
A stye, also called a hordeolum, is an infection or inflammation of the glands at the edge of the eyelid. There are two types, and they start in different places.
An external stye forms at the base of an eyelash, in a gland called the gland of Zeis or Moll. It looks like a small pimple on the lid margin. An internal stye forms deeper in a meibomian gland, which is the oil-producing gland inside the eyelid. Internal styes tend to be more painful and can cause more swelling of the whole lid.
The usual cause is bacteria, most often Staphylococcus aureus, that get into the gland. The gland becomes blocked, oil backs up, and bacteria multiply. This is why a stye is tender and red rather than just a painless lump.
Several things raise the odds of getting one:
- Touching or rubbing your eyes with unwashed hands
- Sleeping in eye makeup or using old, contaminated makeup
- Contact lens habits that aren’t clean
- Blepharitis, a chronic inflammation of the eyelid margin
- Rosacea, which affects the oil glands of the face and eyes
- Diabetes or other conditions that affect immune function
Styes are common and not a sign that something is seriously wrong. Most people get one at some point.
What To Do About a Stye at Home
The first and most effective step is a warm compress. This is the measure clinicians recommend before anything else, and it works by helping the blocked gland open and drain.
Use a clean washcloth soaked in warm — not hot — water. Wring it out and hold it against the closed eyelid for about 10 to 15 minutes. Repeat three to four times a day. The water should feel comfortably warm on the inside of your wrist, never hot enough to burn the thin skin of the eyelid.
A few other basics help:
- Keep your hands away from your eyes. Do not squeeze, pop, or try to drain the stye. This can push infection deeper into the eyelid.
- Stop wearing contact lenses and eye makeup until it heals.
- Wash your hands before and after touching the area.
- Use a clean washcloth each time, and don’t share it.
- Over-the-counter pain relievers such as ibuprofen or acetaminophen can ease discomfort if you can take them safely.
What you should not do is rely on unproven home remedies. There is no good evidence that tea bags, potato slices, or breast milk applied to a stye do anything a warm compress doesn’t already do. Some of these can irritate the eye further.
How Long Does a Stye Last?
Most styes improve within a few days and clear up within about a week. A small one may come to a head, drain a little, and settle down quickly. A larger internal stye can take longer and be more uncomfortable.
Warm compresses speed drainage and comfort, but they don’t guarantee a specific timeline. If a stye is not improving after several days, or if it is getting worse, that is a signal to see a doctor rather than wait it out.
Recurring styes are a different situation. If you keep getting them, the underlying issue is often blepharitis or another eyelid condition, and that needs to be addressed rather than treating each stye on its own.
When Should You See a Doctor for a Stye?
Most styes don’t need medical care. Some do, and it’s worth knowing the difference.
See a doctor if:
- The stye is not improving after a week, or is getting worse
- Swelling spreads to the whole eyelid or the area around the eye
- You have pain that is worsening rather than easing
- Your vision is affected or blurred
- The eye is very red, or there is a lot of discharge
- You have a fever or feel unwell
- You get styes often
- You have diabetes or a condition that weakens your immune system
Spreading redness and swelling around the eye, fever, or vision changes can indicate a deeper infection that needs prompt attention. These aren’t typical stye symptoms and shouldn’t be watched at home.
What a Doctor Might Recommend
If a stye isn’t clearing on its own, a doctor may prescribe treatment. The options depend on how it looks and where it is.
Antibiotic ointment or drops are sometimes prescribed, especially if the infection is spreading or not resolving. For a stye that has become a firm, painless lump, the diagnosis may shift to a chalazion, which is a blocked gland without active infection. Chalazia are often treated differently and may need a steroid injection or a minor procedure to drain if they persist.
In some cases, a doctor will drain a stye or chalazion in the office. This is done under local numbing and should never be attempted at home.
Some clinicians recommend eyelid hygiene — warm compresses plus gentle cleaning of the lid margin with a diluted baby shampoo or a commercial eyelid wipe — for people who get styes repeatedly. This is widely done in practice, though the strength of evidence for lid hygiene specifically preventing styes varies. It is a low-risk habit, which is part of why it’s recommended.
How to Prevent Styes
Prevention comes down to keeping the eyelids clean and not introducing bacteria.
- Wash your hands before touching your face or eyes.
- Remove eye makeup every night. Replace mascara and eyeliner every few months.
- Don’t share eye makeup or applicators.
- Follow contact lens cleaning and replacement instructions, and never sleep in lenses not approved for overnight wear.
- If you have blepharitis, keep up with the eyelid care your eye doctor recommends.
- Manage underlying conditions like diabetes with your doctor.
One point that gets missed: a stye is not contagious in the usual sense. You can’t catch one from someone else the way you catch a cold. But the bacteria involved can spread from your own hands to your own eye, and shared makeup or towels can move bacteria between people. That’s why not sharing those items matters.
Stye vs. Chalazion vs. Pink Eye
These three get confused, and they are not the same thing. Knowing the difference helps you decide what to do.
| Condition | What it is | Typical feel | Location |
|---|---|---|---|
| Stye (hordeolum) | Infected gland, usually bacterial | Tender, painful, red | Lid margin or inside lid |
| Chalazion | Blocked gland, no active infection | Firm, usually painless lump | Inside the eyelid |
| Pink eye (conjunctivitis) | Inflammation of the clear covering of the eye | Itchy, gritty, watery or discharge | The white of the eye and inner lid |
A stye is tender. A chalazion is usually a firm bump that doesn’t hurt much. Pink eye affects the surface of the eye itself, not a single gland. A stye can turn into a chalazion once the infection settles and the gland stays blocked.
If you’re not sure which one you have, and it isn’t improving, a doctor or optometrist can tell the difference quickly.
Frequently Asked Questions
How do you get rid of a stye fast?
Warm compresses for 10 to 15 minutes, three to four times a day, are the main home measure and help the gland drain. There is no reliable way to make a stye disappear overnight, and squeezing it can make things worse.
Can I pop a stye like a pimple?
No. Popping a stye can push bacteria deeper into the eyelid and cause a more serious infection. Let it drain on its own or have a doctor handle it.
Is a stye contagious?
A stye itself is not contagious, but the bacteria involved can spread through shared makeup, towels, or unwashed hands. Don’t share those items while you have one.
When should I worry about a stye?
See a doctor if it isn’t improving after a week, is getting worse, or if you have spreading swelling, fever, or vision changes. Those signs suggest a deeper infection that needs prompt care.

