What Is a Urinary Tract Infection (UTI)? Symptoms, Causes, Diagnosis, Treatment, and Prevention

What Is a Urinary Tract Infection (UTI)?

What Is a Urinary Tract Infection (UTI)?
Everyday Health

A UTI, also known as a bladder infection, is a common condition that occurs when bacteria enters the urinary tract. Most UTIs involve the lower urinary tract, which includes the bladder and urethra. If a UTI isn't treated, it can also spread to the kidneys.

UTIs are easily treated with antibiotics and typically last for several days.

Signs and Symptoms of a Urinary Tract Infection

A UTI causes inflammation in the lining of your urinary tract, which can lead to uncomfortable or painful symptoms. Notably in seniors, there may be no obvious symptoms, which can be dangerous if an infection goes untreated.

Symptoms of a kidney infection can include:

  • Fever
  • Chills and shaking
  • Pain in the back or side
  • Nausea
  • Vomiting
While less common, children and infants can also get UTIs. Younger children may not be able to tell you about UTI symptoms, but fever is the most common sign in infants and toddlers.

Illustrative graphic titled How a UTI Affects the Body shows fever, nausea or vomiting, chills, frequent urination, pelvic pain, back or side pain, cloudy or discolored urine and burning while urinating. Everyday Health logo.
Urinary tract infections can cause none or all of these symptoms throughout your body.Everyday Health

Causes and Risk Factors of Urinary Tract Infections

A UTI occurs when bacteria enters your urinary tract through your urethra, which can spread to your bladder. The infection can also spread from your bladder through your ureters and infect your kidneys.

Normally, your urinary system flushes out any lingering bacteria before it causes problems. Sometimes this fails, which can lead to infection. E. coli is the most common cause of urinary tract infections, which is a type of bacteria typically found in your lower intestines.

Anyone can get a urinary tract infection, but they are more common in women. This is because females have a urethra that is shorter and closer to the anus.

Here are some other factors that increase UTI risk.

  • Perimenopause and menopause, which can change the vaginal microbiome
  • Birth control such as diaphragms or spermicides
  • Low fluid intake
  • Constipation
  • Incomplete bladder emptying
  • A blockage in the urinary tract, such as a kidney stone or enlarged prostate
  • A suppressed immune system
  • Using a catheter
  • Urinary procedures, such as an exam or surgery

How Is Urinary Tract Infection Diagnosed?

To diagnose a urinary tract infection, your healthcare provider will ask about your symptoms, review your medical history, and conduct a physical exam.

 They may also order the following tests to help confirm a diagnosis.

  • Urinalysis This involves providing a urine sample, which your doctor will send to a lab to test for signs of a UTI, such as bacteria or white or red blood cells.
  • Urine Culture A urine sample may also be used to grow and identify any bacteria that might be present.
  • Imaging Tests If your infection doesn't respond to treatment, your healthcare team can use imaging tests to examine the structures of your urinary tract. Imaging tests include ultrasound, CT scan, and MRI.
  • Cystoscopy For recurrent UTIs, your healthcare provider may recommend a cystoscopy, which involves inserting a long, thin tube with a lens into your urethra to examine your bladder.

Treatment and Medication Options for Urinary Tract Infections

Antibiotics are the first treatment for most simple urinary tract infections. Your healthcare provider will select an antibiotic according to the type of bacteria responsible for your infection. They may also give you medication to relieve pain during urination until the antibiotic starts working. Phenazopyridine (Azo) sold over the counter can ease pain temporarily but it’s important to seek medical attention to treat the source of the infection.

Antibiotics

Common antibiotics for treating UTIs include:

  • Nitrofurantoin (Macrodantin, Macrobid, Furadantin)
  • Trimethoprim and sulfamethoxazole (Bactrim, Septra, Sulfatrim)
  • Fosfomycin (Monurol)
  • Cephalexin (Biocef, Daxbia, Keflex)
The U.S. Food and Drug Administration approved the first new antibiotic for UTIs in nearly 30 years in 2025 called gepotidacin (Blujepa) which may be especially helpful for people with recurrent or antibiotic resistant infections. If you experience frequent UTIs, your doctor may recommend taking a low dose of antibiotics to prevent recurring infections. You may need to take them:

  • When symptoms occur
  • After sex
  • Every day or every other day, for six months or more
