In conclusion, UTI enhances macrophage efferocytosis through the ERK5/Mer signaling pathway, promotes the regression of pneumonia, alleviates lung injury, and provides a new target and theoretical basis for further development of more effective drugs to treat lung injury. Here, MAPK7 is linked to pneumonia.