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.
Benzodiazepine
The list of benzodiazepines approved for the treatment of insomnia is fairly similar among most countries, but which benzodiazepines are officially designated as first-line hypnotics prescribed for the treatment of insomnia varies between countries. Longer-acting benzodiazepines such as nitrazepam and diazepam have residual effects that may persist into the next day and are, in general, not recommended.