What Causes a Stye? 7 Common Triggers and Prevention Tips

A stye, also called a hordeolum, is a red, tender bump on the eyelid that forms when bacteria, most often Staphylococcus aureus, slip into a blocked eyelash follicle or oil gland and trigger a localized infection. The inflammatory response produces swelling, warmth, and a pus-filled head that can make blinking uncomfortable, and nearly everyone develops at least one over a lifetime. Most resolve on their own within 7 to 10 days.

The breakdown covers the biology, the everyday habits that invite bacteria in, and the prevention steps that keep styes from coming back.

The Biology of a Stye and How an Eyelid Bump Forms

Your eyelid is lined with dozens of tiny oil glands and hair follicles that keep the lash line lubricated. When an opening gets blocked by dead skin, dried oil, or debris, bacteria that already live on your skin multiply inside the closed-off space. The immune system then responds with inflammation, producing the red, swollen, painful lump you feel along the lash line.

Staphylococcus aureus drives most cases

The organism behind the majority of styes is Staphylococcus aureus, a bacterium that colonizes the skin and nasal passages of roughly a third of healthy adults without causing harm. Once it enters a blocked follicle or duct, it multiplies, releases toxins, and draws white blood cells to the area. That combination of bacterial growth and immune response builds the visible bump.

The predictable 7 to 10 day arc

Most styes follow the same arc. Tenderness builds over the first two or three days as the gland swells. The bump then forms a small white or yellow head as pus collects beneath the skin. Drainage, either spontaneous or with a warm compress, marks the turning point, and surrounding inflammation fades within a week. A few stubborn lesions take longer to reabsorb, though the natural course rarely extends past 10 days.

Internal Versus External Styes and the Glands Involved

Not every stye behaves the same way, and the difference comes down to which gland is involved. External styes sit at the very edge of the eyelid where you can see them clearly. Internal styes form deeper inside the lid tissue and often feel more diffuse.

External styes start at the lash line

An external stye develops at the base of an eyelash when bacteria infect a Zeis gland, a small sebaceous gland attached to each follicle, or a Moll gland, a specialized sweat gland. Because the infection sits on the surface, the bump is usually small, sharply tender to the touch, and clearly visible in the mirror. Drainage tends to happen outward, which shortens the timeline.

Internal styes form deeper in the eyelid

An internal stye forms when one of the meibomian glands, the longer oil-producing glands that run vertically inside the eyelid and secrete part of the tear film, becomes obstructed and infected. The bump sits beneath the skin, so you may feel a deep ache or generalized eyelid swelling rather than a single sharp point. Drainage, when it occurs, happens on the inner surface of the lid and resolves more slowly than an external lesion.

Because internal lesions drain slowly on a hidden surface, daily habits largely determine whether bacteria reach the deeper glands in the first place.

FeatureExternal StyeInternal Stye
LocationBase of an eyelashInside the eyelid tissue
Glands involvedZeis or Moll glandsMeibomian glands
Pain patternSharply tender, pinpointDeeper, more diffuse ache
Drainage directionOutward through the skinInward toward the back of the lid
Typical timeline5 to 7 days7 to 10 days or longer

Everyday Habits That Introduce Bacteria to the Eyelid

The bacteria that seed a stye are rarely exotic. They travel from surfaces you touch every day, which is why the same habits keep producing the same problem in people who are prone to styes.

Repeated exposure alone rarely explains chronic styes, which is why underlying skin and systemic conditions deserve a closer look.

  • Touching or rubbing the eyes: Fingertips carry staph from doorknobs, phones, and keyboards directly to the lash line, where it settles into a follicle.
  • Old or contaminated eye makeup: Mascara older than three months harbors bacteria right at the opening of the follicle, especially along the moist wand.
  • Sharing towels or cosmetics: A shared towel passes staph from one person’s skin to another’s face, and a borrowed mascara wand does the same in seconds.
  • Sleeping in contact lenses: Lenses worn overnight create a warm, closed environment that lets bacteria multiply against the cornea and lid margin.
  • Skipping lens hygiene: Reusing old solution or topping off a case instead of replacing the fluid lets biofilm build up on the lens surface.

Replace mascara every three months, even if it still looks fine. The dark, moist tube is one of the most reliable breeding grounds for staph in a bathroom.

Underlying Skin and Health Conditions That Raise Stye Risk

Sometimes the problem is less about what you do and more about the baseline condition of your eyelid. Certain chronic conditions change oil chemistry or inflammation along the lash line, making the glands easier to block and harder to clear.

Chronic eyelid and skin conditions

Blepharitis, a persistent inflammation of the eyelid margin, leaves the glands clogged with debris and primed for repeated infection. Ocular rosacea affects the same area, flushing the lid margin and thickening oil secretions. Seborrheic dermatitis adds flaky skin along the lashes, which migrates into the follicles. Together, these conditions create an environment where styes keep returning.

Hormonal shifts and immune status

Puberty, pregnancy, and menstrual cycles all change sebum production, which can alter how easily the meibomian glands clog. Stress and immune suppression work through a different pathway, lowering the body’s ability to keep routine bacterial colonization in check. When the immune system is distracted, even a small amount of staph in a blocked gland can snowball into a full infection.

