These results show that post-UTI pain was altered by targeting TRPV1 only when capsazepine was given at the time of infection, suggesting that TRPV1 plays a role in the establishment, of post-UTI chronic pain but not in maintenance of post-UTI pain. Here, TRPV1 is linked to bacterial urinary tract infection.