A stye is a bacterial infection involving one or more of the small glands near the base of your eyelashes. It is similar to a boil or a pimple and is often painful.
A stye (sty) is a red, painful lump near the edge of your eyelid that may look like a boil or a pimple. Styes are often filled with pus. A stye usually forms on the outside of your eyelid, but sometimes it can form on the inner part of your eyelid.
In most cases, a stye will begin to disappear on its own in a couple days. In the meantime, you may be able to relieve the pain or discomfort of a stye by applying a warm washcloth to your eyelid.
Products & Services
Signs and symptoms of a stye include:
- A red lump on your eyelid that is similar to a boil or a pimple
- Eyelid pain
- Eyelid swelling
Another condition that causes inflammation of the eyelid is a chalazion. A chalazion occurs when there's a blockage in one of the small oil glands near the eyelashes. Unlike a stye, a chalazion usually isn't painful and tends to be most prominent on the inner side of the eyelid. Treatment for both conditions is similar.
When to see a doctor
Most styes are harmless to your eye and won't affect your ability to see clearly. Try self-care measures first, such as applying a warm washcloth to your closed eyelid for five to 10 minutes several times a day and gently massaging the eyelid. Contact your doctor if:
- The stye doesn't start to improve after 48 hours
- Redness and swelling involves the entire eyelid or extends into your cheek or other parts of your face
From Mayo Clinic to your inbox
Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus expertise on managing health.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information, and understand which
information is beneficial, we may combine your email and website usage information with
other information we have about you. If you are a Mayo Clinic patient, this could
include protected health information. If we combine this information with your protected
health information, we will treat all of that information as protected health
information and will only use or disclose that information as set forth in our notice of
privacy practices. You may opt-out of email communications at any time by clicking on
the unsubscribe link in the e-mail.
Thank you for subscribing!
You'll soon start receiving the latest Mayo Clinic health information you requested in your inbox.
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
A stye is caused by an infection of oil glands in the eyelid. The bacterium staphylococcus is commonly responsible for most of these infections.
You are at increased risk of a stye if you:
- Touch your eyes with unwashed hands
- Insert your contact lenses without thoroughly disinfecting them or washing your hands first
- Leave on eye makeup overnight
- Use old or expired cosmetics
- Have blepharitis, a chronic inflammation along the edge of the eyelid
- Have rosacea, a skin condition characterized by facial redness
To prevent eye infections:
- Wash your hands. Wash your hands with soap and warm water or use an alcohol-based hand sanitizer several times each day. Keep your hands away from your eyes.
- Take care with cosmetics. Reduce your risk of recurrent eye infections by throwing away old cosmetics. Don't share your cosmetics with others. Don't wear eye makeup overnight.
- Make sure your contact lenses are clean. If you wear contact lenses, wash your hands thoroughly before handling your contacts and follow your doctor's advice on disinfecting them.
- Apply warm compresses. If you've had a stye before, using a warm compress regularly may help prevent it from coming back.
- Manage blepharitis. If you have blepharitis, follow your doctor's instructions for caring for your eyes.
June 14, 2022
- Yanoff M, et al., eds. Benign eyelid lesions. In: Ophthalmology. 5th ed. Elsevier; 2019. https://www.clinicalkey.com. Accessed April 28, 2020.
- Chalazion and hordeolum. Merck Manual Professional Edition. https://www.merckmanuals.com/professional/eye-disorders/eyelid-and-lacrimal-disorders/chalazion-and-hordeolum-stye. Accessed April 27, 2020.
- Fowler GC, et al., eds. Chalazion and hordeolum. In: Pfenninger and Fowler's Procedures for Primary Care. 4th ed. Elsevier; 2020. https://www.clinicalkey.com. Accessed April 28, 2020.
- Ghosh C, et al. Eyelid lesions. https://www.uptodate.com/contents/search. Accessed April 28, 2020.
- How to use cosmetics safely around your eyes. American Academy of Ophthalmology. https://www.aao.org/eye-health/tips-prevention/eye-makeup. Accessed April 28, 2020.
- What you need to know about contact lens hygiene and compliance. American Optometric Association. https://www.aoa.org/patients-and-public/caring-for-your-vision/contact-lenses/what-you-need-to-know-about-contact-lens-hygiene-and-compliance. Accessed April 28, 2020.
- Chalazia and stye treatment. American Academy of Ophthalmology. https://www.aao.org/eye-health/diseases/chalazion-stye-treatment. Accessed April 28, 2020.
- Softing Hataye AL (expert opinion). Mayo Clinic. June 28, 2020.
Products & Services