Most styes clear up on their own within one to two weeks, but warm compresses can speed the process significantly. A stye is a small, painful bump that forms at the edge of your eyelid when an oil gland or hair follicle becomes infected with bacteria. The good news: you can treat nearly all styes at home with a few simple steps.
Warm Compresses Are the Primary Treatment
The single most effective thing you can do is apply a warm, moist compress to your eye for 5 to 10 minutes, 3 to 6 times a day. The heat softens the blocked material inside the gland, encourages drainage, and increases blood flow to help your body fight the infection. Use a clean washcloth soaked in warm (not hot) water. Avoid microwaving a wet cloth, as it can heat unevenly and burn the delicate skin of your eyelid.
As the compress cools, re-soak it to maintain consistent warmth throughout each session. Some people find a heated eye mask more convenient since it holds temperature longer, but a simple washcloth works just as well. After each compress session, you can gently massage the area around the stye with clean fingers to further encourage drainage. Let the stye open and drain on its own. It often ruptures during a compress session, releasing a small amount of pus, after which the pain drops quickly.
Never Pop or Squeeze a Stye
It’s tempting, but squeezing or popping a stye can release bacteria and spread the infection to other parts of your eye. The American Academy of Ophthalmology is clear on this: never attempt to pop one yourself. Doing so can turn a minor nuisance into a more serious infection that may require prescription treatment. Let the warm compresses do the work instead.
Keep the Area Clean
While you’re treating a stye, gentle eyelid hygiene makes a real difference. Wash your hands before touching your face, and clean your eyelid with a mild, tear-free cleanser or diluted baby shampoo on a cotton pad. This removes excess oil and debris that could slow healing or contribute to another blockage. Avoid wearing eye makeup or contact lenses until the stye has fully resolved, since both can introduce more bacteria and irritate the area.
Over-the-Counter Options
You’ll find OTC stye ointments at most pharmacies. These are lubricant ointments, not antibiotics. Their active ingredients are typically mineral oil and white petrolatum, which work as emollients to relieve burning and irritation and prevent further dryness. To apply, pull down your lower lid and place about a quarter-inch line of ointment along the inside of the eyelid. These products won’t cure the stye faster, but they can make you more comfortable while it heals. Over-the-counter pain relievers like ibuprofen or acetaminophen can also help manage the soreness.
When a Stye Needs Medical Treatment
If your stye hasn’t improved after a week or two of consistent warm compresses, it’s worth seeing a doctor. You may need a prescription antibiotic ointment or eye drops. If the infection has spread beyond the bump itself into the surrounding eyelid skin, oral antibiotics are sometimes necessary.
For styes that become large, firm, and persistent, a doctor can perform a quick in-office drainage procedure. This is a minor process done under local anesthesia, and it resolves the bump almost immediately. Styes that linger for many weeks without draining sometimes transition into a chalazion, a painless, firm nodule in the center of the eyelid caused by a blocked oil gland rather than active infection. Chalazia often need this same drainage procedure to fully resolve.
Stye vs. Chalazion
In the first day or two, a stye and a chalazion look identical: a swollen, red, tender eyelid. After that initial period, they diverge. A stye stays painful and settles right at the eyelid margin, often forming a small yellowish pustule at the base of an eyelash. A chalazion moves toward the center of the eyelid and becomes a small, firm, nontender lump. The distinction matters because chalazia aren’t infections and don’t respond to antibiotics, though warm compresses help both.
Warning Signs That Need Urgent Attention
Rarely, an eyelid infection can spread to the deeper tissues around the eye socket, a condition called cellulitis. Watch for these red flags: swelling that extends well beyond the eyelid, fever, eye pain that feels deep rather than surface-level, changes in your vision, or the eye appearing to bulge forward. Any of these symptoms, especially in a child, warrant a trip to the emergency room. Caught early, this type of infection responds well to treatment, but it should not wait.
Preventing Styes From Coming Back
Some people are prone to recurring styes, often because of a chronic condition called blepharitis, which is low-grade inflammation along the eyelid margins. If you get styes more than once or twice a year, a daily eyelid cleaning routine can make a significant difference. Each morning, apply a warm compress for a few minutes, then gently scrub your lash line with a clean cloth and diluted baby shampoo or a commercial lid scrub. This keeps the oil glands along your lids from clogging in the first place.
Other practical habits that help: replace eye makeup every few months (mascara in particular harbors bacteria), never share eye cosmetics, remove all makeup before bed, and wash your hands before inserting or removing contact lenses. If you notice your eyelids frequently feel crusty or irritated in the morning, that’s a sign of blepharitis worth addressing with consistent lid hygiene before the next stye shows up.

