Melatonin dietary supplements are widely consumed worldwide, with developed countries as the largest consumers, with an estimated annual growth rate of approximately 10% until 2027, mainly in developing countries. The wide use of melatonin against sleep disorders and particular problems, such as jet lag, has been added to other applications, such as anti-aging, anti-stress, immune system activation, anticancer, and others, which have triggered its use, normally without a prescription. The chemical industry currently covers 100% of the needs of the melatonin market. Motivated by sectors with more natural consumption habits, a few years ago, the possibility of obtaining melatonin from plants, called phytomelatonin, arose. More recently, the pharmaceutical industry has developed genetically modified microorganisms whose ability to produce biological melatonin in bioreactors has been enhanced. This paper reviews the aspects of the chemical and biological synthesis of melatonin for human consumption, mainly as dietary supplements. The pros and cons of obtaining melatonin from microorganisms and phytomelatonin from plants and algae are analyzed, as well as the advantages of natural melatonin, avoiding unwanted chemical by-products from the chemical synthesis of melatonin. Finally, the economic and quality aspects of these new products, some of which are already marketed, are analyzed.