Can metformin increase the risk of urinary tract infection?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: May 7, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Metformin Does Not Increase UTI Risk

Based on the most authoritative evidence available, metformin does not increase the risk of urinary tract infections (UTIs). In fact, recent high-quality research demonstrates that metformin may actually reduce mortality associated with UTIs in patients with type 2 diabetes.

Key Evidence

Metformin's Safety Profile

The most recent American Diabetes Association guidelines (2025) and FDA drug labeling comprehensively detail metformin's side effects, and UTI is notably absent from the list of recognized adverse effects 1, 2. The principal side effects are:

  • Gastrointestinal intolerance (bloating, abdominal discomfort, diarrhea)
  • Lactic acidosis (rare, primarily with eGFR <30 mL/min/1.73 m²)
  • Vitamin B12 deficiency
  • Worsening neuropathy symptoms

Research Evidence Shows No Increased UTI Risk

A 2022 large-scale propensity score-matched study of 40,774 patients with type 2 diabetes found that metformin use showed no significant difference in UTI risk compared to non-users (adjusted HR 1.06,95% CI 0.98-1.15) 3. Importantly, this same study demonstrated that metformin was associated with a 58% reduction in death due to UTI or sepsis (aHR 0.58,95% CI 0.42-0.8), with longer cumulative duration of use showing even greater protective effects.

A 2016 Danish nationwide study of 131,949 patients initiating diabetes therapy found virtually no difference in community-based antibiotic use between metformin initiators and other glucose-lowering drugs 4.

The Real Culprits: SGLT2 Inhibitors and Other Medications

When UTIs occur in diabetic patients, the evidence points to other medications:

  • SGLT2 inhibitors (like dapagliflozin, empagliflozin) are consistently associated with increased genital tract infections and candida UTIs due to glucosuria 5, 6, 7
  • A 2025 observational study found that metformin ranked 4th among newly prescribed medications before UTI events, but this was based on prescription frequency, not causation 8
  • The same study showed opioids, statins, and PPIs were more commonly prescribed before UTI events than SGLT2 inhibitors

Clinical Implications

Continue metformin without concern for UTI risk. The medication's established benefits—reducing microvascular complications, cardiovascular events, and death—far outweigh any theoretical concerns 1.

Important Caveats:

  • Patients with diabetes have inherently higher UTI risk due to their underlying condition, not metformin
  • If a patient on metformin develops recurrent UTIs, investigate other causes: poor glycemic control, anatomical abnormalities, or concomitant SGLT2 inhibitor use
  • Do not discontinue metformin for UTI concerns unless contraindicated for other reasons (eGFR <30, lactic acidosis risk factors)

When to Suspect Other Medications:

If UTIs develop after starting diabetes therapy, consider:

  • SGLT2 inhibitors: Associated with 2-8 fold increased risk of genital infections and candida UTI 5, 7
  • Recent opioid or PPI initiation 8
  • Combination therapy changes rather than metformin alone

Related Questions

Which statin is not associated with urinary tract infections as a side effect?
In a 10-year-old male with costovertebral angle tenderness, low-grade fever, lower abdominal and back pain, and negative appendicitis signs, suspected urinary tract infection, what is the first-line treatment?
How should a 15-year-old male with urinary tract infection symptoms but two consecutive negative urinalysis (UA) and urine cultures (UC) be managed?
In a 23‑month‑old male toddler with a febrile urinary tract infection who has completed seven days of antibiotics, what is the next step regarding referral to a pediatric urologist?
How should a 23-year-old woman with recurrent urinary tract infections, a history of multiple antibiotic courses, and poor adherence due to drug allergies be managed?
How should I restart apixaban (Eliquis) for a patient with pulmonary embolism who has been off anticoagulation for two months?
What are the treatment options for a non-displaced pelvic fracture?
What is the appropriate treatment for a patient with a high‑grade anterior talofibular ligament (ATFL) tear, intermediate‑grade calcaneofibular ligament (CFL) sprain, low‑grade deltoid ligament sprain, bone contusions (marrow edema) of the talus and lateral calcaneus, small tibiotalar joint effusion with anterolateral subcutaneous hematoma, mild distal Achilles tendinopathy without tear, and chronic plantar fasciitis of the central and lateral bundles?
How does valsartan work to block angiotensin II receptors and cause vasodilation?
How should ankle swelling be managed in a patient taking chlorthalidone, telmisartan, or carvedilol (Coreg)?
Should apixaban (Eliquis) be discontinued after six months of treatment for an unprovoked pulmonary embolism?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.