If you are pre- or postmenopausal, topical vaginal estrogen can also help to prevent UTIs due to tissue atrophy. Infections can become more common as part of the genitourinary syndrome of menopause.

Home Remedies

In addition to antibiotics, some at-home remedies can help relieve discomfort until your UTI resolves. Here are some things you can try.

  • Apply a heating pad to your abdomen to lessen pressure and discomfort.
  • Drink plenty of water to dilute your urine and flush out bacteria.
  • Avoid beverages that can irritate your bladder, such as alcohol, coffee, and drinks containing citrus.

Lifestyle Changes and Prevention of Urinary Tract Infections

There are several steps you can take to reduce your risk of getting a UTI.

  • Drink plenty of water and other liquids to flush out bacteria.

  • Urinate as soon as you feel the need, and try to completely empty your bladder.

  • If you are a woman, wipe from front to back after urinating or having a bowel movement.

  • Urinate before and after sexual activity.
  • Avoid tight-fitting clothing and materials that can create a moist environment for bacteria.

  • Avoid vaginal deodorants, douches, powders, and other potentially irritating feminine products.

  • Use a method of birth control other than a diaphragm, spermicide, or unlubricated condoms.

  • Manage constipation.

How Long Does a Urinary Tract Infection Last?

Most UTIs respond well to treatment with antibiotics. Once treatment starts, symptoms typically resolve within a few days.

If you have chronic UTIs or your symptoms aren't improving, you may need a stronger course of antibiotics or you may need to take them for longer. If your infection is resistant to antibiotics or you have a kidney infection, you may require intravenous (IV) antibiotics given at a hospital.

Complications of Urinary Tract Infections (UTIs)

Most UTIs don't cause serious issues if they are treated quickly. But delaying treatment can increase your risk of complications.

Potential complications of a UTI include:

  • Kidney Damage Without treatment, a UTI can spread from your bladder to your kidneys and cause permanent damage.
  • Narrowing of the Urethra in Men Recurring infections can cause scarring in the urethra, making it more difficult to urinate.
  • Sepsis An untreated UTI can increase your risk of sepsis, a life-threatening overreaction to an infection.

The Takeaway

  • A urinary tract infection (UTI) occurs when bacteria, such as E. coli, migrates to your urinary tract and spreads.
  • Common symptoms of a UTI include a strong urge to urinate, painful or frequent urination, and strong-smelling or cloudy urine.
  • Treatment for a UTI involves antibiotics, and symptoms typically resolve within a few days. Lifestyle changes, like staying hydrated, wiping from front to back, and avoiding tight-fitting clothing can help prevent UTIs.
  • If you have UTI symptoms, contact your doctor as soon as possible to discuss treatment options. Without treatment, a UTI can spread to your kidneys and potentially lead to kidney damage.

Resources We Trust

EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Urinary Tract Infection (UTI): Symptoms and Causes. Mayo Clinic. September 26, 2025.
  2. Urinary Tract Infections. Cleveland Clinic. April 6, 2023.
  3. Urinary Tract Infection Basics. Centers for Disease Control and Prevention. January 22, 2024.
  4. Urinary tract infection (UTI): Diagnosis and Treatment. Mayo Clinic. September 26, 2025.
  5. Bono MJ. Uncomplicated Urinary Tract Infections. StatPearls. February 21, 2025.
  6. Tan-Kim J et al. Efficacy of vaginal estrogen for recurrent urinary tract infection prevention in hypoestrogenic women. American Journal of Obstetrics and Gynecology. May 8, 2023.
  7. Understanding UTIs in Pregnancy: Causes and Prevention. American Pregnancy Association.
Allison Buttarazzi, MD

Allison Buttarazzi, MD

Medical Reviewer

Allison Buttarazzi, MD, is board-certified in internal medicine and lifestyle medicine, and is a certified health and well-being coach. In her primary care practice, Dr. Buttarazzi...

Holly Pevzner

Holly Pevzner

Author

Holly Pevzner is a writer who specializes in health, nutrition, parenting, and pregnancy. She is currently a staff writer at Happiest Baby. Her work, including essays, columns, fea...