A stye is a small, painful lump that forms on the edge of your eyelid. It looks like a pimple or a boil and is caused by a bacterial infection, most often Staphylococcus aureus. The good news is that most styes are harmless and clear up on their own within a few days. The most effective treatment is a warm compress applied several times a day, which helps the stye drain naturally. You should never pop or squeeze a stye, as this can spread the infection deeper into your eyelid. Here is a clear look at what styes are, how to treat them safely, and how to prevent them from coming back.
What Exactly Causes a Stye?
A stye forms when bacteria get trapped in the tiny oil glands at the base of your eyelashes. These glands normally keep your eyes lubricated. When the opening of a gland becomes blocked, bacteria can multiply inside, causing swelling, redness, and pain.
There are two types of styes. An external stye forms at the base of an eyelash follicle, and an internal stye forms deeper inside the eyelid on an oil gland. Both types cause similar symptoms, though internal styes can be more painful and take slightly longer to heal.
Several habits increase your risk. Touching your eyes with unwashed hands is the most common cause. Wearing eye makeup overnight, using old or expired cosmetics, and not removing makeup properly can also block glands. Chronic conditions like blepharitis, which is inflammation of the eyelid margins, and rosacea make styes more likely to occur.
How To Get Rid Of A Stye Treatments And Prevention: The Core Routine
The single most effective home treatment is a warm compress. Heat helps soften the hardened oil blocking the gland, allowing the stye to come to a head and drain on its own. This is not a folk remedy—it is the standard first-line treatment recommended by eye care professionals.
To do it correctly, soak a clean washcloth in warm water. Wring it out so it is damp but not dripping. Place it over your closed eyelid for 10 to 15 minutes. Do this three to four times a day. The key is the warmth, not the pressure. Keep the cloth comfortably warm, and re-wet it if it cools down.
Continue this routine for several days even if you do not see immediate improvement. Most styes start to drain within three to five days of consistent warm compresses. When it drains, you may notice a small amount of yellow pus. Clean the area gently with a clean cloth and mild soap, and wash your hands thoroughly afterward.
Do not squeeze or pop the stye. This is the most important rule. Squeezing can push bacteria deeper into the eyelid tissue and cause a more serious infection called cellulitis. It can also damage the delicate structures of the eye.
What Not To Do When You Have a Stye
Beyond never squeezing, there are other things to avoid. Do not wear contact lenses until the stye has completely healed. Lenses can introduce more bacteria and slow recovery. Do not wear eye makeup during the infection, and throw away any makeup you used right before the stye appeared. The products are likely contaminated.
Avoid rubbing your eye, even if it itches. Rubbing can irritate the stye and spread bacteria to the other eye. Wash your hands frequently, especially after touching your face.
Over-the-counter pain relievers like ibuprofen or acetaminophen can help with discomfort. Follow the dosing instructions on the package. Do not use antibiotic eye drops without a prescription. Most simple styes do not require antibiotics, and using them incorrectly can promote bacterial resistance.
When Should You See a Doctor?
Most styes resolve without medical treatment, but some need professional care. See a doctor if the stye does not improve after 48 hours of warm compresses, or if it does not drain within a week. Seek immediate medical attention if the redness and swelling spread to your entire eyelid or cheek, if your vision changes, or if you develop a fever.
These symptoms can indicate a more serious infection that requires prescription treatment. A doctor may prescribe antibiotic ointment or, in some cases, perform a minor in-office procedure to drain the stye. This is a simple procedure done with topical anesthesia and should only be performed by a professional.
If you get styes frequently, mention this to your doctor. Recurrent styes may be a sign of an underlying condition like blepharitis or a skin disorder that needs long-term management.
How To Prevent Styes From Coming Back
Prevention focuses on hygiene and reducing gland blockage. Wash your hands thoroughly before touching your face or eyes. This simple habit prevents most styes.
Remove all eye makeup every night before bed. Use a gentle makeup remover and ensure no residue remains on the lash line. Replace eye makeup regularly. Mascara and eyeliner should be replaced every three months, as bacteria accumulate over time. Never share eye makeup with anyone else.
If you wear contact lenses, follow proper hygiene. Wash your hands before handling lenses, use fresh solution each time, and replace lenses according to the schedule recommended by your eye care provider. Do not sleep in lenses unless they are specifically designed for overnight wear.
For people with chronic blepharitis, daily eyelid hygiene can help. This may include using a warm compress every morning and gently cleaning the eyelid margins with a diluted baby shampoo solution or a commercially available eyelid scrub. Some clinicians recommend this as a maintenance routine, though the evidence for specific products varies.
Is It a Stye or Something Else?
Not every bump on the eyelid is a stye. A chalazion is a blocked oil gland that is not infected. Chalazia are usually painless, feel like a firm lump, and grow more slowly than styes. They often appear further from the edge of the eyelid than a stye.
The treatment for a chalazion is similar—warm compresses to encourage drainage. However, chalazia can take longer to resolve, sometimes several weeks or months. If a chalazion does not shrink on its own, a doctor may need to drain it.
Other rare conditions can also cause eyelid bumps. A small, painless growth could be a cyst or a benign tumor. If you are unsure what the bump is, or if it does not behave like a typical stye, have it examined by a healthcare professional. Do not assume all eyelid bumps are the same.
Key Takeaways
Styes are common, painful, and usually not serious. The best treatment is a warm compress applied three to four times daily for 10 to 15 minutes. This promotes natural drainage and speeds healing.
Never squeeze a stye. This can cause serious complications. Keep your hands clean, avoid eye makeup and contact lenses during the infection, and see a doctor if the stye does not improve within 48 hours or if symptoms worsen.
Prevention comes down to consistent hygiene. Wash your hands, remove makeup nightly, replace cosmetics regularly, and manage any underlying eyelid conditions. If styes keep returning, talk to a doctor about a long-term prevention plan.
Frequently Asked Questions
How long does a stye last?
A stye usually lasts three to five days with consistent warm compress treatment. Without treatment, it may take up to a week or longer to drain.
Can I pop a stye like a pimple?
No. Squeezing a stye can spread the infection deeper into your eyelid and cause a more serious condition called cellulitis. Let it drain on its own with warm compresses.
Is it safe to wear makeup with a stye?
No. Avoid eye makeup until the stye has fully healed, and throw away any makeup you used just before the stye appeared because it may be contaminated.
Are styes contagious?
Styes are not transmitted from person to person like a cold, but the bacteria that cause them can spread through shared towels or makeup. Do not share these items with others.

