A stye is a small, painful bump on the edge of your eyelid, and it forms when one of the tiny oil or sweat glands along the eyelid margin gets blocked and then infected. The infection is usually bacterial, most often with Staphylococcus aureus, a germ that lives harmlessly on most people’s skin. The gland swells, fills with pus, and creates the tender red lump you feel every time you blink.
How Do Styes Form Causes Symptoms And Treatment
The eyelid is lined with dozens of small glands. Some produce oil to keep your tear film stable. Others sit at the base of your eyelashes. When the opening of one of these glands clogs, oil and debris back up inside it. Bacteria that normally live on the skin can then multiply in that trapped material, and the result is a localized infection.
Two main types exist, and where the stye sits tells you which one it is.
- External hordeolum — an infection of a gland at the base of an eyelash. It appears on the outer edge of the lid and usually points outward.
- Internal hordeolum — an infection of a meibomian gland, which sits deeper in the lid. It tends to be more painful and can point inward toward the eye.
Several things raise the odds of a gland getting blocked and infected. Touching or rubbing your eyes transfers bacteria. So does falling asleep without removing eye makeup, which can plug gland openings directly. Contact lens habits matter too — poor lens hygiene is a known contributor to eyelid and eye surface infections.
Certain skin conditions make styes more likely. Blepharitis, a chronic inflammation of the eyelid margin, and rosacea both disrupt the normal function of eyelid glands. People with these conditions tend to get styes and chalazia more often than others. Diabetes and other conditions that affect immune function can also increase susceptibility.
One clarification worth making: a stye is not the same as a chalazion. A chalazion is a blocked meibomian gland that forms a firm, usually painless lump without an active infection. A stye is infected and typically tender. The two can look similar at a glance, but they are managed differently.
What Does a Stye Feel and Look Like?
A stye usually announces itself with tenderness before you can see anything. Within a day or so, a red bump appears along the lid margin, and the skin around it may swell. Many people describe a gritty or scratchy sensation, as if something is in the eye.
Common signs include:
- A tender red lump on the upper or lower eyelid
- Swelling of the surrounding lid
- Tearing or watery eyes
- A feeling that something is caught in the eye
- Sensitivity to light in some cases
Most styes point and drain on their own within a few days to a week. A small white or yellow head may form at the tip, which is pus collecting at the surface. Once it drains, the pain usually eases quickly.
The pattern matters. A stye that keeps growing, spreads redness into the cheek, or comes with fever is a different situation. So is one that affects your vision. These signs suggest the infection is not staying contained, and they need medical attention rather than home care.
How Is a Stye Treated?
Most styes respond to simple, consistent warm compresses. The standard approach is a clean washcloth soaked in warm — not hot — water, held against the closed eyelid for about 10 to 15 minutes, several times a day. The heat improves blood flow and helps the blocked gland open and drain. This is the most widely recommended first step, and it works for the majority of uncomplicated cases.
A few practical points make compresses more effective:
- Use a clean cloth each time to avoid reintroducing bacteria
- Keep the water comfortably warm, not scalding — eyelid skin is thin
- Wash your hands before and after touching the area
- Do not squeeze or pop the stye, which can push infection deeper into the lid
Over-the-counter lubricating eye drops can ease the gritty feeling, but they do not treat the infection itself. Antibiotic ointments are sometimes prescribed, particularly for internal styes or ones that are not improving. Whether antibiotics help for a routine external stye is genuinely debated — many resolve without them, and some clinicians reserve antibiotics for cases that persist or worsen.
If a stye does not improve within about a week, keeps getting larger, or causes significant pain or vision changes, see a doctor. In some cases a clinician will drain it. For people who get styes repeatedly, underlying blepharitis or rosacea is often the reason, and treating that condition is what reduces the recurrence.
When Should You See a Doctor?
Most styes are minor and self-limiting. A few situations cross the line into needing prompt care.
Seek medical attention if:
- The swelling spreads to your cheek or the rest of your face
- You develop a fever
- Your vision becomes blurry or otherwise changes
- The stye grows rapidly or the pain is severe
- It has not improved after about a week of warm compresses
- You get styes very frequently
Spreading redness and fever are the signs that concern doctors most, because they can indicate the infection is moving beyond the eyelid. The tissue around the eye connects to deeper structures, and infections there are treated seriously. This is uncommon, but it is the reason those specific symptoms warrant a call rather than waiting.
People with diabetes or weakened immune systems should have a lower threshold for seeking care, since infections can progress faster and heal more slowly in those situations.
Can You Prevent Styes?
Prevention comes down to keeping the eyelid margin clean and not introducing bacteria. Good eyelid hygiene is the foundation, especially for anyone prone to blepharitis.
Habits that help:
- Wash your hands before touching your eyes or face
- Remove eye makeup every night before bed
- Replace eye makeup every few months, and never share it
- Follow contact lens care instructions and replace lenses on schedule
- Use a clean towel and pillowcase, and wash them regularly
- If you have blepharitis, follow the eyelid-cleaning routine your eye doctor recommends
For people who get styes often, warm compresses used routinely — not just during a flare-up — can help keep eyelid glands draining. Some clinicians also recommend eyelid hygiene wipes or diluted baby shampoo along the lash line, though evidence on how much this reduces stye frequency specifically is limited. The general principle of keeping the lid margin clean is well accepted.
There is no diet or supplement with strong evidence for preventing styes. Claims that certain vitamins stop them are not supported by clinical research. If you see a product marketed that way, treat it with skepticism.
Stye vs. Chalazion vs. Blepharitis
These three conditions overlap and are often confused, but they are distinct problems that call for different responses.
| Condition | What it is | Typical feel | Usual approach |
|---|---|---|---|
| Stye (hordeolum) | Infected eyelid gland | Tender, red, may form a pus head | Warm compresses; antibiotics in some cases |
| Chalazion | Blocked meibomian gland, no active infection | Firm, usually painless lump | Warm compresses; sometimes drained or injected |
| Blepharitis | Chronic inflammation of the lid margin | Crusting, redness, irritation along the lash line | Ongoing eyelid hygiene; sometimes medication |
A stye can turn into a chalazion once the infection clears but the gland stays blocked. Blepharitis is a chronic condition that makes both more likely, which is why managing it reduces how often the others appear.
Frequently Asked Questions
How long does a stye usually last?
Most styes drain and heal within a few days to about a week with warm compresses. If one lasts longer than a week or gets worse, it should be checked by a doctor.
Are styes contagious?
Styes themselves are not considered contagious, but the bacteria involved can spread from your hands to your own eyes or to others. Washing your hands and not sharing towels or eye makeup reduces that risk.
Can I wear contact lenses with a stye?
It is generally recommended to stop wearing contact lenses until the stye has fully healed, and to wear glasses instead. Lenses can irritate the infected lid and may spread bacteria.
What causes recurring styes?
Frequent styes often trace back to blepharitis, rosacea, or consistently poor eyelid hygiene. Addressing the underlying condition is usually what reduces how often they come back.

