What Causes a UTI in Men? Bacteria and Risk Factors

UTIs in men are uncommon but not rare, and they almost always have an identifiable underlying cause. Unlike in women, where a UTI can be a one-off event with no deeper explanation, a UTI in a male typically signals that something is interfering with normal urine flow or immune defense. Understanding what’s behind the infection matters because it determines whether you need more than just a course of antibiotics.

Why Men Get Fewer UTIs Than Women

The male urethra is significantly longer than the female urethra, which means bacteria have to travel a much greater distance from the outside world to reach the bladder. That extra length acts as a natural barrier. The prostate gland also produces secretions with antimicrobial properties that help keep bacteria in check. These two factors together make UTIs relatively unusual in younger men. When one does develop, it’s a signal worth investigating.

The Bacteria Behind Male UTIs

E. coli, the bacterium most associated with UTIs overall, causes only about 25% of cases in men. That’s a sharp contrast to women, where E. coli is responsible for the vast majority. In men, bacteria like Proteus and Providencia account for a large share of infections, with Klebsiella, Pseudomonas, and enterococci playing smaller roles.

The exception is chronic bacterial prostatitis, where E. coli dominates roughly 80% of cases. If you’ve had a UTI that keeps coming back, prostate involvement is one of the most common explanations, and the bacterial profile shifts to look more like a typical female UTI in terms of the organisms involved.

Enlarged Prostate: The Most Common Culprit

Benign prostatic hyperplasia (BPH), or an enlarged prostate, is the single most frequent structural cause of UTIs in men over 50. As the prostate grows, it presses against the bladder and pinches the urethra, slowing or partially blocking urine flow. Over time, the bladder muscle weakens from straining to push urine through the narrowed passage. The result is incomplete emptying: urine left sitting in the bladder becomes a breeding ground for bacteria.

This is a mechanical problem. The urine itself isn’t infected at first, but stagnant urine gives bacteria the warm, nutrient-rich environment they need to multiply. If you’re a man over 50 with your first UTI, your doctor will likely evaluate your prostate as a starting point.

Kidney Stones and Bladder Stones

Stones anywhere in the urinary tract can set the stage for infection in two ways. First, they physically obstruct urine flow, creating the same stagnation problem as an enlarged prostate. Second, their rough surfaces give bacteria a place to attach and form colonies that are difficult for the immune system or antibiotics to reach.

There’s also a feedback loop at work. A specific type of kidney stone called a struvite stone actually forms in response to a urinary tract infection. These stones can grow quickly and become quite large, sometimes with few symptoms. So stones can cause infections, and infections can cause stones, making recurrent UTIs more likely if the underlying stone isn’t addressed.

Diabetes and Immune Suppression

Diabetes is a well-established risk factor for UTIs in men, particularly when blood sugar is poorly controlled. High glucose levels in the urine essentially feed bacteria, creating favorable conditions for infection. The immune impairment that comes with chronic high blood sugar also makes it harder for the body to fight off bacteria before they establish themselves.

Certain diabetes medications add to the risk. A class of drugs that works by flushing excess glucose out through the urine (SGLT2 inhibitors) lowers blood sugar effectively but increases glucose in the urinary tract as a side effect, which raises the odds of both urinary and genital infections. For men with diabetes, UTIs also carry higher rates of serious complications, including kidney infections and abscesses, so prompt treatment is especially important.

Beyond diabetes, anything that suppresses the immune system raises UTI risk. This includes conditions like HIV, medications used after organ transplants, and chemotherapy.

Catheters and Medical Procedures

A urinary catheter is one of the most direct routes bacteria can take into the bladder. The tube bypasses the body’s natural defenses entirely, and the longer a catheter stays in place, the higher the infection risk. Men who’ve had recent urological procedures, surgeries, or hospital stays involving catheterization are at elevated risk for weeks afterward. Catheter-associated UTIs also tend to involve a broader range of bacterial species, including Pseudomonas and Serratia, which can be harder to treat.

Chronic Prostatitis and Recurring Infections

Chronic bacterial prostatitis is the most common cause of relapsing UTIs in men. Bacteria can embed themselves in prostate tissue, where they’re difficult for antibiotics to reach at effective concentrations. The infection appears to clear up, symptoms resolve, and then weeks or months later, the same bacteria re-emerge from the prostate and trigger another UTI.

If you’ve had two or more UTIs in a relatively short period, this pattern is one of the first things a doctor will consider. Treatment for prostatitis-related UTIs tends to be longer, often 10 to 14 days of antibiotics rather than the 5 to 7 days typical for a straightforward complicated UTI, specifically because the prostate tissue needs sustained antibiotic exposure.

Sexual Activity and STI Overlap

Sexual activity can introduce bacteria into the urethra, and men who have anal intercourse are at higher risk because of exposure to gut bacteria. Unprotected sex in general increases the chance of bacterial introduction.

It’s also worth knowing that some sexually transmitted infections mimic UTI symptoms closely enough to cause confusion. Chlamydia and gonorrhea both cause painful, burning urination, and most people with chlamydia have no symptoms at all, which makes diagnosis trickier. The key differences: a UTI typically causes urgency (feeling the need to urinate even when your bladder is empty) and foul-smelling or bloody urine, while STIs are more likely to produce discharge from the penis, sores, or blisters. Testing is the only reliable way to distinguish between them, and your doctor can check for both with a urine sample.

How Male UTIs Are Diagnosed Differently

Diagnosing a UTI in men requires a lower bacterial count on a urine culture than in women. Women typically need a count of 100,000 colony-forming units per milliliter for a positive diagnosis, while guidelines for men generally set the threshold at 1,000 to 10,000. The lower bar reflects the fact that any significant bacterial presence in a male urine sample is more likely to represent a true infection rather than contamination.

Because UTIs in men so often point to an underlying structural or functional problem, diagnosis usually goes beyond just confirming the infection. Expect your doctor to ask about urinary symptoms like weak stream or incomplete emptying, check for prostate enlargement, and potentially order imaging to look for stones or other abnormalities. This workup is especially important for a first-time UTI or for any infection that recurs.

What Treatment Looks Like

For a straightforward complicated UTI (which is how most male UTIs are classified), current guidelines recommend 5 to 7 days of antibiotics, with the specific choice depending on the bacteria identified in your culture. If the infection has spread to the bloodstream, 7 days is the typical course. When acute bacterial prostatitis is suspected, treatment extends to 10 to 14 days to ensure the antibiotic penetrates prostate tissue adequately.

The antibiotic alone treats the immediate infection, but if an underlying cause like an enlarged prostate, stones, or poorly controlled diabetes is driving the problem, addressing that root cause is what prevents the next UTI. A single uncomplicated course of antibiotics may resolve the symptoms, but without fixing the conditions that allowed bacteria to thrive, recurrence is likely.