Melatonin is a dietary supplement and medication as well as naturally occurring hormone. As a hormone, melatonin is released by the pineal gland and is involved in sleep–wake cycles. As a supplement, it is often used for the attempted short-term treatment of disrupted sleep patterns, such as from jet lag or shift work, and is typically taken orally. Evidence of its benefit for this use, however, is not strong. A 2017 review found that sleep onset occurred six minutes faster with use, but found no change in total time asleep.
Side effects from melatonin supplements are minimal at low doses for short durations (in the studies reported about equally for both melatonin and placebo). Side effects of melatonin are rare but may occur in 1 to 10 patients in 1,000. They may include somnolence (sleepiness), headaches, nausea, diarrhea, abnormal dreams, irritability, nervousness, restlessness, insomnia, anxiety, migraine, lethargy, psychomotor hyperactivity, dizziness, hypertension, abdominal pain, heartburn, mouth ulcers, dry mouth, hyperbilirubinaemia, dermatitis, night sweats, pruritus, rash, dry skin, pain in the extremities, symptoms of menopause, chest pain, glycosuria (sugar in the urine), proteinuria (protein in the urine), abnormal liver function tests, increased weight, tiredness, mood swings, aggression and feeling hungover. Its use is not recommended during pregnancy or breastfeeding or for those with liver disease.
Melatonin acts as an agonist of the melatonin MT1 and MT2 receptors, the biological targets of endogenous melatonin. It is thought to activate these receptors in the suprachiasmatic nucleus of the hypothalamus in the brain to regulate the circadian clock and sleep–wake cycles. Immediate-release melatonin has a short elimination half-life of about 20 to 50 minutes. Prolonged-release melatonin used as a medication has a half-life of 3.5 to 4 hours.
Melatonin was discovered in 1958. It is sold over the counter in Canada and the United States; in the United Kingdom, it is a prescription-only medication.