In women, UTI is an infection caused by bacteria entering the urinary tract. The shorter female urethra makes it easier for bacteria to reach the bladder. Sexual activity, certain types of birth control like diaphragms and spermicides, and menopause-related changes in the urinary tract increase the risk of UTIs. Structural abnormalities or blockages in the urinary tract can also lead to the infection.