What Is a Stye? Causes, Symptoms & Treatment

A stye is a small, painful bump on the eyelid caused by a bacterial infection in one of the tiny glands along the lash line. Most styes last one to two weeks and go away on their own with basic home care. They’re extremely common, and while they can be annoying and uncomfortable, they rarely cause serious problems.

What Causes a Stye

Your eyelids contain dozens of small oil-producing glands that help keep your eyes lubricated. When one of these glands gets blocked, bacteria can multiply inside it and trigger an infection. The culprit in 90% to 95% of cases is Staphylococcus aureus, a bacterium that naturally lives on your skin.

There are two types. An external stye forms at the base of an eyelash, where the hair follicle and its surrounding glands become infected. This is the more common type and looks like a pimple sitting right on the edge of your eyelid. An internal stye develops deeper inside the eyelid, in one of the larger oil glands embedded in the lid itself. Internal styes tend to be more painful because they press against the eye as they swell.

What a Stye Looks and Feels Like

The hallmark of a stye is pain. You’ll notice a tender, red bump on your eyelid, usually right along the lash line. The area around it often swells, and your eye may water more than usual. Some people feel like something is stuck in their eye. Over a few days, the bump may develop a small white or yellow head, similar to a pimple, as pus collects inside.

Styes are sometimes confused with a chalazion, which is a different type of eyelid bump. A chalazion forms farther back on the lid, away from the lash line, and is usually not painful. It develops when an oil gland gets blocked without an active infection, creating a firm, slow-growing lump. A stye can sometimes turn into a chalazion if the infection clears but the blocked gland remains swollen.

Who Gets Styes More Often

Anyone can get a stye, but certain conditions make them more likely to recur. Blepharitis, a chronic inflammation of the eyelid margins, is one of the biggest risk factors. It keeps the oil glands irritated and partially blocked, giving bacteria an easy foothold. Blepharitis itself is more common in people with rosacea, dandruff, oily skin, or eye allergies.

Everyday habits matter too. Sleeping in eye makeup clogs the glands along your lash line. Touching your eyes with unwashed hands introduces bacteria directly to the area. Wearing contact lenses that aren’t properly cleaned can also contribute. If you get styes repeatedly, one of these factors is likely at play.

How to Treat a Stye at Home

Warm compresses are the single most effective home treatment. Soak a clean washcloth in warm water, wring it out, and hold it gently against the affected eyelid for 10 to 15 minutes. Repeat this three to four times a day. The heat helps open the blocked gland, promotes drainage, and increases blood flow to the area so your immune system can clear the infection faster. If the cloth cools down, re-soak it to keep the temperature consistent.

Keep the eyelid clean while the stye heals. Dilute a small amount of baby shampoo or a fragrance-free, dye-free soap in warm water, then gently wipe along the lash line with a clean cotton swab or washcloth. This removes debris and bacteria without irritating the delicate skin around your eye.

Resist the urge to squeeze or pop a stye. Forcing it open can spread the infection deeper into the eyelid or into the surrounding tissue. Let it drain on its own. Avoid wearing contact lenses and eye makeup until the stye has fully healed.

When a Stye Needs Medical Attention

Most styes resolve without any professional treatment. But if the pain and swelling haven’t started improving after about 48 hours of consistent warm compresses, it’s worth seeing an eye doctor. You should also seek care if styes keep coming back, since that pattern often points to an underlying condition like blepharitis that needs its own treatment.

In stubborn cases, a doctor may prescribe antibiotic ointment or, for larger styes that won’t drain, perform a quick in-office procedure to open and drain the bump. This is done under local anesthesia and provides fast relief.

Rarely, an eyelid infection can spread to the deeper tissues around the eye, a condition called orbital cellulitis. Warning signs include swelling that extends well beyond the eyelid, the eye itself bulging forward, pain when moving the eye, changes in vision, or fever. These symptoms need urgent medical attention, especially in children.

Preventing Styes

Good eyelid hygiene is the best prevention. Wash your face every night and fully remove eye makeup before bed. If you’re prone to styes, a nightly eyelid scrub with diluted baby shampoo can keep the oil glands clear. Always wash your hands before touching your eyes or handling contact lenses. Replacing eye makeup every few months also reduces bacterial buildup, particularly mascara and eyeliner, which sit closest to the glands.

If you have an underlying condition like rosacea or chronic blepharitis, managing it with your doctor’s guidance will lower your stye risk significantly. Treating the root cause is far more effective than dealing with styes one at a time.