Can Diarrhea Cause a UTI? The Link, Symptoms, and Action

Diarrhea does not directly infect your bladder, but it substantially raises the odds that bacteria from your gut will reach your urinary tract and trigger an infection. The connection comes down to anatomy, microbiology, and the practical mess that loose stool creates near the urethral opening. One study of international travelers found that those with diarrhea had roughly nine times the odds of developing a urinary tract infection compared to those without it, and the relationship holds up across hospital settings too. The mechanisms behind this link are more varied than most people realize, and some of the ways diarrhea and UTIs feed into each other are genuinely surprising.

How Gut Bacteria Reach the Urinary Tract

Most urinary tract infections are caused by bacteria that normally live in the intestine, particularly strains of E. coli that have specialized tools for surviving outside the gut. The intestinal tract acts as a reservoir for these uropathogenic strains, and in women especially, fecal material containing these bacteria can reach the urethra and travel upward into the bladder.1PubMed. Recurrent urinary tract infections in women: risk factors, etiology, pathogenesis and prophylaxis Researchers now refer to this as the “gut-bladder axis,” recognizing that the gut microbiome is a critical factor in determining who gets UTIs and who doesn’t.2PubMed Central. Gut-bladder axis enters the stage: Implication for recurrent urinary tract infections

These uropathogenic E. coli strains are not random gut residents. They carry specific features that let them cling to cells in the urinary tract, resist the immune system, and scavenge iron in an environment that normally starves bacteria out.3PubMed Central. Population structure of gut Escherichia coli and its role in development of extra-intestinal infections Under normal circumstances, these bacteria sit harmlessly in the intestine. They only become a problem when something helps them migrate from the rectum to the urethral area. Diarrhea is one of the most effective ways that migration happens.

Why Diarrhea Makes the Journey Easier

Loose, watery stool is harder to contain than formed stool. It spreads more readily across the perineum, the small area between the anus and the genitals. In women, the urethra sits just centimeters from the anus, and diarrhea can coat the entire area with bacteria-rich liquid that a normal bowel movement would not. Each episode of diarrhea recontaminates the skin around the urethral opening, and if the bacteria present happen to be uropathogenic strains, the stage is set for an ascending infection.

Diarrhea also contributes to dehydration, and that matters independently. Clearing bacteria from the bladder depends partly on urine flow and how frequently you urinate. When you are losing fluid through your gut faster than you can replace it, you produce less urine, urinate less often, and give bacteria more time to establish themselves in the bladder.4Nature. Mild dehydration: a risk factor of urinary tract infection? So diarrhea attacks from both directions: it increases the number of bacteria arriving at the urethra while simultaneously reducing the body’s main flushing mechanism for removing them.

What the Numbers Actually Show

Two studies from very different settings illustrate how strong the diarrhea-UTI connection can be. A study of over 500 international travelers found that travelers’ diarrhea was a significant predisposing factor for UTI, with an odds ratio of about 9. Every single traveler who developed a UTI during the study period also had diarrhea; none of the UTI-free travelers were diarrhea-free and UTI-positive.5Travel Medicine and Infectious Disease. International travel and travelers’ diarrhea – Increased risk of urinary tract infection

In a hospital setting, the numbers are even more striking. A retrospective study of patients who developed diarrhea during hospitalization found that their rate of urinary tract infection afterward was about ten times higher than in patients without diarrhea. That elevated risk persisted even after accounting for whether patients had a urinary catheter and how long the catheter had been in place, meaning diarrhea was an independent risk factor on its own.6PubMed. A retrospective cohort study of nosocomial diarrhea as a risk factor for nosocomial infection The researchers concluded that diarrhea and the contamination it causes around the urethral opening likely drive hospital-acquired UTIs, and they recommended removing catheters whenever possible in patients with diarrhea.

Who Faces the Highest Risk

Women are more vulnerable than men simply because of anatomy. A shorter urethra and its proximity to the anus mean that any fecal contamination has a shorter path to travel. But certain groups face especially high risk when diarrhea enters the picture.

Older Adults in Care Facilities

Elderly residents in nursing homes who have bowel incontinence are at dramatically higher UTI risk. One study found that incontinent elderly residents had five times the odds of developing a UTI compared to continent residents.7Revista Brasileira de Enfermagem. Factors associated with urinary tract infection in a Nursing Home The concern intensifies during diarrheal episodes because liquid stool is even more difficult for caregivers to manage promptly. Researchers have specifically warned that patients with bowel incontinence should not sit or lie in contact with feces for extended periods, as this facilitates bacterial transport to the urinary tract.

Children in Diapers

