Most styes clear up on their own within one to two weeks, but warm compresses can speed the process and ease discomfort in the meantime. A stye is a small, painful bump that forms when an oil gland along your eyelid gets infected, almost always by staph bacteria that naturally live on your skin. The infection causes a red, tender swelling that can make your whole eyelid feel sore.
What Causes a Stye
Your eyelids are lined with tiny oil glands that help keep your eyes lubricated. When one of these glands gets clogged and bacteria move in, the result is a stye. The bacteria responsible is nearly always Staphylococcus aureus, a common organism found on skin and in the nose.
There are two types, and they feel slightly different. An external stye forms in a gland near the base of your eyelashes and points outward toward the skin surface. It looks like a small pimple right at the edge of your lid. An internal stye forms deeper inside the lid, in one of the larger oil-producing glands. Internal styes can be more painful and sometimes cause more widespread swelling because the infection is trapped under tissue. In some cases, an internal stye causes enough inflammation to trigger a low fever or chills, though that’s uncommon.
Warm Compresses: The Most Effective Home Treatment
The single best thing you can do is apply a warm compress. The heat softens the hardened oil plugging the gland, encourages the stye to drain on its own, and increases blood flow to help your body fight the infection. Moisten a clean washcloth with warm water, wring it out, and hold it gently against the affected eye for about five minutes. Repeat this several times throughout the day.
A few practical tips make compresses more effective. The washcloth cools quickly, so you’ll want to re-wet it with warm water every minute or two to maintain the temperature. Use a fresh washcloth each time, or at minimum each day, to avoid reintroducing bacteria. Some people find a microwavable eye mask holds heat longer and is easier to manage, but a washcloth works just as well.
What Not to Do
The urge to squeeze or pop a stye is strong, but resist it. Squeezing can push the infection deeper into the eyelid tissue or spread bacteria to surrounding glands, potentially turning one stye into several. Let the warm compresses do the work of drawing the contents to the surface.
Stop wearing contact lenses until the stye is fully healed. Contacts can irritate the area and trap bacteria against your eye. Switch to glasses for the duration. You should also stop applying eye makeup immediately, and throw away any products you used on or near the infected eye, especially mascara and eyeliner. These products can harbor the bacteria and reinfect you later.
Avoid touching or rubbing the affected eye, and wash your hands thoroughly if you do need to touch it (for compresses or cleaning). Styes aren’t contagious in casual contact, but the bacteria can transfer from your fingers to your other eye or to shared towels.
Typical Healing Timeline
Most styes come to a head and drain within a few days of consistent warm compress use. After the stye drains, either on its own or because the compresses softened it enough, the swelling and pain drop off quickly. Full resolution, including any residual redness or minor lump, typically takes one to two weeks total.
If you’re still dealing with a painful, swollen bump after two weeks of home treatment, something else may be going on. The bump may have transitioned into a chalazion, which is a related but different problem. A chalazion forms when a blocked oil gland causes chronic inflammation without active infection. Unlike a stye, which stays painful and sits right at the eyelid margin, a chalazion becomes a small, painless nodule in the body of the eyelid. Chalazions can linger for weeks or months and sometimes need different treatment.
When a Stye Needs Medical Treatment
A stye that doesn’t respond to warm compresses after a couple of weeks, or one that keeps getting worse despite home care, may need a doctor’s attention. An eye doctor can prescribe an antibiotic ointment applied directly to the eyelid to help clear the bacterial infection. For styes that form a firm abscess and won’t drain, a minor in-office procedure to lance and drain the bump is sometimes necessary. This is quick, done under local anesthesia, and provides almost immediate relief.
Certain symptoms signal a more serious problem that needs prompt care. If the redness and swelling spread beyond the bump to involve your entire eyelid or the skin around your eye socket, the infection may be moving into the surrounding tissue. This condition, called periorbital cellulitis, requires medical treatment. Seek immediate care if you develop a fever along with eye pain and swelling, if your vision changes, or if the eye itself begins to bulge forward. These are signs the infection is spreading to deeper tissues and needs urgent treatment.
Preventing Styes From Coming Back
Some people get styes once and never again. Others deal with them repeatedly, which usually points to a chronic issue with the oil glands along the eyelids. If you’re prone to recurrent styes, a daily lid hygiene routine can make a real difference. Gently clean your eyelid margins each morning with a warm, damp washcloth or a commercially available lid scrub. This keeps the gland openings clear and reduces the bacterial load on your lids.
People with skin conditions like rosacea or chronic dandruff (seborrheic dermatitis) are more likely to develop styes because these conditions change the quality of the oil their glands produce, making blockages more common. Managing the underlying skin condition often reduces stye frequency as well. If you wear eye makeup daily, remove it completely each night. Old makeup residue is one of the most common contributors to clogged eyelid glands.