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 from staphylococcus bacteria. The good news is that most styes are harmless and clear up on their own within a few days to a week. The standard first-line treatment is simple: apply a warm compress to the affected eye for 10 to 15 minutes, three to five times a day. This helps the stye come to a head and drain naturally. You should never pop or squeeze a stye, as this can spread the infection deeper into your eyelid or even into your eye.
What Exactly Is a Stye?
A stye, known medically as a hordeolum, is an acute infection of the oil glands in the eyelid. There are two types. An external stye forms at the base of an eyelash follicle. An internal stye forms deeper inside the eyelid on one of the meibomian glands, which produce the oily layer of your tears.
Both types are typically caused by the bacteria Staphylococcus aureus. These bacteria normally live on your skin without causing problems. Trouble starts when they get trapped in a gland, often after you rub your eyes with unwashed hands or use contaminated makeup.
The infection causes the gland to become blocked and swollen. Your body sends white blood cells to fight the bacteria, which creates pus. This pus is what makes the stye look like a pimple. The area becomes red, tender, and swollen.
How To Treat A Stye On Your Eye: The Core Steps
The most effective home treatment for a stye is a warm compress. Heat is the key. It helps soften the hardened oil blocking the gland and encourages the stye to drain on its own.
Here is how to do it correctly:
- Wash your hands thoroughly with soap and water.
- Soak a clean washcloth in warm, not hot, water. Wring it out so it is damp but not dripping.
- Place the cloth over your closed eyelid.
- Keep it there for 10 to 15 minutes.
- Repeat this three to five times a day.
You should see improvement within two to three days. The stye may release pus and then heal. Continue using warm compresses for a few days after it drains to ensure the gland is fully clear.
Keep your eye area clean. Wash your eyelids gently with a mild baby shampoo diluted in water or an over-the-counter eyelid scrub. This helps prevent the infection from spreading to other glands.
What Not to Do When You Have a Stye
The number one rule is do not squeeze or pop a stye. It can be incredibly tempting, especially when it looks like a whitehead. But squeezing can push the infection deeper into your eyelid tissue. In severe cases, the infection can spread to the orbit of the eye, a condition called orbital cellulitis, which is a medical emergency.
Do not wear eye makeup until the stye is completely gone. Makeup can introduce more bacteria to the area and slow down healing. Throw away any eye makeup you used around the time the stye appeared. The applicators may be contaminated.
Avoid wearing contact lenses while you have a stye. Lenses can irritate the swollen area and potentially transfer bacteria to the surface of your eye. Stick to glasses until the infection clears.
Do not rub your eyes. Rubbing can spread the bacteria to other oil glands, leading to multiple styes.
Over-the-Counter Options and Pain Relief
Warm compresses are the primary treatment, but you can also manage the discomfort. Over-the-counter pain relievers like acetaminophen or ibuprofen can help reduce pain and inflammation. Follow the dosing instructions on the package.
There are stye ointments and creams available at pharmacies. Some contain antibiotics, while others are simply designed to soothe the area. The evidence that these topical antibiotics significantly speed up healing is limited. Most styes resolve with warm compresses alone. If you choose to use an ointment, apply it carefully to the outside of the stye, not directly into the eye.
Some people use tea bags as a warm compress. Black tea and green tea contain tannins, which have mild anti-inflammatory properties. The warmth is the main benefit here. A cooled, moist tea bag can be a fine substitute for a washcloth, but the evidence that the tea itself adds healing benefits is not strong. The heat is what matters.
When to See a Doctor
Most styes are minor and self-limiting. However, you should see a doctor if the stye does not improve after 48 hours of warm compresses. You should also seek medical care if the stye grows rapidly, becomes very large, or bleeds.
See a doctor immediately if you experience any of the following:
- Vision changes or blurring
- Severe pain in or around the eye
- Swelling that spreads to your cheek or the entire side of your face
- Redness that spreads beyond the immediate stye area
- Fever
These symptoms could indicate a more serious infection like preseptal cellulitis or orbital cellulitis. These conditions require prescription antibiotics and sometimes surgical drainage. Do not wait to see if these symptoms improve on their own.
A doctor may prescribe an antibiotic ointment or oral antibiotics for a persistent stye. In rare cases, a stye that does not drain may need to be lanced by an ophthalmologist in their office. This is a quick procedure done under local anesthesia.
Are There Different Types of Styes?
There is a common condition that people often confuse with a stye: a chalazion. A chalazion is a blocked oil gland that is not infected. It usually appears as a firm, painless lump further back on the eyelid. A stye is painful and red at the edge of the lid. A chalazion can develop from a stye that has healed but left a blocked gland behind.
Treatment is similar for both. Warm compresses are the first-line therapy for a chalazion as well. However, a chalazion may take longer to resolve, sometimes several weeks. If a chalazion does not shrink or becomes large enough to press on the eye and affect vision, it needs medical attention.
Recurrent styes can be a sign of an underlying eyelid condition called blepharitis. Blepharitis is a chronic inflammation of the eyelid margins. People with this condition have flaky skin and clogged oil glands at the base of their lashes. Managing blepharitis with daily eyelid hygiene can help reduce the frequency of styes.
Prevention: How to Stop Styes From Coming Back
Good hygiene is the most effective prevention strategy. Wash your hands before touching your face or eyes. This is the single most important habit.
Replace your eye makeup regularly. Mascara and eyeliner should be replaced every three months. Never share eye makeup with anyone else. Bacteria from one person’s skin can easily transfer to another’s makeup.
Always remove eye makeup completely before going to bed. Sleeping with makeup on can clog oil glands overnight, setting the stage for an infection.
If you have chronic dry eyes or blepharitis, keeping those conditions under control is key. Use artificial tears if your eyes are dry. Clean your eyelid margins daily with a warm washcloth or commercial eyelid wipes. Some research suggests that adding omega-3 fatty acids to your diet may improve the quality of the oil in your meibomian glands, which could reduce blockages. The evidence is promising but not definitive.
If you get styes frequently, see an eye doctor. They can check for blepharitis or other issues that might be contributing to the problem. They may recommend a more intensive eyelid hygiene routine or prescribe a low-dose antibiotic to break the cycle of recurrent infections.
Frequently Asked Questions
How long does a stye last?
Most styes clear up on their own within 3 to 7 days with warm compress treatment. If it lasts longer than a week or is getting worse, see a doctor.
Can I pop a stye like a pimple?
No, never squeeze or pop a stye. Doing so can spread the bacterial infection deeper into your eyelid or into your eye, leading to a much more serious condition.
Is it safe to wear contacts with a stye?
No, you should stop wearing contact lenses until the stye has completely healed. Contacts can irritate the swollen eyelid and transfer bacteria to the surface of your eye.
What happens if a stye doesn’t go away?
If a stye does not improve after 48 hours of warm compresses or lasts more than a week, see a doctor. They may prescribe antibiotic ointment, oral antibiotics, or drain the stye in the office.

