In NAFLD, melatonin exerts protective effects by restoring the oxidative balance within cells, suppressing lipogenesis and lipid peroxidation, and modulating the Nrf2/HO-1 and GPX4/SLC7A11 signaling pathways to counteract ferroptosis. This evidence concerns the gene SLC7A11 and metabolic dysfunction-associated steatotic liver disease.