A urinary tract infection is an infection in any part of the urinary system. The urinary system includes the kidneys, ureters, bladder, and urethra. Most infections affect the lower urinary tract, bladder, and urethra. Women are at higher risk of developing a UTI than men.