How to Treat a Stye: Home Care and When to See a Doctor

Most styes heal on their own within one to two weeks, and the single most effective treatment you can do at home is applying warm compresses consistently. A stye is a small, painful bump that forms at the base of an eyelash or under the eyelid when an oil gland gets infected with bacteria. While it looks alarming, it’s rarely serious, and a few days of simple care usually brings relief.

Warm Compresses Are the Core Treatment

Apply a warm, moist compress to your closed eye for 5 to 10 minutes, 3 to 6 times a day. This is the most important thing you can do. The heat softens the blocked oil inside the gland, encourages it to drain naturally, and increases blood flow to help your body fight the infection. Use a clean washcloth soaked in warm (not hot) water. Don’t heat a wet cloth in the microwave, as it can get dangerously hot and burn the thin skin of your eyelid.

The cloth will cool quickly, so re-soak it every couple of minutes to maintain warmth throughout the session. Some people find it easier to use a microwavable eye mask designed for this purpose, which holds heat more evenly. Whichever method you choose, consistency matters more than any single session. Most people notice the stye starting to shrink within a few days of regular compresses.

What Else Helps at Home

After each warm compress, gently clean your eyelid. Use a cotton swab or pad with a dedicated eyelid cleanser (available at most pharmacies) and lightly rub along the lash line. This removes crusting and debris that can keep the gland blocked. Soap or baby shampoo is sometimes suggested, but research shows these can sting, are hard to use near the eye, and may strip the natural oil layer your eyelids need. Purpose-made eyelid wipes or foams work better and are more comfortable.

Over-the-counter stye ointments exist, but they’re essentially lubricants. The most common product contains mineral oil and petrolatum, which temporarily relieve burning and irritation and prevent further dryness. They won’t treat the infection itself, but they can make your eye feel more comfortable while you wait for the stye to resolve. For pain, an oral anti-inflammatory like ibuprofen can help with swelling and tenderness.

Resist the urge to squeeze or pop the stye. Forcing it open can spread the infection deeper into the eyelid or to surrounding tissue. Let the warm compresses do the work.

Stye vs. Chalazion

If the bump on your eyelid isn’t particularly painful, it may be a chalazion rather than a stye. The two look similar but behave differently. A stye is very painful, tends to appear right at the edge of the eyelid near the lash line, and develops quickly. A chalazion is usually painless (or only mildly tender), sits farther back on the eyelid, and grows more slowly. Sometimes a stye that doesn’t fully drain turns into a chalazion over time.

The initial home treatment is the same for both: warm compresses and lid hygiene. But chalazia are more likely to need professional treatment if they persist, because they involve a hardened plug of oil rather than an active infection.

How Long Recovery Takes

A typical stye lasts one to two weeks and often resolves on its own even without treatment. Warm compresses can speed this up noticeably. You’ll usually see the bump come to a head (like a small pimple), drain on its own, and then shrink over a few days. Some styes drain while you sleep, so you may wake up with crusting on your lashes and a smaller bump.

During healing, avoid wearing contact lenses or eye makeup. Contacts can irritate the area and trap bacteria, and makeup (especially mascara and eyeliner) can reintroduce bacteria to the lash line or block the gland further.

Signs the Stye Needs Medical Attention

Most styes don’t need a doctor, but certain warning signs mean you should get one involved promptly:

  • No improvement after 1 to 2 weeks of consistent warm compresses and lid hygiene
  • Worsening redness or swelling that spreads beyond the bump itself, which can signal a deeper skin infection called cellulitis
  • Fever or pain when moving your eye, which suggests the infection may be spreading
  • Vision changes, such as blurriness caused by the swollen lid pressing on your eye
  • Frequent recurrence, which may point to an underlying eyelid condition that needs ongoing management

When a stye doesn’t respond to home care, an eye doctor can drain it through a small incision under local anesthesia. This is a quick in-office procedure. In cases where infection has spread to surrounding tissue, oral antibiotics are sometimes needed.

Preventing Styes From Coming Back

Styes tend to recur in some people, often because of chronically clogged oil glands along the eyelid margin. A simple daily eyelid hygiene routine can reduce your risk significantly.

Start by holding a warm compress against your closed eyes for about five minutes each day, even when you don’t have a stye. This keeps the oil glands fluid and less likely to block. Follow with a gentle eyelid massage: using your fingertip or a cotton swab, stroke from the base of the eyelid toward the lash line. This helps push thickened oil out of the glands before it has a chance to harden and cause problems.

Replace eye makeup every few months, and never share mascara, eyeliner, or eye brushes. If you wear contact lenses, wash your hands thoroughly before handling them. These habits sound basic, but the majority of styes start with bacteria from your skin or hands getting into a vulnerable gland. Keeping the area clean and the glands flowing is the most reliable way to keep them from returning.