Most styes heal on their own within one to two weeks, but a warm compress is the single most effective thing you can do to speed that process along. A stye is a small, painful bump on your eyelid caused by a bacterial infection in a hair follicle or oil gland. While it can look alarming, it’s almost always harmless, and basic home care is usually all you need.
What a Stye Actually Is
A stye forms when bacteria infect one of the tiny glands along your eyelid margin. An external stye starts at the base of an eyelash and looks like a pimple. It’s usually quite painful, and the swelling can sometimes spread across the entire eyelid. An internal stye develops deeper inside the lid, in one of the oil-producing glands, and tends to be less visible from the outside but just as uncomfortable.
Styes are sometimes confused with a chalazion, which is a blocked oil gland rather than an active infection. A chalazion usually forms farther back on the eyelid, isn’t particularly painful at first, and grows slowly. If a chalazion gets large enough, it can press on the eye and blur your vision. Internal styes can sometimes turn into chalazia if the underlying blockage doesn’t resolve.
Warm Compresses: Your Main Treatment
Heat is the most important part of stye care. A warm compress increases blood flow to the area, helps the blocked gland open, and encourages the stye to drain naturally. Use a clean washcloth soaked in warm water (comfortably hot but not scalding) and hold it against your closed eyelid for 10 to 15 minutes at a time. Do this three to four times a day. Rewet the cloth as it cools so you maintain steady warmth throughout the session.
Some people find that a washcloth loses heat too quickly. A microwavable eye mask or a clean sock filled with rice and heated in the microwave can hold warmth longer. Whatever you use, make sure it’s clean each time to avoid reintroducing bacteria.
You may notice the stye comes to a head and drains on its own after a few days of consistent compresses. This is normal and a sign of healing. Do not squeeze or pop the stye yourself. Squeezing can push the infection deeper into the eyelid tissue or spread bacteria to surrounding glands, making things significantly worse.
Keeping the Eyelid Clean
Gentle eyelid cleaning helps clear bacteria and debris from the lid margin, which supports healing and prevents reinfection. A simple method: add a few drops of baby shampoo to a cup of warm water, then dip a cotton swab or clean washcloth into the solution. With your eyes closed, wipe gently across each eyelid about 10 times, making sure to clean across the lashes as well. Rinse thoroughly with clean water afterward.
If you shower, you can let warm water run over your closed eyes for about a minute, then use a washcloth with a small amount of baby shampoo to gently scrub the lids and lashes before rinsing. Pre-made eyelid cleansing wipes are another convenient option and are available at most pharmacies.
What to Avoid While You Have a Stye
Stop wearing eye makeup until the stye has fully healed. Mascara and eyeliner that were used before or during the infection can harbor bacteria, so throw those products away and start fresh. As a general rule, replacing eye makeup every three months helps prevent bacterial buildup even when you’re healthy.
If you wear contact lenses, switch to glasses until the stye resolves. Contacts can irritate the already inflamed eyelid and may spread bacteria across the eye’s surface. If you use biweekly or monthly lenses, replace the pair you were wearing when the stye developed, along with the lens case. Daily disposable lenses are less of a concern since you discard them after each use.
Resist the urge to rub or touch the affected eye. Your hands carry bacteria that can worsen the infection or introduce it to the other eye. If you need to touch the area for compress application or cleaning, wash your hands thoroughly first.
When a Stye Needs Medical Attention
Most styes respond well to home care, but there are situations where you should see a doctor. If the stye hasn’t started improving after 48 hours of consistent warm compresses, that’s worth a visit. The same is true if the redness and swelling spread beyond the eyelid to involve your cheek or other parts of your face, which could signal a more serious skin infection.
For a persistent stye, a doctor may prescribe a combination antibiotic and steroid ointment to fight the infection and reduce inflammation. In rare cases where the stye doesn’t drain on its own, a doctor can lance and drain it in a quick office procedure. This is safe when done by a professional but should never be attempted at home.
Preventing Styes From Coming Back
Styes aren’t caused by poor hygiene, stress, or diet. But certain habits can reduce your risk of developing them. Applying a warm compress to your eyelids once a day, even when you don’t have a stye, helps keep the oil glands flowing freely. Remove all eye makeup before bed every night. Wash your hands before touching your eyes or handling contact lenses. Avoid sharing makeup, towels, or pillows with others.
If you get styes repeatedly, the cause may be an underlying condition like blepharitis (chronic inflammation of the eyelid margin) or rosacea. An eye doctor can evaluate whether one of these conditions is driving recurrent infections and may prescribe a daily antibiotic ointment to break the cycle.