In young children, diapers create a warm, enclosed environment where stool sits in contact with the skin around the urethra. A study comparing children with and without UTIs found that diaper type mattered: superabsorbent diapers were used by about 63% of children with UTIs compared to 36% of controls, suggesting that diapers which feel dry on the surface may lead to less frequent changes.8PubMed Central. Diaper Type as a Risk Factor in Urinary Tract Infection of Children When a child has diarrhea, the problem compounds because liquid stool spreads more broadly within the diaper and may not prompt the same urgency to change as a visibly soiled one would.

Catheterized Hospital Patients

Patients with indwelling urinary catheters already face elevated UTI risk because the catheter provides a direct path for bacteria. Adding diarrhea to the mix creates a situation where the catheter insertion site is repeatedly contaminated with enteric bacteria. The hospital study mentioned above found diarrhea was an independent risk factor for catheter-associated UTI, leading the authors to suggest catheter removal as a protective measure when patients develop diarrhea.6PubMed. A retrospective cohort study of nosocomial diarrhea as a risk factor for nosocomial infection

It Is Not Always E. coli

While uropathogenic E. coli is the culprit in most UTIs, diarrhea can introduce other gut pathogens to the urinary tract. Case reports document Salmonella causing UTIs through what appears to be an ascending route from the rectum during a diarrheal illness. In one reported case, an elderly woman with a history of recurrent UTIs developed a Salmonella-related urinary infection after experiencing mild diarrhea. The timing and her risk profile pointed to the bacteria climbing from the gastrointestinal tract to the bladder rather than spreading through the bloodstream.9PubMed Central. Salmonella-related urinary tract infection in an elderly patient

This matters because Salmonella UTIs don’t always respond to the same antibiotics used for standard E. coli infections. If you have a UTI that developed during or shortly after a bout of food-borne diarrhea, mentioning the diarrhea to your doctor could change which antibiotic gets prescribed. A urine culture rather than empiric treatment becomes more important in that scenario.

The Antibiotic Trap

Here is where the diarrhea-UTI relationship gets circular in an uncomfortable way. When you take antibiotics for a UTI, those antibiotics don’t just kill bacteria in your bladder. They also disrupt the bacteria living in your gut, sometimes causing antibiotic-associated diarrhea and altering the gut microbiome in ways that can persist for weeks or months.10PubMed Central. Antibiotic-Therapy-Induced Gut Dysbiosis Affecting Gut Microbiota—Brain Axis and Cognition: Restoration by Intake of Probiotics and Synbiotics

That disrupted gut environment can then set the stage for future UTIs. Antibiotic treatment is a known risk factor for recurrent UTIs, and the mechanism likely involves this gut disturbance. If antibiotics create or maintain a state of gut dysbiosis, then treating a UTI could be increasing the chances of the next one, a cycle that researchers have explicitly described as a vicious circle.11JCI Insight. Establishing the role of the gut microbiota in susceptibility to recurrent urinary tract infections If antibiotic-associated diarrhea then develops on top of that dysbiosis, you have both the gut reservoir problem and the contamination problem working against you simultaneously.

This doesn’t mean you should avoid antibiotics for a UTI. Untreated infections can spread to the kidneys and become dangerous. But it does mean that anyone stuck in a cycle of recurrent UTIs followed by antibiotics followed by gut trouble followed by another UTI should talk to their doctor about strategies that break the loop rather than perpetuate it.

Recognizing When Both Are Happening at Once

Diarrhea and UTI symptoms can overlap in confusing ways. Both can cause lower abdominal cramping and a general feeling of being unwell. Dehydration from diarrhea can make your urine darker and more concentrated, which you might mistake for a UTI symptom. And if you already have a UTI, the infection itself can sometimes cause gastrointestinal symptoms including nausea and loose stool, making it unclear which came first.

A few signs that a UTI may have developed alongside your diarrhea:

  • Burning or stinging: Pain during urination that wasn’t present when the diarrhea started.
  • Urgency and frequency: Needing to urinate far more often than dehydration alone would explain, especially if each time produces very little urine.
  • Cloudy or foul-smelling urine: This can happen with dehydration too, but persistent cloudiness after rehydrating is a red flag.
  • Pelvic pressure or lower back pain: Especially if it feels different from the abdominal cramping that comes with diarrhea.
  • Fever: A mild diarrheal illness often doesn’t cause fever, so a new fever during a bout of diarrhea warrants attention.

If you develop these symptoms during a diarrheal episode, it’s worth seeing a doctor rather than assuming everything will resolve when the diarrhea stops. A urine culture can confirm or rule out infection and guide treatment if needed.

