Most styes heal on their own within one to two weeks, and the single most effective treatment is a warm compress applied consistently. A stye is a small, painful bump on the eyelid caused by a bacterial infection in an oil gland or hair follicle, and while it looks alarming, it’s rarely dangerous. The key is knowing how to speed up healing at home and recognizing the few situations that need medical attention.
What Causes a Stye
Styes form when bacteria, usually staph, infect one of the tiny glands along the eyelid margin. Most are external styes, meaning the infection starts in an eyelash follicle or one of the small oil glands right at the lash line. These show up as a red, swollen bump on the outer edge of the eyelid, often with a visible white or yellow head after a day or two.
Internal styes are less common and develop deeper in the eyelid, inside a larger oil gland called a meibomian gland. These tend to be more painful, harder to see from the outside, and slower to drain on their own. If the swelling is severe or you develop a fever, an internal stye is more likely and may need prescription treatment rather than home care alone.
Warm Compresses Are the Core Treatment
Hold a warm, damp cloth against your closed eyelid for 2 to 5 minutes at a time. The water should be as warm as you can comfortably handle without burning yourself. You can repeat this as often as you like throughout the day. The heat softens the blocked oil inside the gland and encourages the stye to drain naturally, which is how most styes resolve.
To make a compress, soak a clean washcloth in warm water, wring it out, and press it gently against the affected eye. The cloth cools down quickly, so you may need to re-soak it a few times during each session. Use a fresh washcloth each time to avoid reintroducing bacteria. Some people find microwavable eye masks hold heat longer and are easier to use consistently.
Consistency matters more than any single session. Applying compresses three to four times a day for several days is what makes the difference. Many styes start draining within a few days of consistent warm compresses, and the bump usually flattens out within a week or two.
What Not to Do
Don’t squeeze or pop a stye. It’s tempting because it looks like a pimple, but squeezing can push the infection deeper into the eyelid or spread bacteria to surrounding tissue. Let it drain on its own or with the help of warm compresses.
Avoid wearing contact lenses until the stye heals, since lenses can trap bacteria against the eye and slow recovery. Skip eye makeup too, especially mascara and eyeliner, which sit right on the lash line where the infection lives. Any makeup you used in the days before the stye appeared may be contaminated and should be thrown out.
Over-the-Counter Stye Products
You’ll find stye ointments at most pharmacies, but they’re simpler than they sound. The most common ones contain mineral oil and white petrolatum, which are essentially lubricants. They soothe burning and irritation and help prevent the area from drying out, but they don’t contain antibiotics and won’t clear the infection itself. Think of them as comfort measures alongside warm compresses, not replacements.
If your symptoms don’t improve within 72 hours of using an OTC product, or if you notice increasing pain, vision changes, or worsening redness, it’s time to stop the OTC approach and see a doctor.
When a Doctor Needs to Step In
Most styes don’t need medical treatment, but a few situations call for it. If the stye hasn’t started improving after a week of consistent warm compresses, or if it keeps growing, a doctor can prescribe antibiotic ointment or drops to apply directly to the eyelid. For internal styes that won’t drain, oral antibiotics are sometimes needed, and the stye may need to be opened with a small incision in the doctor’s office. This is a quick procedure done under local numbing and provides almost immediate relief.
The more urgent concern is when infection spreads beyond the stye into the surrounding skin. This can cause redness and swelling across the entire eyelid or the tissue around the eye socket. If you or your child develops a fever along with significant eye swelling, eye pain, vision changes, or a bulging appearance to the eye, seek emergency care. These are signs of a deeper infection that requires prescription antibiotics promptly.
Stye vs. Chalazion
A chalazion looks similar to a stye but behaves differently. Styes are acute infections: they come on quickly, hurt, and are red and tender. A chalazion is a hard, painless lump inside the eyelid caused by a blocked oil gland that isn’t actively infected. Sometimes a stye that doesn’t fully drain turns into a chalazion over time.
The easiest way to tell them apart is pain and hardness. If the bump is tender and inflamed, it’s likely a stye. If it’s firm, painless, and has been there for weeks, it’s more likely a chalazion. Warm compresses help both conditions, but chalazions are slower to resolve and more often need a doctor to drain them if they persist.
Preventing Styes From Coming Back
Some people get styes repeatedly, and the cause is usually bacterial buildup along the lash line. A simple daily habit can reduce recurrence: gently wash your eyelids with diluted baby shampoo or a pre-moistened lid scrub pad each morning. This removes the oily debris that bacteria feed on.
Replace eye makeup every six months, even if it looks fine. Mascara tubes and liquid eyeliner are warm, dark environments where bacteria thrive. Never share eye makeup or applicators. If you wear contact lenses, wash your hands thoroughly before touching them, and follow the replacement schedule for your lens type.
People with chronic eyelid inflammation, a condition called blepharitis, are especially prone to styes. If you notice persistent flaking, crusting, or redness along both eyelid margins, daily lid hygiene becomes even more important and may need to be a permanent part of your routine.

