A stye is a small, painful lump that forms on the edge of your eyelid. It happens when a bacteria gets into the oil glands in your eyelash follicles. The bacteria most often responsible is Staphylococcus aureus. To prevent a stye, keep your hands away from your eyes and practice good eyelid hygiene.
What Exactly Is a Stye and How Does It Form?
A stye is an infected oil gland. Think of it like a pimple that forms on the inside or outside of your eyelid. The medical term is a hordeolum.
Your eyelids have many tiny oil glands near the base of your eyelashes. These glands normally produce oil that keeps your eyes moist. When the opening of one of these glands gets blocked, bacteria can get trapped inside and multiply. The result is a red, swollen, and painful bump.
Most styes develop over a few days. They usually go away on their own within a week. But they can be annoying and uncomfortable while they heal.
What Causes A Stye In Your Eye And How To Prevent It?
The root cause of most styes is a bacterial infection. The bacteria that live harmlessly on your skin can sometimes get into the oil glands of your eyelids. This happens most often when you touch your eyes with unwashed hands.
Several things increase your risk of getting a stye. Touching or rubbing your eyes a lot is a major one. Wearing old or expired eye makeup can also introduce bacteria directly to the gland openings. Sleeping in contact lenses or not cleaning them properly is another common cause.
Prevention comes down to basic hygiene. Wash your hands thoroughly before touching your face or eyes. Replace your mascara and eyeliner every three months. Never share eye makeup with anyone else. Remove all eye makeup completely before sleeping every single night.
Some people get styes more often than others. If you have a condition called blepharitis, which is chronic eyelid inflammation, you are more prone to styes. In that case, regular eyelid cleaning with a warm washcloth or a doctor-recommended eyelid scrub can help reduce the frequency.
What Are the Symptoms and How Do You Know It Is a Stye?
A stye usually starts with a small area of tenderness on the eyelid. Within a day or two, a red bump appears. The bump may have a small yellow pus-filled center, similar to a pimple.
Common symptoms include:
- A red, swollen bump on the eyelid edge
- Pain or tenderness in that spot
- Swelling of the entire eyelid in some cases
- Watery eyes or a feeling like something is in your eye
- Sensitivity to light
- Crusting along the eyelid margin when you wake up
It is important to know the difference between a stye and a chalazion. A stye is an infection and is painful. A chalazion is a blocked oil gland that is not infected. It usually forms further back on the eyelid and is not painful, just a firm lump. Chalazions often take longer to go away, sometimes months. If you are unsure which you have, see an eye doctor for a clear diagnosis.
What Actually Works for Treating a Stye at Home?
The most effective home treatment is a warm compress. Research published in medical journals consistently shows that applying steady, gentle heat helps the stye drain naturally. Heat opens the blocked gland and allows the pus to escape.
Here is how to do it correctly. Take a clean washcloth and soak it in warm water. Not hot water — test it on your wrist first. Wring out the excess water and hold the cloth against your closed eye for 10 to 15 minutes. Do this three to four times a day. The more consistently you do it, the faster the stye will resolve.
Do not squeeze or pop the stye. This is the most important rule. Squeezing can push the infection deeper into the eyelid or spread it to other glands. It can also cause a more serious infection called cellulitis. Let the stye open on its own with the help of warm compresses.
Some people report that gentle massage along the eyelid after a warm compress helps. There is limited evidence for this, but it is unlikely to cause harm if done very gently with clean fingers. If it hurts, stop.
| Treatment | What the Evidence Shows | Safety Notes |
|---|---|---|
| Warm compresses | Strong evidence. Speeds healing and drainage. | Safe. Use clean cloth each time. |
| Eyelid massage | Limited evidence. May help after heat. | Safe if gentle. Stop if painful. |
| Tea bag compresses | Widely claimed but no strong evidence. Warmth is likely the active factor, not the tea. | Safe if tea bag is clean and not too hot. |
| Over-the-counter antibiotic ointments | Weak evidence for styes specifically. | Ask a pharmacist or doctor first. |
When Should You See a Doctor for a Stye?
Most styes resolve on their own without medical treatment. But there are clear situations where you should see an eye doctor.
See a doctor if the stye does not improve after a week of warm compresses. Also go if the swelling spreads to the rest of your eyelid or your cheek. That could mean the infection is spreading. If your vision changes or the pain becomes severe, seek medical attention right away.
Some people get styes that keep coming back in the same spot. A doctor may need to drain it or prescribe an antibiotic. In rare cases, a persistent lump on the eyelid that does not heal could be something more serious. The American Academy of Ophthalmology recommends that any eyelid bump that does not go away after two weeks should be examined by a doctor.
If you have a condition that weakens your immune system, such as diabetes, you should be more cautious. Infections that are minor in healthy people can become serious in people with compromised immune systems. See a doctor earlier rather than later.
Common Misconceptions About Styes
One of the most common myths is that styes are caused by “seeing something dirty” or by someone looking at you the wrong way. This has no basis in reality. Styes are caused by bacteria, not by anything you see.
Another misconception is that styes are contagious. The bacteria that cause styes can spread from person to person, but it is not highly contagious. You would need direct contact with the infected drainage. That said, do not share washcloths or towels with someone who has an active stye. Wash your hands after touching your own stye.
Some people believe that rubbing a gold ring on a stye will make it go away. This is an old folk remedy with no evidence behind it. Worse, it can introduce more bacteria to the area. Stick with warm compresses.
There is also a belief that styes are caused by stress. While stress can weaken your immune system and make you more prone to infections in general, it is not a direct cause of styes. The root cause remains bacterial infection of a blocked gland.
How to Prevent Styes Long-Term
Prevention is mostly about consistent habits. Wash your hands before touching your face. This is the single most effective step you can take.
For people who wear eye makeup, hygiene is critical. Replace mascara every three months. Replace eyeliner at the same interval. Do not use old eye shadow that has been sitting around for years. Clean your makeup brushes regularly with soap and water. Never share eye makeup with anyone.
Contact lens wearers need to be extra careful. Always wash your hands before handling lenses. Replace your contact lens case every three months. Never sleep in lenses that are not designed for overnight wear. Follow the cleaning and replacement schedule your eye doctor gave you.
If you have blepharitis or get styes often, your doctor may recommend a daily eyelid hygiene routine. This can include using a warm compress every morning followed by a gentle eyelid scrub. Some doctors recommend over-the-counter eyelid wipes specifically designed for this purpose. The National Eye Institute notes that regular eyelid cleaning can reduce the frequency of styes in people who are prone to them.
Frequently Asked Questions
Can a stye go away on its own?
Yes, most styes drain and heal on their own within one to two weeks with warm compress treatment at home.
Is it safe to pop a stye like a pimple?
No, you should never pop or squeeze a stye because it can spread the infection deeper into your eyelid.
How long does a stye usually last?
A stye typically lasts about three to seven days if you use warm compresses regularly, though the swelling may take longer to fully disappear.
Can you get a stye from not washing your face?
Not washing your face does not directly cause a stye, but poor hygiene around your eyes increases the risk of bacteria entering the oil glands.

