As mentioned above, sexual activity is the most commonly reported cause of UTIs. During sexual activity, bacteria, most commonly e. coli, are transferred from the vagina, anus, or sexual partner to the urinary tract. Any form of sexual activity physically moves or transplants bacteria to the urethra, where they can travel up and establish an infection. The longer the time the bacteria have to travel up the urinary tract, the more likely an infection is. This is why peeing after sex is always a good idea. However, this is not always enough to keep bacteria from traveling through the urinary tract.