Doctors Note Logo

Published on: 3/10/2026

Painful Sty? Why Your Eyelid Is Swelling & Medically Approved Steps

A swollen, painful eyelid is often a sty, a small bacterial infection of an oil gland that typically improves in 7 to 10 days with warm compresses, gentle eyelid hygiene, avoiding squeezing, and taking a break from eye makeup and contacts.

There are several factors to consider, including look-alikes and red flags like worsening swelling, fever, vision changes, or pain with eye movement that need medical care. See below for complete, medically approved steps, prevention tips, and when to seek treatment so you can choose the right next step.

answer background

Explanation

Painful Sty? Why Your Eyelid Is Swelling & Medically Approved Steps

A sty (also spelled stye) is a common, painful bump that forms along the edge of your eyelid. If your eyelid is swollen, tender, and red, a sty is often the reason. While it can look alarming and feel uncomfortable, most sties are mild and heal on their own with proper care.

Still, not every swollen eyelid is just a simple sty. Understanding what's happening — and knowing when to act — can help you recover faster and avoid complications.


What Is a Sty?

A sty is a small infection of an oil gland or eyelash follicle in the eyelid. It's usually caused by bacteria (most often Staphylococcus species) that normally live on the skin but enter a blocked gland.

There are two main types:

  • External sty (hordeolum):
    Forms at the base of an eyelash. You'll see a red, pimple-like bump on the outer eyelid.

  • Internal sty:
    Develops deeper inside the eyelid when an oil gland becomes infected. These can be more painful and cause more swelling.

Sties are not dangerous in most cases, but they can be uncomfortable.


Why Is Your Eyelid Swelling?

Swelling happens because your body is fighting an infection. When bacteria enter a blocked oil gland:

  • The immune system sends white blood cells to the area.
  • Fluid and inflammatory chemicals build up.
  • The eyelid becomes red, swollen, warm, and tender.

This is a normal immune response — but in a small space like your eyelid, even minor inflammation can feel intense.


Common Symptoms of a Sty

A sty usually develops quickly — often within a day or two. You may notice:

  • A painful lump on the eyelid
  • Redness and swelling
  • Tenderness when blinking
  • A scratchy or gritty feeling in the eye
  • Mild tearing
  • Crusting along the eyelid
  • Sensitivity to light (less common)

Sometimes, the bump fills with pus and may drain on its own.


What Causes a Sty?

Several factors increase your risk of developing a sty:

  • Touching your eyes with unwashed hands
  • Not removing eye makeup fully
  • Using old or contaminated makeup
  • Wearing contact lenses without proper hygiene
  • Chronic eyelid inflammation (blepharitis)
  • Skin conditions like rosacea
  • Weak immune system

Sties are not usually caused by stress directly, but stress can weaken immune defenses, making infections more likely.


Is It Really a Sty?

Not all eyelid swelling is a sty. Other conditions can look similar:

  • Chalazion: A painless lump caused by a blocked oil gland (not an active infection).
  • Blepharitis: Chronic inflammation along the eyelid margins.
  • Allergic reaction: Often affects both eyes and causes itching.
  • Preseptal cellulitis: A more serious infection of the eyelid tissues.
  • Orbital cellulitis: A rare but dangerous infection deeper in the eye socket.

If your symptoms are worsening or you're experiencing significant discomfort, try Ubie's free AI-powered Eye pain Symptom Checker to help determine whether you're dealing with a simple sty or a condition that requires immediate medical attention.


Medically Approved Steps to Treat a Sty

Most sties improve within 7–10 days with simple home care. Here's what doctors recommend:

✅ 1. Use Warm Compresses (Most Important Step)

This is the first-line treatment.

  • Soak a clean cloth in warm (not hot) water.
  • Wring it out.
  • Place it over your closed eyelid for 10–15 minutes.
  • Repeat 3–5 times daily.

Warmth helps:

  • Improve blood flow
  • Soften hardened oils
  • Encourage natural drainage

Consistency matters more than intensity.


✅ 2. Keep the Area Clean

Gently clean your eyelids:

  • Use diluted baby shampoo or a mild eyelid cleanser.
  • Avoid scrubbing aggressively.
  • Rinse thoroughly.

This reduces bacteria and prevents spread.


✅ 3. Avoid Squeezing or Popping the Sty

It can be tempting — don't do it.

Squeezing can:

  • Spread infection
  • Cause deeper tissue damage
  • Increase swelling
  • Lead to more serious infections

Let it drain naturally.


✅ 4. Stop Wearing Eye Makeup and Contacts

Until the sty heals:

  • Avoid mascara, eyeliner, and eyeshadow.
  • Discard old eye makeup.
  • Switch to glasses instead of contact lenses.

This prevents reinfection and irritation.


