Approximately 90% of UTIs are caused by E. coli bacteria, which is commonly found in the gastrointestinal tract. Sexual intercourse is one of the main ways E. coli can be introduced into the urinary tract and cause an infection.