Collectively, these findings suggest that exogenous Mel inhibits hepatic ferroptosis in NAFLD by ameliorating ER stress through the MT2/cAMP/PKA/IRE1 pathway, proving that Mel is a promising candidate drug for the treatment of hepatic ferroptosis in NAFLD. The gene discussed is MTNR1B; the disease is metabolic dysfunction-associated steatotic liver disease.