Our Services
Medical Information
Helpful Resources
Published on: 3/1/2026
A painful, swollen eyelid is most often a stye, a mild bacterial blockage that usually improves with warm compresses several times daily, gentle eyelid cleaning, pausing makeup and contacts, and not popping, with most healing in 7 to 14 days.
There are several factors to consider, including red flags like spreading redness, severe pain, fever, vision changes, or no improvement after 1 to 2 weeks that need prompt care and other causes like chalazion or cellulitis that change next steps; see the complete guidance below for when antibiotics or drainage are needed and how to prevent recurrences.
A 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, use Ubie's free AI-powered Eye pain symptom checker to get personalized insights in minutes and 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, check your Eye pain symptoms with Ubie's trusted AI tool to help determine your next steps before contacting a healthcare provider.
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.