Many scientific studies have suggested that taking melatonin tablets can induce sleep  But this does not mean that melatonin is helpful in treating insomnia
Most of the studies examined only people without insomnia, and in many of the studies, only a few of the subjects given melatonin appeared to be significantly affected by it
Several people who were in control groups and only given placebos claimed that the tablets induced sleep.