Working out with a stye is generally safe, but the gym introduces specific risks that can slow healing or spread the infection. A stye is a bacterial infection of a gland along the eyelid margin, and exercise itself does not cause styes or directly worsen them. The real concerns are more practical: sweat dripping into the eye, hands touching contaminated gym surfaces and then rubbing the face, and certain types of heavy exertion that temporarily raise pressure around the eye. With a few adjustments, most people can keep training through a stye without complications.
What a Stye Is and Why It Matters for Exercise
A stye, known clinically as a hordeolum, is a small, painful lump that forms when bacteria infect one of the oil-producing glands at the base of an eyelash or deeper inside the eyelid. The culprit is almost always Staphylococcus aureus, a bacterium that lives on human skin and thrives in warm, moist environments. External styes appear at the lash line and look like a pimple. Internal styes form deeper in the eyelid and tend to be more painful, though they follow the same basic infection pattern.
Most styes resolve on their own within one to two weeks. The standard treatment is warm compresses applied for ten to fifteen minutes several times a day, which encourages the blocked gland to drain. Antibiotics are occasionally prescribed if the infection is stubborn or spreading, but the majority of styes never need them. What matters for the exercise question is that a stye is an active bacterial infection on a part of the body that is exposed, sensitive, and easy to contaminate further.
How Heavy Lifting Affects the Eye
When you strain against a heavy load and hold your breath, you perform what is known as the Valsalva maneuver. This is the bear-down grunt that happens during a heavy squat, deadlift, or bench press. The maneuver sharply increases pressure inside the chest, which in turn raises venous pressure in the head and temporarily elevates intraocular pressure. Research has documented this pressure spike in the eyes during straining efforts.1Archives of Ophthalmology. Ocular pressure patterns in the Valsalva maneuver Under normal circumstances, the spike is brief and harmless. But when an eyelid gland is already swollen and infected, that transient pressure increase can make the stye feel noticeably more painful and may contribute to additional swelling.
This does not mean you need to avoid the weight room entirely. The risk is proportional to the intensity and how much breath-holding is involved. A set of heavy singles on the deadlift with maximal effort is a very different stimulus than a moderate-weight set of twelve on a cable row. If you keep loads moderate and focus on breathing through each rep rather than bracing and holding, the pressure effect stays minimal. Exercises performed lying face-down, like prone rows or certain bench variations, also increase blood flow to the head and may aggravate eyelid swelling more than upright movements.
Sweat, Hands, and the Infection Loop
Sweat running into your eyes during a workout is annoying under any circumstances. When you have a stye, it becomes a genuine problem. Sweat carries salt and skin bacteria directly across the infected area, which can irritate the already-inflamed tissue and potentially introduce additional organisms. More importantly, the instinct to wipe sweat from your eyes with your hand or a gym towel creates a direct contamination pathway.
Your hands are the main vector. During a typical gym session, you touch barbells, dumbbells, cable handles, bench pads, and pull-up bars, all surfaces that harbor large communities of bacteria. A study examining microbial contamination of gym equipment identified 248 bacterial isolates representing 61 species, with roughly three-quarters being skin-associated bacteria.2PubMed Central. Microbial Contamination of Gym Equipment: Diversity Patterns, Temporal Dynamics, Staphylococcus Hotspots, and Device-Level Risk Indices Staphylococcus species were among the most commonly found. That is the same genus responsible for styes. Touching a colonized barbell and then rubbing your eye can deliver a fresh dose of bacteria right to the infection site, potentially prolonging healing or worsening the stye.
The practical takeaway is straightforward: keep your hands away from your face entirely during the workout, and wash or sanitize them frequently. A clean microfiber towel draped over your shoulder, reserved exclusively for your face, is worth the small inconvenience. Wiping equipment before and after use helps too, though the primary goal is breaking the hand-to-eye chain.
Which Workouts Carry More or Less Risk
Not all exercise is equally problematic when you have a stye. The risk profile depends on how much the activity involves straining, sweating near the face, physical contact, or exposure to bacteria-rich environments.
- Lower risk: Walking, light jogging, cycling (especially outdoors where airflow keeps sweat from pooling around the eyes), yoga without inversions, and moderate-intensity machine work where you can breathe easily through every rep.
- Moderate risk: Resistance training at moderate loads, interval training, and group fitness classes. These are fine with precautions, but the combination of sweating and frequent equipment contact means you need to be disciplined about hand hygiene and face-touching.
- Higher risk: Maximal-effort lifting, inversions in yoga (headstands, shoulder stands), and anything that puts your head below your heart for extended periods. These push more blood and pressure toward the face and eyelids.
- Avoid: Contact sports where a finger, elbow, or ball could strike the infected eyelid. A direct hit to a stye is extremely painful and can cause the infection to rupture in an uncontrolled way, potentially spreading bacteria across the eyelid or deeper into surrounding tissue. Also avoid swimming pools, which deserve their own discussion.
Swimming Is the One Activity Worth Skipping
If there is a single exercise to genuinely avoid with a stye, it is swimming. Pool water contains chlorine, which is irritating to an inflamed eyelid, and despite the disinfectant, recreational pools are not sterile environments. Bacteria survive in pool water, on pool decks, and on shared goggles or kickboards. Submerging an active stye in pool water is an efficient way to introduce new organisms to the area or spread yours to other swimmers.
Swim goggles create an additional issue. They press directly against the skin around the eye and create a sealed, warm, moist microclimate against the eyelid. Research on goggles and the periocular environment has found that sealed eyewear traps humidity against the eyelid surface.3PubMed. Using goggles to increase periocular humidity and reduce dry eye symptoms For dry eye sufferers, that moisture retention is therapeutic. For someone with a bacterial eyelid infection, creating a warm, humid chamber pressed against the stye is the opposite of what you want. Bacteria thrive in exactly those conditions. If you swim regularly, take a break from the pool until the stye has fully resolved.
Contact Lenses and Protective Eyewear
Contact lens wearers should strongly consider switching to glasses for the duration of a stye, especially during workouts. Inserting and removing contacts requires touching the eye area, which is the single behavior most likely to aggravate or spread the infection. Contacts also rest against the inner surface of the eyelid, and when a gland along that surface is swollen and infected, the lens can increase irritation and create a friction point that slows healing.
If you normally wear sport-specific eyewear like wraparound glasses or protective goggles for racquet sports, clean them thoroughly before each use. Equipment that presses against the skin near the eye can accumulate bacteria from previous sessions. A quick wipe with an alcohol-based lens cleaner before putting them on reduces the chance of reintroducing bacteria to the stye.
Some people wonder whether wearing regular glasses during a workout might actually protect the stye from sweat. It helps a little by redirecting some brow sweat around the frames, but glasses are not a seal. Sweat still reaches the eye from the temples and nose bridge. A headband or sweatband worn across the forehead is more effective at diverting sweat away from the eyes entirely.
When to Skip the Gym Entirely
There are a few situations where the smarter move is to rest rather than modify your workout. If the stye has progressed to the point where the entire eyelid is red, swollen, and warm to the touch, the infection may be spreading beyond the original gland into the surrounding eyelid tissue, a condition called preseptal cellulitis. This is no longer a minor nuisance. It requires medical attention, and exercise would be counterproductive because it increases circulation and can accelerate the spread of infection through inflamed tissue.
Similarly, if you have a fever alongside the stye, your body is already mounting a systemic immune response. Working out while febrile diverts resources away from fighting the infection and raises your core temperature further. The general medical guidance on exercising with a fever applies here: don’t.
A stye that has been present for more than two weeks without improvement, or one that is affecting your vision by pressing on the eyeball, is worth seeing a doctor about before you worry about your training schedule. In rare cases, what looks like a persistent stye is actually a chalazion, which is a non-infectious cyst of a blocked gland, or, very rarely, something else entirely that a clinician should evaluate.
Makeup, Sunscreen, and Other Products
If you normally apply sunscreen or moisturizer around your eyes before an outdoor run or ride, be cautious while you have a stye. Products that migrate into the eye area during sweating can clog the already-struggling gland and deliver chemicals to inflamed tissue. Mineral sunscreens with zinc oxide tend to stay put better than chemical sunscreens, which are thinner and more prone to running with sweat. Either way, keep product application well away from the lash line.
Eye makeup should be avoided completely until the stye resolves, both during workouts and otherwise. Mascara, eyeliner, and eyeshadow are applied directly to or near the lash line, which is where the infection lives. Old eye makeup can also harbor Staphylococcus bacteria, and applying contaminated product to an active infection is a recipe for reinfection. Once the stye is fully healed, it is worth replacing any eye makeup that was in use when the infection started.
Shared Equipment and Gym Etiquette
A stye is not typically classified as a contagious condition in the way that conjunctivitis (pink eye) is, and gyms do not have policies requiring you to stay home with one. That said, the bacteria causing your stye live on your skin and can transfer to surfaces. Out of courtesy and basic hygiene, wiping down equipment after use is even more important when you have an active skin or eyelid infection. Hand sanitizer between sets is a low-effort habit that makes a real difference.
Gym environments are notably rich in Staphylococcus. The same equipment contamination study that found skin-associated bacteria dominating gym surfaces also identified Staphylococcus as a hotspot genus on multiple device types.2PubMed Central. Microbial Contamination of Gym Equipment: Diversity Patterns, Temporal Dynamics, Staphylococcus Hotspots, and Device-Level Risk Indices Shared towels, which some gyms provide, are another route. Bringing your own towel and keeping it off shared surfaces is a simple precaution. If your gym has a sauna or steam room, skip it while the stye is active. The heat and humidity feel good but create the same warm, moist environment that encourages bacterial growth on the eyelid.
Warm Compresses and Workout Timing
The single most effective thing you can do for a stye is consistent warm compress application. If you are fitting in a workout, consider the timing. Applying a warm compress for ten to fifteen minutes before your session can help soften and partially drain the blocked gland, which may reduce discomfort during exercise. Doing another round after your workout and shower gives the gland a second opportunity to drain, especially since the mild increase in body temperature from exercise keeps the oils in the eyelid glands more fluid.
Some people find that moderate exercise actually helps their stye feel better temporarily, likely because the increased blood flow and slight rise in body temperature mimic some of the effects of a warm compress. This is anecdotal rather than studied, but it tracks with the basic mechanism: heat helps mobilize the clogged oils in the gland. The risk is not from the warmth itself but from everything else that comes with the gym environment.
Recurrent Styes and Training Habits
If you get styes frequently, it is worth looking at your training habits as a potential contributing factor. People who sweat heavily and rub their eyes during or after workouts are mechanically doing the thing most likely to push bacteria into eyelid glands. Wearing a headband, using a dedicated face towel, and washing your face promptly after training can break the cycle.
Recurrent styes can also signal an underlying issue with the meibomian glands, the oil-producing glands inside the eyelids that keep tears from evaporating too quickly. When these glands become chronically clogged, the condition is called meibomian gland dysfunction, and it makes styes more likely regardless of gym habits. If you are getting more than two or three styes a year, an eye doctor can check whether your glands are functioning normally and recommend treatments like lid hygiene regimens or in-office gland expression that reduce the recurrence rate. Fixing the underlying gland problem tends to do more than any amount of gym-habit modification.