UTIs are primarily caused by bacteria, with Escherichia coli (E. coli) being the most common culprit. Other bacteria such as Staphylococcus saprophyticus can also cause infections. Factors such as sexual activity, certain types of birth control, menopause, and personal hygiene can increase the risk of developing a UTI.