A stye is a small, painful bump that forms on or inside your eyelid. It develops when bacteria—usually Staphylococcus aureus—infect one of the tiny oil glands at the base of your eyelashes or along the inner rim of your eyelid. The infection causes swelling, redness, and that uncomfortable sensation of having something in your eye.
Learn About Paying Your FGUA Bill Online →
There are two main types of styes. An external stye appears on the outside of your eyelid, usually along the lash line where you can see it clearly. An internal stye forms inside the eyelid, which can make it harder to spot but often feels more bothersome because it irritates the eye itself when you blink. Both types follow the same basic infection pattern: the oil gland becomes blocked, bacteria multiply, and your body's immune response creates inflammation as it fights back.
The timeline matters here. Most styes develop over 2-3 days before reaching their peak, then gradually improve over the next week or two. This is why the 24-hour window is significant—you're catching the infection early when treatment can be most effective at reducing severity and duration. Research shows that applying heat within the first day of symptoms can reduce how long a stye lasts and minimize discomfort.
A few factors make styes more likely to develop. Poor eyelid hygiene, sleeping in makeup, sharing eye makeup or towels, touching your eyes with unwashed hands, and wearing contact lenses that aren't properly cleaned all increase your risk. People with conditions like rosacea or seborrheic dermatitis also experience styes more frequently because these conditions affect skin oil production.
Practical takeaway: Recognizing a stye early—when you first notice redness, tenderness, or swelling along your eyelid—gives you the best window for 24-hour treatment success. The infection is still small and your body's response is just beginning, making this the optimal time for intervention.
Heat is the most effective tool for treating a stye in the first 24 hours, and it works through a straightforward mechanism: warmth increases blood flow to the infected area, helping your immune system reach the infection more effectively while also softening the pus inside so it can drain naturally. This is why ophthalmologists consistently recommend warm compresses as the first-line treatment.
Free Guide to Pay by Plate Illinois Billing →
The process is simple but requires consistency. Take a clean washcloth and soak it in warm (not hot) water—around 110-115 degrees Fahrenheit is ideal. If you don't have a thermometer, test the water on the inside of your wrist; it should feel pleasantly warm but not uncomfortable. Wring out the excess water and apply the compress directly to your closed eyelid, pressing gently against the stye. Keep it in place for 10-15 minutes. During this time, the heat penetrates the skin and reaches the infected gland beneath the surface.
The frequency matters as much as the technique. For maximum effectiveness in a 24-hour period, apply the warm compress 4-6 times throughout the day. This means roughly every 2-3 hours. Many people find it helpful to do this first thing in the morning, mid-morning, lunch, afternoon, early evening, and before bed. Each session should last at least 10 minutes; some people find that 15 minutes provides better relief, especially if they're experiencing significant pain.
A practical variation: if you prefer a method that stays warm longer, you can fill a small bowl with warm water and soak a clean tea bag (black or green tea works well) rather than a washcloth. The tannins in tea have mild antibacterial properties. You can also purchase reusable gel eye masks from pharmacies and heat them in warm water—these conform better to the eye area than a flat compress. Whatever method you choose, always use something clean. Never reuse a compress without washing it, as you risk spreading bacteria.
Practical takeaway: Consistent warm compress application (4-6 times daily for 10-15 minutes each) is your most powerful 24-hour intervention. The combination of heat frequency and duration directly correlates with reduction in stye size and pain within the first day.
While you're treating the stye, your hygiene practices can either support healing or accidentally spread the infection. This is the period when you need to be intentional about what touches your eye area and how you handle the infected lid.
Free Guide to Mold Removal Methods for Walls →
Start with your hands. Wash them thoroughly with soap and warm water before touching the area around your eye, even when applying compresses. The bacteria causing the stye—Staphylococcus aureus—lives naturally on human skin and is easily transferred from hands to eyes. If you wear contact lenses, this is the time to switch to glasses. Contact lenses create an environment where bacteria thrive, and the act of inserting and removing them can introduce new bacteria or spread existing infection to other parts of your eye.
Your eyelids accumulate natural oils and dead skin cells throughout the day, which is why gentle cleansing helps. Use a clean, lint-free cloth and warm water to gently wipe the eyelid margin where the stye is located. Some eye care professionals recommend using a diluted baby shampoo solution—mix one part baby shampoo with ten parts warm water—and gently cleanse the lid margin with a cotton swab. This removes debris without irritating the already-inflamed area. Do this once daily, preferably in the evening before bed.
Absolutely avoid these practices during the 24-hour treatment window: don't squeeze, pick at, or attempt to pop the stye. This is tempting because it looks like a pimple, but the stye contains infection that can spread deeper into the lid tissue if you squeeze it. Don't apply makeup to the affected eye area—this introduces bacteria and can trap heat that prevents proper drainage. Don't share eye makeup, eye drops, towels, or pillowcases with others during this time. Don't rub your eye, as this spreads bacteria and increases inflammation.
Practical takeaway: Strategic hygiene during the 24-hour period means frequent handwashing, avoiding contacts, gentle eyelid cleansing with dilute baby shampoo, and strict avoidance of squeezing or makeup application. These practices prevent secondary infection and support the healing process your body is already working through.
Beyond warm compresses, several over-the-counter products can enhance your 24-hour stye treatment when used appropriately. These aren't replacements for heat therapy but rather complements that address different aspects of the discomfort.
How to Delete Your Fitbit Account Guide →
Artificial tear drops serve an important function. When you have a stye, your eye often produces less tear film because blinking becomes uncomfortable, which paradoxically makes the irritation worse. Using preservative-free artificial tears 3-4 times daily keeps the eye lubricated and reduces the scratchy, painful sensation. Look for products labeled "preservative-free" since preservatives can irritate an already-sensitive eye. Apply one drop to the affected eye each time; you don't need to fill the eye with drops.
Anti-inflammatory ointments designed for the eyelid can provide comfort during the first 24 hours. Some people use a thin layer of petroleum jelly along the eyelid margin before bed; this lubricates the area and reduces friction from blinking during sleep. If you want something with mild antibacterial properties, bacitracin ointment (an over-the-counter antibiotic ointment) can be applied sparingly to the external stye. Use a clean cotton swab to apply it, and never double-dip the swab. These ointments work best applied right before sleep so they have time to absorb without being washed away by tear flow.
Some people find relief with oral pain relievers like ibuprofen or acetaminophen, taken according to package directions. These reduce both pain and inflammation throughout your body, including the stye. Ibuprofen may have a slight edge here because it's a nonsteroidal anti-inflammatory drug (NSAID), meaning it targets inflammation specifically. However, these should only be used if you have no contraindications and should never replace the warm compress treatment—they're supplementary
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.