Stye Versus Chalazion: Clearing Up the Most Common Mix-Up

Most eyelid bumps that are not styes are chalazia, and confusing the two can delay the right response. The key is in what the bump feels like and how fast it developed.

Why a chalazion feels different

A chalazion is a blocked meibomian gland without active infection. Without the bacterial component, the inflammation is sterile, which makes the lump firm, painless, and slow to develop over weeks. Styes, by contrast, are tender, red, and often visibly filled with pus within days. A chalazion rarely needs antibiotics and often responds to steady warm compress use; a stye can occasionally require medical attention if it does not drain.

Distinguishing the two shapes both the prevention plan ahead and the threshold for booking an appointment.

FeatureStye (Hordeolum)Chalazion
CauseBacterial infection of a follicle or glandBlocked gland without active infection
TendernessYes, often sharply painfulUsually painless
OnsetDaysWeeks
AppearanceRed, swollen, may form a pus headFirm, smooth, skin-colored lump
Typical resolution7 to 10 daysWeeks to months, sometimes chronic

Breaking the Cycle: Prevention and Knowing When to Seek Care

Most styes are self-limiting, but a small set of habits dramatically reduces how often they appear, and a clear set of warning signs tells you when home care is not enough.

Daily habits that prevent recurrence

Warm compresses applied for 10 to 15 minutes, three or four times a day, soften blocked ducts and bring early lesions to a head faster. Daily lid hygiene with a gentle cleanser or a small amount of diluted baby shampoo on a clean washcloth clears the oil and bacteria that seed infection. Replace eye makeup on a regular schedule, never share cosmetics, and wash pillowcases and towels on a hot cycle each week to interrupt the bacterial loop.

When to seek medical evaluation

A stye that grows rapidly, blocks vision, fails to improve within a week, or recurs in the same spot deserves a professional look. Recurrent lesions in particular can point to an underlying condition such as blepharitis or ocular rosacea that needs targeted treatment. If the swelling spreads across the entire lid, produces thick discharge, or comes with fever, an eye care professional should examine it promptly to rule out a deeper infection.

If styes keep appearing in the same area, treat it as a signal, not bad luck. A chronic underlying condition is often the missing piece.

Key Takeaways

  • Bacterial origin: Styes start when Staphylococcus aureus enters a blocked follicle or oil gland, and most clear within 7 to 10 days.
  • Two gland types: External styes involve Zeis or Moll glands at the lash line; internal styes involve the deeper meibomian glands.
  • Habit-driven exposure: Touching the eyes, old makeup, shared towels, and poor contact lens hygiene are the most common routes for bacteria to reach the lid.
  • Underlying conditions matter: Blepharitis, ocular rosacea, hormonal shifts, and immune suppression raise the baseline risk of stye formation.
  • Different from a chalazion: A stye is an active infection, while a chalazion is a sterile blockage that feels firm and painless.
  • Prevention works: Lid hygiene, fresh makeup, hot-washed linens, and proper contact lens care cut recurrence sharply.

The Bottom Line

Styes are not random. They form when bacteria reach a blocked gland, and the same handful of habits, including touching your face, wearing old mascara, sleeping in contacts, and skipping lid hygiene, keep delivering bacteria to the same vulnerable openings. Clean habits break that loop. When styes keep returning despite consistent prevention, a clinician can check for the chronic conditions that quietly feed the cycle.

FAQ

What causes a stye on your eyelid?

Blocked eyelash follicles or eyelid oil glands infected by Staphylococcus aureus bacteria are the usual starting point for stye formation. The trapped bacteria multiply and trigger inflammation, which produces the red, tender bump at the lash line.

Can stress cause a stye?

Immune defenses that normally keep skin bacteria in check can weaken under chronic stress, allowing a blocked gland to become infected. Combined with poor sleep or skipped hand washing, stress can make it easier for staph to colonize a blocked gland.

Are styes caused by being run down?

Lowered immune response from fatigue allows bacteria to overgrow inside a blocked gland, turning minor irritation into a full stye. The underlying cause is still bacterial infection, but fatigue and illness make styes easier to develop.

Is a stye caused by a bacterial infection?

Yes. The vast majority of styes are bacterial infections centered on an oil gland or eyelash follicle, with Staphylococcus aureus as the most common organism.

Can touching your eyes cause a stye?

Touching your eyes with unwashed hands is one of the most reliable ways to transfer staph from surfaces directly to the lash line, where it can settle into a follicle and start an infection.

Why do I keep getting styes?

Recurrent styes usually point to an underlying issue such as blepharitis, ocular rosacea, or seborrheic dermatitis that keeps the eyelid glands inflamed and blocked. Persistent lid hygiene and a professional evaluation are the standard next steps.

Staff
Staff

Our team brings together health and food enthusiasts who are passionate about discovering reliable health information, nutritious choices, and enjoyable food experiences. From everyday nutrition and healthy eating ideas to recipes, ingredients, food trends, and standout dishes, we share carefully researched and thoughtfully curated content to help readers make informed choices about what they eat and enjoy.