A stye is a small, painful bump on the eyelid caused by a bacterial infection in one of the tiny oil glands near your eyelashes. It looks similar to a pimple, typically fills with pus, and almost always resolves on its own within a week or two. While uncomfortable and sometimes alarming, styes are common and rarely cause lasting problems.
What Causes a Stye
The bacteria responsible is almost always Staphylococcus aureus, a germ that naturally lives on your skin. When it gets into one of the small oil glands along your eyelid margin, the gland becomes infected and swollen. This is the same type of process that causes a pimple elsewhere on your body, just in a more sensitive location.
There are two types, depending on which gland is affected. An external stye, the more common kind, develops right at the base of an eyelash where a small oil gland opens into the hair follicle. You’ll see a yellowish pustule form at the lash line with redness and swelling around it. An internal stye forms deeper in the eyelid, in one of the larger oil glands embedded in the eyelid’s structural plate. These point inward toward the eye rather than outward, and you might notice a yellow spot on the inner surface of your eyelid when you pull it back.
Several things raise your risk: touching your eyes with unwashed hands, sleeping in old eye makeup, using expired cosmetics, or having a chronic condition called blepharitis (ongoing inflammation of the eyelid margins). Contact lens wearers who handle their lenses without washing their hands first are also more prone.
What a Stye Looks and Feels Like
The first sign is usually tenderness or a gritty sensation in one spot on your eyelid. Within a day or two, a visible bump forms. External styes appear right at the eyelash line and often develop a white or yellow head, much like a pimple. The surrounding skin turns red and puffy, and in some cases the swelling spreads across the entire eyelid.
Pain is the defining feature. A stye hurts, especially when you blink or touch it. Your eye may water more than usual, and you might feel like something is stuck in your eye. Crusting along the lash line is common, particularly in the morning.
Stye vs. Chalazion
These two bumps look similar at first and can even be impossible to tell apart during the first couple of days. After that window, they diverge. A stye stays painful and stays near the eyelid margin. A chalazion, which starts as a clogged oil gland without infection, migrates toward the center of the eyelid and becomes a firm, painless lump. A chalazion rarely makes the whole eyelid swell the way a stye can.
Sometimes a stye that doesn’t fully drain turns into a chalazion. If your bump loses its tenderness but doesn’t go away, that transition may have happened.
How to Treat a Stye at Home
Warm compresses are the single most effective home treatment. Soak a clean washcloth in warm water, wring it out, and hold it gently against your closed eyelid for five minutes. Do this several times a day. The heat increases blood flow, encourages the blocked gland to open, and helps the stye drain on its own. You’ll likely need to rewet the cloth once or twice during each session to keep it warm.
Beyond compresses, keep the area clean. Wash your hands before touching anywhere near your eyes. Gently clean your eyelid margins with diluted baby shampoo on a cotton pad or clean fingertip, which helps clear away crusting and excess oil. Resist the urge to squeeze or pop the stye. Forcing it open can spread the infection into surrounding tissue and make things significantly worse.
While the stye is active, stop wearing eye makeup and avoid contact lenses if possible. Both can introduce more bacteria and irritate the already inflamed area.
When a Stye Needs Medical Treatment
Most styes break open, drain, and heal without any professional intervention. But if the pain and swelling haven’t started improving after about 48 hours of consistent warm compresses, it’s worth seeing an eye doctor.
A doctor may prescribe antibiotic eye drops or ointment to apply directly to the eyelid. If the infection has spread to the skin surrounding the eye, oral antibiotics may be needed. For styes that won’t drain on their own, a minor in-office procedure can help. Your doctor numbs the area with local anesthesia and makes a tiny incision to release the trapped pus. This is quick, and relief is usually immediate.
Signs of a More Serious Problem
Styes very rarely lead to complications, but infection can occasionally spread beyond the eyelid. Watch for redness that extends across the skin around your eye, a fever, significant swelling that makes it hard to open your eye, or any changes in your vision. In children especially, a high fever combined with a bulging eye or swelling all around the eye socket warrants an emergency room visit, as this can signal orbital cellulitis, a deeper infection that needs urgent treatment.
Preventing Styes From Coming Back
If you’ve had one stye, you’re more likely to get another. A few habits make a real difference. Wash your hands thoroughly before touching your face or handling contact lenses. Clean your eyelid margins regularly, particularly if you tend toward oily or flaky skin around your eyes. Diluted baby shampoo works well for this and is gentle enough for daily use.
Replace all eye makeup every three months, even if it doesn’t seem old. Mascara and eyeliner tubes are warm, dark environments where bacteria thrive. Always apply makeup to a freshly cleaned face, and never share eye cosmetics with others. If you wear contact lenses, follow the recommended replacement schedule and clean them properly each night.