Practical Steps During a Diarrheal Episode

Staying hydrated is the single most impactful thing you can do. Replacing the fluids you’re losing keeps urine production up, which helps flush bacteria from the bladder before they can establish an infection. Water is fine for mild cases; oral rehydration solutions are better for severe or prolonged diarrhea because they replace electrolytes along with fluid.

Hygiene after each bowel movement matters more during diarrhea than at any other time. Wiping direction has been studied, and the findings are nuanced: one study found that wiping from front to back versus back to front didn’t significantly affect UTI risk across all women, but in a subgroup of women aged 40 to 59, front-to-back wiping was associated with significantly fewer lifetime UTI episodes.12PubMed Central. Post-Toilet Wiping Style Is Associated With the Risk of Urinary Tract Infection in Women The takeaway is that front-to-back wiping is unlikely to hurt and may help, especially during diarrhea when there is more liquid stool to manage. Washing with water after particularly messy episodes provides even better cleaning than wiping alone.

For caregivers managing diarrhea in someone else, whether a child in diapers, a bedridden elderly person, or a catheterized patient, prompt cleanup is essential. The longer stool sits in contact with the perineal area, the more time bacteria have to colonize the urethral opening. Changing diapers or incontinence pads immediately after a diarrheal stool, rather than waiting for a routine check, is one of the most effective interventions available.

Probiotics and the Gut-Bladder Connection

Given that the gut microbiome influences UTI risk, the idea of using probiotics to prevent urinary infections has gained traction. The logic is straightforward: if harmful bacteria can travel from the rectum to the urethral area and eventually the vagina, beneficial bacteria might be able to make the same journey and establish a protective presence. Clinical studies have tested oral Lactobacillus capsules and found that certain strains can reach the vaginal flora after being taken by mouth, potentially restoring a microbial environment that is less hospitable to uropathogenic bacteria.13PubMed Central. The role of probiotics in women with recurrent urinary tract infections

Probiotics are not a replacement for antibiotics in an active infection, and the evidence for their effectiveness in preventing UTIs is still evolving. But for someone caught in the antibiotic-dysbiosis-diarrhea-UTI loop, they represent one tool that could help restore gut health without perpetuating the cycle. Strains of Lactobacillus rhamnosus and Lactobacillus fermentum are the most studied in this context. If you’re dealing with recurrent UTIs and gut issues, this is a conversation worth having with your doctor.

A Surprising Counterpoint on Fecal Incontinence

Given everything above, you might expect that chronic fecal incontinence would be a strong, consistent predictor of UTIs. It isn’t always. A study of women presenting for urogynecological evaluation found that fecal incontinence was not independently associated with UTI or recurrent UTI after accounting for other variables like age, diabetes, vaginal wall prolapse, and sexual activity.14PubMed Central. Fecal Incontinence and the Risk of Urinary Tract Infection in Patients Presenting for Urogynecological Consultation The prevalence of UTI was actually slightly higher in women without fecal incontinence (30%) than in those with it (23%).

This doesn’t invalidate the diarrhea-UTI link. It does suggest that the relationship is more complicated than “any fecal contamination equals UTI.” The acute, high-volume contamination that happens during diarrheal episodes may be a different risk profile than the chronic, lower-volume leakage of fecal incontinence. Women with chronic incontinence may also have adapted hygiene routines that reduce contamination, or their doctors may be monitoring them more closely. The point is that a single episode of severe traveler’s diarrhea, as the earlier research suggests, can pose a higher immediate risk than a chronic condition you’d intuitively expect to be worse.

When Diarrhea Is Caused by a UTI, Not the Other Way Around

The story occasionally runs in reverse. Some urinary tract infections, particularly those that spread to the kidneys, can cause systemic symptoms including nausea, vomiting, and diarrhea. Certain antibiotics prescribed for UTIs are well known for causing gastrointestinal side effects. So if you develop diarrhea while being treated for a UTI, the antibiotic may be the culprit rather than a new gastrointestinal infection. Fluoroquinolones, nitrofurantoin, and trimethoprim-sulfamethoxazole can all cause loose stool in some people.

This creates a diagnostic puzzle when someone shows up with both symptoms simultaneously. Did the diarrhea introduce bacteria that caused the UTI? Did the UTI treatment cause the diarrhea? Or did both develop independently from the same antibiotic disruption? Sorting this out often requires a urine culture and sometimes a stool test, especially if the diarrhea is severe, bloody, or persistent. If your gut symptoms start or worsen after beginning UTI antibiotics, let your prescriber know. A different antibiotic may resolve the UTI without battering your gut flora as severely.