Our results suggest that UTI enhances macrophage endocytosis through the ERK5/Mer signaling pathway, thereby accelerating the resolution of pneumonia. Here, MERTK is linked to bacterial urinary tract infection.