Our Services
Medical Information
Helpful Resources
Published on: 4/9/2026
A painful stye is a red, tender eyelid lump from a blocked, infected oil gland or eyelash follicle; most improve in 1 to 2 weeks with warm compresses 10 to 15 minutes, 3 to 5 times daily, gentle lid cleaning, and by avoiding makeup, contacts, and squeezing.
Seek medical care if swelling worsens after 48 hours, you have vision changes, severe pain, fever, or spreading redness, since cellulitis may need antibiotics or drainage. There are several factors to consider that could change your next steps; see the complete guidance below.
A painful stye can seem to appear overnight. One day your eyelid feels slightly irritated, and the next it's red, swollen, and tender to the touch. While a stye is usually not dangerous, it can be uncomfortable and sometimes signals a deeper issue that needs medical attention.
Here's what you need to know about a stye, why your eyelid is swollen, and what medical steps to take next.
A stye (also called a hordeolum) is a small, painful lump that forms along the edge of your eyelid. It's usually caused by a bacterial infection—most commonly Staphylococcus bacteria—that affects the oil glands or hair follicles in the eyelid.
A stye may look like:
It can form on the outside of the eyelid (external stye) or on the inside (internal stye). Internal styes may be more painful because they press against the surface of the eye.
The swelling from a stye happens because your body is fighting off infection. When bacteria enter an oil gland or eyelash follicle, your immune system responds by sending white blood cells to the area. This creates:
The gland may become blocked, causing fluid and pus to build up. This is why a stye sometimes develops a yellowish center before draining.
A stye can happen to anyone, but certain factors increase your risk:
If you get frequent styes, it may signal an underlying eyelid condition that needs medical treatment.
It's easy to confuse a stye with a chalazion.
If the swelling isn't painful and lasts for weeks, it may not be a stye. A doctor can help confirm the diagnosis.
Most styes cause mild to moderate symptoms that improve within 1–2 weeks. Common symptoms include:
If you're experiencing crusty discharge or gunk around your eyes along with the stye, you can use Ubie's free AI-powered Eye booger symptom checker to help identify possible causes and understand when to seek care.
Most styes improve on their own with simple care. The main goal is to help the stye drain naturally.
Warmth helps open the blocked gland and allows drainage.
Popping a stye can spread infection and worsen swelling.
While a stye is usually mild, some situations require medical attention.
These could signal a more serious infection, such as preseptal cellulitis or, rarely, orbital cellulitis. These conditions require prompt medical treatment.
If you experience severe swelling, eye pain with movement, double vision, or fever, speak to a doctor urgently. These symptoms can indicate a serious infection that should not be ignored.
If home care doesn't work, your doctor may recommend:
Used if there is active bacterial infection or spreading inflammation.
Needed if:
For persistent or large styes, a doctor may numb the eyelid and make a small incision to drain it safely. This is quick and usually done in an office setting.
Never attempt to drain a stye yourself.
Yes, especially if you get them frequently.
If you have chronic eyelid inflammation, a doctor may recommend a long-term lid hygiene routine.
The bacteria that cause a stye can spread, but the condition itself is not highly contagious. Good hygiene reduces the risk of passing bacteria to others.
Avoid:
Most eyelid swelling is due to a simple stye, but occasionally other conditions may look similar:
If a lump does not resolve after several weeks, keeps returning in the same location, or causes vision changes, speak to a doctor. Persistent eyelid lumps should always be evaluated.
A painful stye is common and usually harmless, but it can be uncomfortable. The good news is that most styes improve within one to two weeks with warm compresses and basic eyelid care.
Here's what to remember:
If you're dealing with unusual discharge or want to better understand what's causing your Eye booger alongside your stye, a free symptom checker can provide helpful guidance on next steps.
And most importantly: Speak to a doctor if you experience severe pain, vision changes, spreading redness, fever, or if anything feels significantly worse than a typical stye. While most cases are mild, eye infections can become serious if left untreated.
Taking early, sensible action can help you heal faster and protect your vision.
(References)
* Akpek EK, Çelik U, Göktaş S, Kısakol P, İnan UU. Acute hordeolum in adults: Evaluation and management. Surv Ophthalmol. 2023 Jul-Aug;68(4):815-829. doi: 10.1016/j.survophthal.2023.01.002. Epub 2023 Jan 28. PMID: 36738914.
* Chang M, Lin H, Tang Z, Li Z. Eyelid and orbital infections. Curr Opin Ophthalmol. 2022 Jul 1;33(4):347-353. doi: 10.1097/ICU.0000000000000859. PMID: 35619934.
* Lee JJ, Seiff SR. Common Eyelid Disorders. Am Fam Physician. 2021 Jan 15;103(2):109-118. PMID: 33443427.
* American Academy of Ophthalmology Preferred Practice Pattern Committee. Preferred Practice Pattern: Chalazion and Hordeolum. Ophthalmology. 2019 Jan;126(1):P1-P20. doi: 10.1016/j.ophtha.2018.10.027. Epub 2018 Oct 20. PMID: 30343825.
* Bernardes TF, Bonfioli AA. Inflammatory conditions of the eyelid: A review. Int Ophthalmol. 2018 Jun;38(3):1317-1331. doi: 10.1007/s10792-017-0621-5. Epub 2017 Jun 2. PMID: 28577038.
We would love to help them too.
For First Time Users
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.
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.