Taken together, melatonin suppressed macrophage M1 polarization and ROS-mediated pyroptosis via activating the ApoE/LDLR pathway in ALI. The gene discussed is LDLR; the disease is acute respiratory distress syndrome.