Can You Get a UTI From Leggings?
Medically Reviewed by: Heather Ott, MS, RD
Written by: Kate Labat Jacobs
Why do customers love Uqora?
Innovative urinary care
Research-backed products
Money-back guarantee
Nobody wants to deal with a UTI. The burning, the constant urge to go, the feeling of never being able to be more than five minutes from a bathroom — it's uncomfortable, disruptive, and hard to push through with your normal day. If you've noticed a UTI showing up after a hard workout in your leggings, it's fair to start wondering about a UTI from leggings connection, especially if it keeps happening around the same routine.
Here's the direct answer: leggings don't cause a UTI on their own. Only microorganisms, usually bacteria, can do that. But tight, synthetic fabric can create conditions where UTI-causing bacteria are more likely to grow, and that's worth understanding before you decide whether your workout wardrobe needs any changes.
The root cause: How do UTIs actually form?
UTIs are infections, and they're most commonly caused by bacteria — specifically uropathogenic Escherichia coli (UPEC), a strain of E. coli that lives in the human gut. UPEC can migrate from the digestive tract into the urethra and bladder, where it causes infection.1
E. coli is behind roughly 75% of both uncomplicated and complicated UTIs. Other bacteria play a smaller role too, including Klebsiella pneumoniae, Proteus mirabilis, Enterococcus faecalis, and Staphylococcus saprophyticus.2 Researchers generally consider the gastrointestinal tract a reservoir for UPEC: healthy people carry strains there that are especially good at surviving and persisting in the gut, with the ability to spread beyond the intestines and cause infection elsewhere in the body.3
This gut connection also shows up in recurrent infections. Research has found that people who deal with repeat UTIs typically carry higher concentrations of UPEC in the gut, which is considered a contributing factor to why infections keep coming back, a pattern also tied to biofilms (sticky networks composed of carbohydrates, proteins, fats, and DNA that allow bacteria to cluster and stick to the urinary tract wall) forming in the urinary tract.1 Understanding the causes of UTIs helps put the leggings question in context: it's the bacteria doing the damage, and clothing is only ever part of the setup.
UTIs and leggings: How tight leggings can increase your risk
Leggings and other tight activewear don't cause an infection by themselves, but they can set up conditions that give bacteria an advantage. Here's how:
Trapped moisture and humidity
Many leggings and tight workout pieces are made from synthetic materials, including polyester, nylon, and spandex. These materials are hydrophobic, meaning they repel water rather than absorb it, and they trap sweat against the skin instead of letting it evaporate.4
Research comparing fabric types found that polyester absorbs significantly more sebum (an oily substance that protects the skin from drying out) and sweat solutes than cotton, giving bacteria more to feed on.5 That same research found that more bacteria adhere to polyester than to cotton.4
Bacterial breeding ground
Leggings also act as a tight physical seal over the perineal and groin area. When body heat rises during movement, sweat has nowhere to go, an effect researchers describe as occlusion: skin that's tightly covered and cut off from air.6
Occluded skin tends to run warmer and more humid, and that combination supports bacterial growth. Research on skin microbiology notes that moist, occluded areas of the body carry some of the highest bacterial counts anywhere on skin. The same research points to the armpit as another occluded area, where a high concentration of sweat glands and hair supports a similarly heavy bacterial load, which illustrates how occlusion can drive bacterial growth wherever it happens on the body.7 Separate textile bioengineering research found that antimicrobial fabrics can reduce local moisture and suppress microbial transfer between skin and fabric in occlusive areas such as the groin.6
Friction and pressure
Anatomy plays a role here, too. In women, the urethra sits close to the anus, so there's a short distance for bacteria to travel, and researchers point to fecal-perineal-urethral contamination as the most likely explanation for infections caused by intestinal bacteria in women.8
Clinical research recommends choosing loose-fitting undergarments made from silk or cotton and avoiding clothing that fits too tightly.9
For more on how fabric choices around the body affect your risk, this blog on underwear and UTIs covers the topic in more depth.
How to reduce the risk of UTIs without giving up leggings
None of this means you have to retire your leggings. A few adjustments to routine and wardrobe can lower your risk while you keep wearing what you love:
1. Change out of leggings immediately after your workout
Sweat-soaked polyester and nylon can create the kind of environment where bacteria can grow,4 so changing out of leggings as soon as possible after exercise limits how long that environment sticks around.
2. Avoid synthetic undergarments and thongs
Nylon and other synthetic innerwear don't absorb perspiration the way cotton does, which keeps the perineum (the patch of sensitive skin between the genitals) humid and can raise UTI risk. One study found that synthetic underwear can increase the risk of UTI.10,11 Fabric choice matters even after leggings come off, too: bacteria survive far longer on polyester at room temperature, up to 206 days, compared with 90 days on cotton and mixed fibers, and they survive even longer at higher humidity.12
3. Never rewear unwashed leggings
Studies of textiles before laundering have detected various pathogens, including Salmonella. Additionally, E. coli, has been found specifically on reusable grocery bags. Fecal bacteria are commonly found on undergarments. Storing worn items in a hamper or closet before or after washing can let bacterial counts climb even higher.12
Researchers also note that washing at low temperatures may not be enough on its own, and suggest additional steps like a sanitizer or extended machine drying, especially when enteric bacteria and viruses may be present.12
4. Practice proper hygiene
Some studies on hygiene habits found that incorrect washing and wiping techniques were common among women with symptomatic UTIs. The same research found that wiping back to front can transfer microorganisms from the anus toward the vagina, and that participants who used improper technique had a higher rate of urinary infections. Wiping front to back is the safest wiping technique to prevent infection.11
5. Replace synthetic leggings with alternatives
A couple of simple fabric swaps can cut down on how much time bacteria spend against your skin. Cotton is less hydrophobic than polyester, so cotton-blend leggings hold less sweat and sebum against the skin during a workout. More breathable materials give sweat somewhere to go instead of staying trapped against the skin, which helps avoid the humid, occluded conditions bacteria favor.6
Identifying initial UTI symptoms
Catching a UTI early can help you get on your way to feeling better faster. Common UTI symptoms include:
-
Burning sensation when urinating: A burning feeling during urination is one of the most common early signs of a UTI.
-
Persistent urge to urinate: A strong urge to urinate that doesn't go away, even right after using the bathroom, is another common symptom.
-
Frequent urination in small amounts: Urinating often while passing only small amounts each time is common with UTIs.
-
Discolored urine: Urine that looks red, bright pink, or cola-colored can be a sign of blood in the urine.
-
Pelvic pain: Pain centered in the pelvis, around the pubic bone, is common with UTIs.13
For a full breakdown of UTI symptoms beyond the most common ones, or answers to common UTI questions you might still have, it’s always a good idea to talk to your healthcare provider.
Balancing athleisure and urinary health
Leggings themselves aren't the problem. Bacteria are, and specifically the warm, moist, occluded conditions that give bacteria a growth advantage. You can't get a UTI from leggings directly, but you can create an environment that helps UTI-causing bacteria thrive if sweat-soaked fabric sits against your skin too long.
Small habits close that gap: changing promptly after a workout, choosing breathable or cotton-blend fabric when you can, and staying on top of laundry. None of this asks for a wardrobe overhaul. It just means paying attention to a few routines so your leggings and your urinary health can coexist. A few intentional adjustments now can go a long way toward keeping your routine and your bladder on good terms.
References
- Brigida, Mattia, et al. "Gut Microbiome Implication and Modulation in the Management of Recurrent Urinary Tract Infection." Pathogens, vol. 13, no. 12, 2024, p. 1028. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC11677343/.
- Flores-Mireles, Ana L., et al. "Urinary Tract Infections: Epidemiology, Mechanisms of Infection and Treatment Options." Nature Reviews Microbiology, vol. 13, no. 5, 2015, pp. 269–84. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC4457377/.
- Katouli, Mohammad. "Population Structure of Gut Escherichia coli and Its Role in Development of Extra-Intestinal Infections." Iranian Journal of Microbiology, vol. 2, no. 2, 2010, pp. 59–72. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC3279776/.
- Møllebjerg, Andreas, et al. "The Bacterial Life Cycle in Textiles Is Governed by Fiber Hydrophobicity." Microbiology Spectrum, vol. 9, no. 2, 2021, p. e01185-21. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC8515937/.
- "Sebaceous Glands." Cleveland Clinic, 15 Nov. 2022, https://my.clevelandclinic.org/health/body/24538-sebaceous-glands.
- Öztoprak, Yunus, et al. "Effects of Antimicrobial Underwear on Vaginal Symptoms and Vaginal Microbiota: A Prospective Study." Journal of Clinical Medicine, vol. 15, no. 4, 2026, p. 1395. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC12942071/.
- Van Herreweghen, Florence, et al. "Biological and Chemical Processes That Lead to Textile Malodour Development." Microorganisms, vol. 8, no. 11, 2020, p. 1709. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC7692034/.
- Minardi, Daniele, et al. "Urinary Tract Infections in Women: Etiology and Treatment Options." International Journal of General Medicine, vol. 4, 2011, pp. 333–43. Dove Press, https://www.dovepress.com/urinary-tract-infections-in-women-etiology-and-treatment-options-peer-reviewed-fulltext-article-IJGM.
- Mohamed, H., and A. Elorfaly. "The Relation between Genital Hygiene Behaviors in Women and Urinary Tract Infection in Any Period of Life: Review Article." The Egyptian Journal of Hospital Medicine, vol. 97, no. 1, 2024, pp. 3811–19. Egyptian Knowledge Bank, https://journals.ekb.eg/article_390051.html.
- "Perineum." Cleveland Clinic, 19 Nov. 2022, https://my.clevelandclinic.org/health/body/24381-perineum.
- Vyas, Shaili, et al. "Role of Behavioural Risk Factors in Symptoms Related to UTI Among Nursing Students." Journal of Clinical and Diagnostic Research, vol. 9, no. 9, 2015, pp. LC15–18. PubMed Central, https://pmc.ncbi.nlm.nih.gov/articles/PMC4606256/.
- Abney, Sarah E., et al. "Laundry Hygiene and Odor Control: State of the Science." Applied and Environmental Microbiology, vol. 87, no. 14, 2021, p. e03002-20. ASM Journals, https://journals.asm.org/doi/10.1128/aem.03002-20.
- Mayo Clinic Staff. "Urinary Tract Infection (UTI)." Mayo Clinic, 14 Sept. 2022, https://www.mayoclinic.org/diseases-conditions/urinary-tract-infection/symptoms-causes/syc-20353447.