Most eyelid bumps are either styes or chalazia, and both typically resolve with consistent warm compresses applied for 5 minutes, two to four times a day. The treatment approach depends on which type you have, how long it’s been there, and whether it’s painful or just annoying. Here’s how to tell what you’re dealing with and what actually works to clear it up.
Stye vs. Chalazion: Which One Do You Have?
A stye is a small, painful lump caused by a bacterial infection. It usually forms right at the edge of your eyelid, at the base of an eyelash, and looks like a pimple. You’ll often see a small pus spot at its center. Styes tend to make the whole eyelid swell, and they can cause light sensitivity, tearing, crustiness along the lash line, and that gritty “something is stuck in my eye” feeling. They hurt. If your bump appeared quickly and is tender to the touch, it’s probably a stye.
A chalazion is a blocked oil gland deeper in the eyelid. It sits farther back from the lash line, feels like a pea-sized lump under the skin, and is usually not painful. You might not even notice it at first. Chalazia develop more slowly than styes and rarely cause the entire eyelid to swell. A large one can press on the surface of your eye and blur your vision, but most are just a cosmetic nuisance.
Sometimes a stye that doesn’t fully drain turns into a chalazion over time. The infection clears, but the blocked gland remains swollen. So if you had a painful bump that stopped hurting but didn’t go away, that’s likely what happened.
Warm Compresses: The First-Line Treatment
For both styes and chalazia, warm compresses are the single most effective home treatment. Heat liquefies the hardened oil trapped inside the blocked gland. Research shows it takes 2 to 3 minutes of sustained warmth on the eyelid surface to soften that oil enough to let it drain. Ophthalmologists generally recommend applying heat for 5 minutes at a time, two to four times per day.
Use a clean washcloth soaked in warm (not hot) water, or a microwavable eye mask designed for this purpose. The washcloth cools quickly, so you’ll need to re-wet it a few times during each session. Microwavable masks hold heat longer and tend to work better for people who struggle with consistency. After each warm compress session, you can gently massage the area around the bump with clean fingers to encourage drainage. Press lightly toward the lash line, not directly on the bump itself.
Consistency matters more than any single session. Doing this faithfully for a week or two is what gets results. Skipping days or only doing it once a day slows things down significantly.
What Not to Do
Never squeeze, pop, or try to lance an eyelid bump yourself. The American Academy of Ophthalmology is direct about this: popping a stye can release bacteria and spread infection to other parts of the eye. A chalazion doesn’t contain infectious material in the same way, but squeezing it can trigger inflammation and make the swelling worse. In either case, the tissue around your eye is delicate, and aggressive pressure can cause real damage.
While your eyelid is healing, skip eye makeup and contact lenses. Makeup can reintroduce bacteria to the area or clog the glands further, and contacts can irritate an already inflamed eye.
Eyelid Hygiene to Speed Healing
Keeping your eyelids clean helps both with active bumps and with preventing new ones. The technique is simple: with your eyes closed, use a washcloth with a few drops of baby shampoo to gently scrub along your lids and lashes about 10 times per eye, then rinse thoroughly. You can also let warm shower water run over your closed eyes for a minute as a low-effort alternative.
This routine removes the oily debris, dead skin cells, and bacteria that accumulate along the lash line and contribute to gland blockages. If you get eyelid bumps repeatedly, making lid scrubs part of your daily routine (like brushing your teeth) is one of the most effective preventive steps you can take.
How Long It Takes to Heal
A stye that you’re treating with warm compresses typically starts to improve within a few days and resolves within one to two weeks. You’ll usually see the pus spot come to a head and drain on its own. Once it drains, the pain drops quickly and the swelling follows over the next few days.
Chalazia are slower. Because they involve a thickened, plugged gland rather than an active infection, they can take several weeks to shrink, and some persist for a month or longer. Larger chalazia that have been present for many weeks are less likely to resolve with compresses alone and may need medical treatment.
When Home Treatment Isn’t Enough
If warm compresses haven’t made a noticeable difference after two to three weeks, or if the bump is large, growing, or pressing on your eye enough to blur your vision, it’s time to see an eye care provider. Recurring bumps also warrant a visit, since repeated chalazia can signal an underlying issue like chronic eyelid inflammation.
Your doctor has a few options depending on the situation. For a stye that isn’t clearing, they may prescribe antibiotic eye drops or an antibiotic cream to apply to the eyelid. For a persistent chalazion, the two main approaches are a steroid injection directly into the bump or a minor in-office drainage procedure. The injection works in most cases and can be repeated one to two weeks later if needed. Surgical drainage involves a small incision on the inside of the eyelid (so there’s no visible scar), and it’s typically quick with a short recovery.
Other Types of Eyelid Bumps
Not every eyelid bump is a stye or chalazion. Milia are tiny, white, hard bumps that form when dead skin gets trapped beneath the surface. They’re painless and don’t have the redness or swelling of a stye. Milia on the eyelid won’t respond to warm compresses. A dermatologist can remove them with a small needle, freeze them with liquid nitrogen, or use heat or laser treatment. Don’t try to extract milia at home, especially near your eyes.
Yellowish, flat patches on or near the eyelids (called xanthelasma) are fatty deposits under the skin and are an entirely different condition. These don’t resolve on their own and require professional treatment if you want them removed.
If your bump doesn’t match the description of a stye, chalazion, or milia, or if it’s been present for months without change, having it evaluated is worthwhile. Persistent, unusual-looking eyelid lumps occasionally need a biopsy to rule out other conditions.
Preventing Eyelid Bumps From Coming Back
People who get one stye or chalazion are more likely to get another. The oil glands in your eyelids can be chronically prone to blockage, especially if you have a condition like blepharitis (ongoing low-grade eyelid inflammation) or rosacea.
Daily lid hygiene is the cornerstone of prevention. The baby shampoo scrub described above, done every morning, keeps the gland openings clear. Some people find that a brief warm compress as part of their morning routine (even just 2 to 3 minutes) helps keep the oil flowing normally. Replacing eye makeup regularly, never sleeping in makeup, and washing your hands before touching your eyes are small habits that reduce your risk meaningfully over time.