Melatonin: A hormone that is produced by the pineal gland and is intimately involved in regulating the sleeping and waking cycles, among other processes. Some people who have chronic insomnia use melatonin supplements. However, melatonin is not recommended for all patients with sleep problems, so one should consult a physician before taking it.