In conclusion, the results in this work suggested that UTI could decrease the release of IL-1β and IL-6 inflammatory factors and alleviate the expression levels of Tau-pS396, Tau, and Aβ proteins in the hippocampus, thereby alleviating the learning and memory impairment in rats with repetitive KET exposure. The gene discussed is MAPT; the disease is bacterial urinary tract infection.