You can get a UTI from sex, but it’s not what you think. Urinary tract infections (UTIs) are not sexually transmitted infections (STIs). They’re not considered contagious. And yet, they can be a result of sex.| American Sexual Health Association