In the therapeutic strategies, the role of diet is a well-established factor that can also have an important role in liver diseases. Melatonin, identified in animals, has many antioxidant properties and it was after discovered also in plants, named phytomelatonin. These substances have a positive effect during aging and in pathological conditions too. In particular, it is important to underline that the amount of melatonin produced by pineal gland in human decreases during lifetime and its reduction in blood could be related to pathological conditions in which mitochondria and oxidative stress play a pivotal role. Moreover, it has been indicated that melatonin/phytomelatonin containing foods may provide dietary melatonin, so their ingestion through balanced diets could be sufficient to confer health benefits. In this review, the classification of liver diseases and an overview of the most important aspects of melatonin/phytomelatonin, concerning the differences among their synthesis, their presence in foods and their role in health and diseases, are summarized. The findings suggest that melatonin/phytomelatonin supplementation with diet should be considered important in preventing different disease settings, in particular in liver. Currently, more studies are needed to strengthen the potential beneficial effects of melatonin/phytomelatonin in liver diseases and to better clarify the molecular mechanisms of action.