Our Services
Medical Information
Helpful Resources
Published on: 3/7/2026
A painful, swollen eyelid is most often a stye — a mild bacterial blockage of an eyelid gland. Most styes heal within 7 to 14 days with simple home care:
When to see a doctor: Seek prompt medical care if you notice spreading redness, severe pain, fever, vision changes, or no improvement after 1 to 2 weeks. Other conditions like a chalazion (a firm, painless lump) or eyelid cellulitis (a serious skin infection) may require antibiotics or minor drainage, so an accurate diagnosis matters.
Because eyelid symptoms can point to very different conditions — each with different treatments and urgency levels — guessing can delay the care you need or lead to unnecessary worry. The fastest way to understand what's likely causing your symptoms and what to do next is to take a free, instant, AI-powered symptom check. In just a few minutes, you'll get personalized insights based on your specific symptoms, helping you decide whether home care is enough or if it's time to see a doctor.
Reviewed for medical accuracy: 07/09/2026
Not seeing your question? No worries.
Submit your own QuestionA painful, swollen eyelid can be uncomfortable and worrying. In many cases, the cause is a stye—a common and usually mild eye condition. While styes are rarely serious, they can be painful and disruptive.
Understanding what's happening and knowing the right stye treatment can help you heal faster and avoid complications.
A stye (also called a hordeolum) is a small, red, tender bump that forms on or inside the eyelid. It develops when an oil gland or hair follicle near your eyelashes becomes blocked and infected—most often by bacteria called Staphylococcus.
A stye can look similar to a pimple and may:
In most cases, a stye affects only one eye.
While styes are common, they're not the only cause of eyelid swelling. Possible causes include:
A key difference:
If you're unsure what's causing your symptoms, Ubie's free AI-powered Eye pain symptom checker can provide personalized insights in minutes and help you understand whether your symptoms need immediate attention.
Styes happen when bacteria infect a clogged oil gland. Risk factors include:
Poor eyelid hygiene increases the risk—but styes can happen even if you're careful.
The good news: most styes go away on their own within 7 to 10 days. The main goal of stye treatment is to reduce pain, help the stye drain naturally, and prevent spread of infection.
This is the most recommended and effective home treatment.
How to do it:
Warmth helps:
Consistency matters more than intensity. Avoid using water that is too hot—it can burn delicate eyelid skin.
Keeping the eyelid clean supports healing.
You can:
Do this once or twice daily.
It can be tempting—but do not pop a stye.
Squeezing may:
Let it drain naturally.
Until the stye heals:
Switch to glasses temporarily to reduce irritation.
Most styes do not require prescription medication. However, a doctor may prescribe:
Antibiotics are not typically needed for simple styes that are improving with warm compresses.
If a stye:
A healthcare provider may perform a minor procedure to drain it safely.
This is quick and typically done under local anesthesia.
With proper stye treatment, most resolve within:
If it lasts longer than 2 weeks, it may have become a chalazion, which sometimes requires different management.
While styes are usually mild, you should speak to a doctor promptly if you notice:
These could be signs of a deeper infection such as preseptal or orbital cellulitis, which can be serious and requires urgent medical care.
If anything feels severe, rapidly worsening, or life-threatening, seek immediate medical attention.
If you get styes frequently, prevention becomes important.
Here's how to reduce your risk:
For people with recurring styes, a doctor may recommend ongoing lid scrubs or other preventive treatments.
It's important to know when eyelid swelling might not be "just a stye."
Seek urgent care if you experience:
These symptoms require immediate medical evaluation.
When in doubt, use Ubie's trusted AI-powered Eye pain symptom checker to help determine your next steps and decide whether you should contact a healthcare provider right away.
A painful, swollen eyelid is most often caused by a stye—a common bacterial infection of an eyelid gland. While uncomfortable, it is usually mild and treatable at home.
The most effective stye treatment includes:
Most styes improve within a week. However, if symptoms worsen, spread, affect your vision, or do not improve, speak to a doctor. Serious infections are uncommon—but they do happen, and early treatment matters.
Your eyes are delicate. Taking symptoms seriously without panicking is the right balance.
If you're unsure what's causing your eyelid swelling or pain, consider using a free online symptom check and then discuss the results with a qualified medical professional.
And always speak to a doctor right away if you experience severe symptoms or anything that could be life threatening.
(References)
* Lumpkin, J. H. (2023). Hordeolum and Chalazion. In *StatPearls [Internet]*. StatPearls Publishing.
* Gupta, C., & Gupta, M. (2020). Management of external hordeolum. *Indian Journal of Clinical and Experimental Ophthalmology*, *2*(4), 384-387.
* Katsimpris, A., Purtskhvanidze, K., & Tsaousis, K. T. (2022). Unilateral Eyelid Swelling as a Diagnostic Dilemma. *Journal of Clinical Medicine*, *11*(13), 3749.
* Rojas-Ronderos, A., Vizueta, J. M., & Mejía-Mejía, L. M. (2021). Hordeolum and Chalazion: Pathogenesis, Clinical Manifestations, and Management. *Current Opinion in Ophthalmology*, *32*(4), 304-309.
* Kassiri, J., & Kassiri, S. (2022). A review of current management strategies for hordeolum and chalazion. *Journal of Contemporary Medical Education*, *2*(1), 22-29.
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.