Urinary tract infections (UTIs) are often recurrent. The organism does not always establish an effective line of defense that protects from reinfection. The key lies in two reservoirs of bacteria and how tissue-resident memory T cells (TRMs) trigger the immune response. A recent paper from the Pasteur Institute in France describes how these cells mediate immunity to defeat reinfection.