✅ 5. Over-the-Counter Pain Relief (If Needed)

If discomfort is significant:

  • Acetaminophen or ibuprofen may help.
  • Follow package dosing instructions.
  • Avoid medicated eye drops unless directed by a doctor.

When Should You See a Doctor?

Most sties are mild. However, you should seek medical care if:

  • Swelling worsens instead of improving
  • The entire eyelid becomes very swollen
  • You develop fever
  • Vision changes occur
  • Eye movement becomes painful
  • Redness spreads beyond the eyelid
  • The sty lasts longer than 10–14 days
  • You get frequent sties

A doctor may prescribe:

  • Antibiotic ointment
  • Oral antibiotics (if spreading infection is suspected)
  • Minor drainage procedure (rare cases)

If symptoms are severe or spreading quickly, speak to a doctor immediately. In rare cases, deeper infections around the eye can become serious and require urgent treatment.


Can a Sty Become Dangerous?

Most do not.

However, untreated infection can occasionally spread to surrounding tissues, causing:

  • Preseptal cellulitis
  • Orbital cellulitis (rare but serious)

Warning signs include:

  • High fever
  • Severe eye pain
  • Bulging eye
  • Difficulty moving the eye
  • Blurred or double vision

These symptoms require urgent medical attention.

Do not delay care if you notice these changes.


How Long Does a Sty Last?

Typical timeline:

  • Day 1–2: Tenderness and swelling begin.
  • Day 3–5: Bump becomes more noticeable.
  • Day 5–7: May drain.
  • Day 7–10: Gradual healing.

Internal sties may take slightly longer.

If a bump remains but is no longer painful, it may have turned into a chalazion, which sometimes needs medical treatment.


How to Prevent Future Sties

Prevention focuses on hygiene and gland health.

Simple prevention steps:

  • Wash hands before touching your eyes.
  • Remove eye makeup every night.
  • Replace mascara every 3 months.
  • Clean makeup brushes regularly.
  • Follow proper contact lens care.
  • Manage blepharitis if you have it.
  • Use warm compresses regularly if you're prone to sties.

For people with recurring sties, a doctor may recommend a consistent eyelid cleaning routine.


Frequently Asked Questions About Sty

Is a sty contagious?

The bacteria can spread through direct contact. Avoid sharing towels, makeup, or pillowcases.

Can stress cause a sty?

Stress doesn't directly cause a sty, but it may weaken immunity, increasing infection risk.

Can I go to work or school?

Yes. A sty is not typically a reason to stay home unless symptoms are severe.

Should I use antibiotic eye drops right away?

Not usually. Most sties resolve with warm compresses alone. Antibiotics are reserved for specific cases.


The Bottom Line

A sty is a common eyelid infection that causes swelling, redness, and pain. While uncomfortable, most cases improve within a week using:

  • Warm compresses
  • Gentle eyelid hygiene
  • Avoiding makeup and contact lenses
  • Patience

Do not squeeze or pop the bump.

If symptoms worsen, vision changes, or swelling spreads, speak to a doctor right away. Although rare, more serious infections around the eye can occur and require prompt treatment.

When you're uncertain about your symptoms or need guidance on whether to seek care, Ubie's free Eye pain Symptom Checker can help you quickly assess your situation and understand your next steps based on your specific symptoms.

And remember: anytime symptoms feel severe, unusual, or potentially life-threatening, speak to a doctor immediately. Your eyes are delicate — early care is always the safest choice.

(References)

  • * Branes L, Schechter CD. Hordeolum (Sty). 2024 Jan-. In: StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing; 2024 Jan-. PMID: 32837949.

  • * Raskin N, Briscoe C. Treatment of hordeolum: an update. Curr Opin Ophthalmol. 2021 Jul 1;32(4):307-310. doi: 10.1097/ICU.0000000000000768. PMID: 33758156.

  • * Milman T, Intili A, Ben Zaken Z, et al. Common Eyelid Disorders. Dis Mon. 2020 Apr;66(4):100898. doi: 10.1016/j.disamonth.2019.10.007. Epub 2019 Nov 13. PMID: 31735314.

  • * Sun Q, Chen X, Yang M, Li G, Yang W, Zhang X. Microbial spectrum of external hordeolum. J Ophthalmol. 2020 Sep 4;2020:6677934. doi: 10.1155/2020/6677934. PMID: 32908757; PMCID: PMC7489501.

  • * Shokrollahi K, Khan U, Davies J. Eyelid and Adnexal Disorders: A Review. Plast Reconstr Surg Glob Open. 2022 Sep 14;10(9):e4521. doi: 10.1097/GOX.0000000000004521. PMID: 36245842; PMCID: PMC9558909.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Learn more about symptoms

Eye pain

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.