Our Services
Medical Information
Helpful Resources
Published on: 3/2/2026
Eye styes are often painful and cause a swollen eyelid because a blocked oil gland gets infected and inflamed; most improve within 3 to 10 days. There are several factors to consider. See below to understand more.
Start warm compresses 10 to 15 minutes, 3 to 4 times daily, keep lids clean, avoid makeup and contacts, and use over the counter pain relief if needed. Seek care urgently for severe or worsening pain, spreading redness or swelling, fever, vision changes, or no improvement in 1 to 2 weeks; complete details on causes, treatment, prevention, and when it could be something more serious are below.
An eye stye can be uncomfortable, irritating, and sometimes surprisingly painful. If you've woken up with a swollen eyelid or a tender bump near your lashes, you're not alone. Eye styes are common and, in most cases, harmless. But that doesn't mean they should be ignored.
Here's what you need to know about why an eye stye hurts, what's causing the swelling, and the medically approved steps you should take next.
An eye stye (also called a hordeolum) is a small, painful lump that forms on or inside the eyelid. It happens when an oil gland or hair follicle becomes blocked and infected — most often by Staphylococcus bacteria, which normally live on the skin.
There are two main types:
Both types can cause swelling, redness, and tenderness.
Yes — an eye stye can be painful, especially in the first few days.
Pain happens because:
You may notice:
The discomfort usually peaks within 2–3 days and improves as the stye drains or heals.
Swelling is your body's natural response to infection.
When bacteria infect an oil gland:
Sometimes the swelling extends beyond the bump itself and affects the entire eyelid. This can look alarming but is still common with an eye stye.
However, severe swelling, spreading redness, fever, or vision changes are not typical and require medical attention.
Most eye styes share similar features:
The bump may fill with pus and eventually drain on its own.
Most eye styes improve within:
If it lasts longer than two weeks, it may have developed into a chalazion — a non-infected blocked oil gland that causes a firm, usually painless lump.
Several factors increase your risk of developing an eye stye:
Stress and lack of sleep may also weaken your immune defenses, making infections more likely.
The good news: Most eye styes can be treated at home.
Apply a warm (not hot) compress to the closed eyelid:
Warmth helps:
Use a clean washcloth each time.
Do not pop an eye stye. Squeezing can spread infection deeper into the eyelid.
Until the eye stye heals:
This reduces irritation and prevents reinfection.
If needed, you may use:
These help reduce pain and inflammation.
Most eye styes resolve without prescription treatment. But seek medical care if:
A doctor may prescribe:
If you're experiencing concerning symptoms and want to understand whether your discomfort is typical for a stye, try Ubie's free AI-powered Eye pain symptom checker to get personalized guidance on your next steps.
Most swollen eyelids are simple eye styes. However, rarely, symptoms may signal a more serious condition such as:
Warning signs of something more serious include:
If you experience any of these, seek urgent medical care.
Prevention focuses on hygiene and eyelid care.
If you get frequent eye styes, your doctor may recommend a daily warm compress routine.
An eye stye itself is not highly contagious. However, the bacteria causing it can spread through:
To prevent spread:
Yes, an eye stye can be painful, especially during the first few days. The swelling and tenderness happen because a small oil gland in your eyelid becomes blocked and infected.
The good news:
Still, don't ignore worsening symptoms. Severe pain, vision changes, fever, or spreading redness need prompt medical evaluation.
If you're uncertain whether your symptoms match a typical eye stye, consider using a trusted online tool like a free symptom check for Eye pain to guide your next steps. And most importantly, speak to a doctor about any symptoms that feel severe, unusual, or potentially serious. Early evaluation can prevent complications and provide peace of mind.
Your eyes are delicate — but with proper care, most eye styes resolve quickly and safely.
(References)
* Kim HY, Han YK. Hordeolum: A Comprehensive Review of Etiology, Pathophysiology, and Management. Clin Ophthalmol. 2023 Aug 24;17:2507-2516. doi: 10.2147/OPTH.S425977. PMID: 37626359; PMCID: PMC10461665.
* Gupta M, Sarwal D, Chacko M, et al. Acute Hordeolum and Chalazion: An Overview of the Etiology, Pathophysiology, and Management Options. Cureus. 2024 Jan 15;16(1):e52331. doi: 10.7759/cureus.52331. PMID: 38318721; PMCID: PMC10865805.
* Varghese A, Das L, Mathai A, et al. Hordeolum (Stye) and Chalazion: Clinical Characteristics and Outcomes. Cureus. 2022 Jul 23;14(7):e27228. doi: 10.7759/cureus.27228. PMID: 36043004; PMCID: PMC9397631.
* Maram J, Zaidman GW. Hordeolum and Chalazion Management. Am J Ophthalmol. 2022 Jan;233:209-216. doi: 10.1016/j.ajo.2021.09.006. Epub 2021 Sep 16. PMID: 34537130.
* Su Y, Hou Y, Yu W, et al. Topical Treatment for Acute External Hordeolum: A Systematic Review. Front Med (Lausanne). 2022 Jun 17;9:907379. doi: 10.3389/fmed.2022.907379. PMID: 35790691; PMCID: PMC9246197.
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.