Melatonin has been given to premature infants in the first 24 hours of their life. Children as young as two years of age can benefit from a liquid version of melatonin to help them sleep. However, sleep scientists believe that families should first try behavioral methods of improving sleep before melatonin.