Like the development of post-UTI pain itself, these data suggest that TRPV1 mediates the establishment of cognitive dysfunction consistent with depression that associated with post-UTI chronic pain, but TRPV1 is dispensable for maintenance of depressive behaviors. Here, TRPV1 is linked to depressive symptom measurement.