Urinary Tract Infections

A urinary tract infection (UTI) is a common infection that can affect any part of the urinary system, including the kidneys, bladder, and urethra (the tube through which urine exits the body).  

The most common cause of UTIs is the transfer of bacteria from the rectum or vagina to the urethra. The female anatomy places a woman at greater risk due to the shorter distance from the opening of the urethra to the bladder and the closer proximity of the urethra to the rectum. It’s estimated that at least 40 to 60% of women develop a UTI during their lifetime.

UTI symptoms may include pelvic pain, an increased urge to urinate, pain with urination, incontinence, and blood in the urine. A urinalysis is usually used to confirm a UTI and antibiotics are used to treat infections.

Frequently Asked Questions

  • How do you get a UTI?

    UTIs typically occur when bacteria enters the urethra and migrates to the bladder and sometimes the kidneys. Risk factors include sexual activity, pregnancy, menopause, retaining urine for long periods of time, chronic antibiotic use, having diabetes (which can increase urine glucose that bacteria feed on), and kidney stones or an enlarged prostate that obstructs the flow of urine.

  • How do you get rid of a UTI?

    The majority of UTIs are treated with antibiotics. Uncomplicated UTIs with mild symptoms sometimes resolve on their own and may only require drinking plenty of fluids and taking an OTC pain reliever. If symptoms last more than two days, an antibiotic is needed to clear the infection and prevent complications, such as a kidney infection and kidney damage.

  • How long does a UTI last?

    Most treatments range from five to seven days with symptoms resolving in about two days. Pregnant women may require up to a 14-day course of antibiotics, and those with a compromised immune system may require up to 21 days of treatment.

  • How can you prevent UTIs?

    Drink plenty of fluids, wear breathable cotton underwear, go to the bathroom as soon as you feel the urge to urinate (and wipe front to back), urinate immediately after sex, and wash your genitals and rectum daily with a mild soap daily (ideally before and after sex). Common remedies include probiotics to try to promote healthy digestive and vaginal flora and drinking a daily glass of unsweetened cranberry juice.

  • Can men get a UTI?

    UTIs are most common in women, but they can also occur in men and children. The risk for UTIs in men increases with age and is associated with physiological changes that prevent the bladder from fully emptying, such as an enlarged prostate, or interfere with bowel control.

  • Are UTIs contagious?

    UTIs are not considered contagious and they are not a sexually transmitted disease (STD).  However, bacteria that can lead to a UTI can be passed between partners during sex and bacteria can move into the uretha or farther up into the urethra during intercourse.

Key Terms

pregnant person with her hands on her pelvis
How Does UTI Affect Your Pregnancy?
woman experiences stomach pain
Why Do I Still Have a UTI After Taking Antibiotics?
young women taking pill with water
Is Nitrofurantoin the Best Option to Treat UTIs?
Mature adult woman in medical consultation with male doctor
Urethral Diverticulum: Symptoms, Causes, Diagnosis, Treatment, and Coping
Couple sleeping together in bed at night
Are UTIs Contagious, and Can You Spread Them Like an STI?
Woman suffering from abdominal pain
The Health Benefits of D-Mannose
Urine sample
Avoiding the Dreaded Urinary Tract Infection After Surgery
Vesicoureteral Reflux
Find out All About Vesicoureteral Reflux and How You Can Treat It
High angle view of young female computer hacker coding at desk in office
Understanding How to Have a Urinary Tract Infection and a Sex Life
Woman holding hand over lower pelvis due to urethral pain
What Are the Causes of Urethral Pain?
upset man writing in journal at desk in front of computer
Why Can't I Pee? Urethral Strictures From Diagnosis to Treatment
Page Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Urology Care Foundation. American Urologic Association. Urinary Tract Infections in Adults. Updated April 2019.

  2. National Institute of Diabetes and Digestive and Kidney Diseases. What is a bladder infection? Updated March 2017.

  3. Bono MJ, Reygaert WC. Urinary tract infection. In: StatPearls. Updated November 21, 2020.

Additional Reading