Our study is the first to show that melatonin alleviated the disturbance of PM2.5-triggered hepatic steatosis and liver damage by regulating the ROS-mediated PTP1B and Nrf2 signalling pathways. The gene discussed is PTPN1; the disease is fatty liver disease.