Technically you could havesex with a UTI, but it may be painful and/or worsen the symptoms. While a UTI is not a sexually transmitted infection, there is a chance of passing the bacteria that causes the infection (such as E.coli) to your partner.If you do decide to wait, there’s norighttime, but most doctors recommend holding off until the symptoms subside.