Most styes heal on their own within one to two weeks, and the single best thing you can do is apply warm compresses consistently. A stye is a small, painful bump that forms along the eyelid margin when an oil gland or hair follicle gets infected with bacteria. It looks like a tiny yellowish pustule near the base of an eyelash, and while it can be annoying and uncomfortable, it rarely requires medical intervention.
Start With Warm Compresses
Warm compresses are the first-line treatment for a stye, and they work by softening the blocked gland so it can drain naturally. Moisten a clean washcloth with warm water, wring it out, and hold it gently against your closed eyelid for five minutes. Repeat this several times a day. The warmth increases blood flow to the area and helps the stye come to a head faster.
A few practical tips make this more effective. The washcloth cools down quickly, so re-wet it with warm water partway through each session to keep consistent heat on the area. 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 than a washcloth, which can make it easier to stick with the routine.
While you’re treating the stye, avoid squeezing or popping it. Forcing it open can push the infection deeper into the eyelid tissue and make things significantly worse.
Over-the-Counter Options
You’ll find OTC stye ointments at most pharmacies, but it’s worth knowing what they actually contain. The most common products are lubricant ointments made from mineral oil and white petrolatum. These are emollients, not antibiotics. They temporarily relieve burning and irritation and help prevent further dryness around the eye, but they don’t treat the underlying infection. They can offer comfort while you wait for the stye to resolve, especially if the bump is making your eye feel gritty or dry.
Artificial tears can also help if the stye is causing general eye irritation. Avoid wearing contact lenses until the stye clears, since the lens can trap bacteria against the eye and slow healing.
When a Stye Needs Medical Treatment
Most styes respond to warm compresses alone, but some need more help. If a stye hasn’t started improving after a week of consistent home care, or if it’s getting noticeably worse, it’s reasonable to have it evaluated.
For mild to moderate styes that aren’t resolving, a doctor may prescribe antibiotic drops or ointment to apply directly to the eyelid. Oral antibiotics are reserved for more serious cases where the entire eyelid becomes swollen, red, and painful, which happens in a small number of people. If the stye hardens into a firm, painless lump in the center of the eyelid rather than draining, it may have turned into a chalazion, a clogged gland that’s no longer actively infected but won’t go away on its own. Chalazia sometimes need to be drained by an eye doctor through a quick in-office procedure.
Stye vs. Chalazion
People sometimes confuse styes with chalazia because both cause a bump on the eyelid, but they behave differently. A stye stays painful and sits right at the eyelid margin, near your lashes. A chalazion typically localizes to the body of the eyelid (farther from the edge), and over time it becomes a small, nontender nodule. A chalazion often starts as a stye that didn’t fully drain. The blocked gland gets walled off by the body, leaving a painless but persistent lump.
The distinction matters because treatment differs. Warm compresses help both, but a chalazion that lingers for weeks may need a steroid injection or minor drainage procedure to resolve.
Warning Signs of a Serious Infection
Rarely, a stye can progress to a deeper skin infection around the eye called preseptal cellulitis. This happens when bacteria spread beyond the original gland into the surrounding eyelid tissue. Symptoms include worsening redness and swelling that extends well beyond the original bump, along with increasing pain.
The more dangerous scenario is when infection spreads behind the eye into the eye socket itself. Signs of this include fever combined with pain and swelling all around the eye socket, vision changes, and the eye appearing to bulge forward. This is an emergency. If you or your child develops a fever alongside significant eye swelling, seek immediate care.
Preventing Styes From Coming Back
Styes tend to recur in some people, and basic eyelid hygiene is the best way to break the cycle. Wash your hands before touching your face or eyes. If you wear eye makeup, replace mascara and eyeliner every few months since bacteria accumulate in the product over time, and always remove makeup completely before bed. Leaving mascara on overnight clogs the small oil glands along your lash line, which is exactly how styes start.
If you get styes frequently, a daily eyelid-cleaning routine can help. Using a cotton swab or clean washcloth with diluted baby shampoo or a pre-made lid scrub, gently clean along your lash line each morning. This removes the debris and excess oil that feed bacterial overgrowth. People with chronic eyelid inflammation (blepharitis) are especially prone to recurrent styes and benefit most from making this a daily habit.

