Doxepin
In 2016 the American College of Physicians advised that insomnia be treated first by treating comorbid conditions, then with cognitive behavioral therapy and behavioral changes, and then with drugs; doxepin was among those recommended for short-term help maintaining sleep, on the basis of weak evidence. The 2017 American Academy of Sleep Medicine recommendations focused on treatment with drugs were similar. A 2015 AHRQ review of treatments for insomnia had similar findings.
Insomnia
Studies have also shown that children who are on the Autism spectrum or have learning disabilities, Attention-Deficit Hyperactivity Disorder (ADHD) or related neurological diseases can benefit from the use of melatonin. This is because they often have trouble sleeping due to their disorders. For example, children with ADHD tend to have trouble falling asleep because of their hyperactivity and, as a result, tend to be tired during most of the day. Another cause of insomnia in children with ADHD is the use of stimulants used to treat their disorder. Children who have ADHD then, as well as the other disorders mentioned, may be given melatonin before bedtime in order to help them sleep.