Long post incoming:
Currently I try with my patients the following order.
1) Sleep Hygiene
2) Baldrian and natural remedies
3) Zopiclon 3,75-7,5mg (only a few weeks)
4) Quetiapin (25mg)
4) Here is where I find it hard. Usually would go with Pipamperon 40mg.
Yikes, not gonna lie I hate this algorithm and the only one I agree with is the zopiclone. EBM guidelines suggest the below as your treatment algorithm:
Always recommended:
1. CBT-i (BBT-i if CBT-i isn't realistic) as gold standard
Med options:
2. BZDr agonists or melatonin rec agonists (ramelteon, though VA/DOD is neutral here)
3. Orexin antagonists
4. Doxepin
Other options generally not recommended (weak recommendations against):
5. Trazodone
6. Benzos (some studies include Temazepam as a valid option, otherwise recommended against)
7. Mirtazapine/other sedating antidepressants
8. Antihistamines
9. Antipsychotics
--------
However, that is making sweeping generalizations, the reality of treating insomnia is much different. Identifying the TYPE of insomnia and the root etiology is essential. If it is truly a primary form of insomnia that needs to be directly treated then the above is more valid, but if it's secondary to anything else then obviously that should be addressed.
I always talk to patients about CBT-i and educate them on the CBT-i Coach app. I've heard some docs say they don't think it is worth it, but speaking with a specialist at APA last year there is actually data that using the app by itself without a counselor does still have positive evidence, and my patient population reflects that. If we're not talking to them about CBT-i, IMO we're failing to meet the standard of care.
If meds are necessary, then I look at whether it's acute or chronic insomnia. I'm more likely to try a short course of Ambien or even Temazepam if the insomnia is acute (new within the past 3-6 months) to try and re-initiate a more normal temporal sleep pattern. I always discuss with these patients that they will only get the 2-3 week supply and we will NOT be refilling the med. There are obvious exceptions, but I generally avoid GABA-ergic meds (other than occasionally gabapentin) for sleep, especially chronically.
If they're going to need something more long-term, I start with doxepin at 5-10mg and give the patients some room to adjust for themselves up to 20mg. I don't go above 25mg for insomnia alone, as I've found that if they're not having a decent effect at 25mg, increasing isn't likely to provide lasting benefits.
I think ramelteon and the orexin antagonists like Belsomra can be great options, but getting insurance to approve this in the US is often difficult and sometimes not possible, so those usually end up as later options d/t insurance dictating care and what patients can afford.
Trazodone is usually my second option. Despite the data being weak for it, it is generally very well tolerated and can be effective at very low doses. The guidelines even add an asterisk to trazodone and say "trazodone will likely continue to be regularly used due to its perceived efficacy and generally tolerable side effect profile".
After that it's really dependent on what else is going on with the patient. Other meds I'll sometimes use are mirtazapine, gabapentin, amitriptyline, or doxylamine. I generally avoid the other antihistamines as tolerance and need to increase dosing if scheduled is something I've seen a lot. I also NEVER start an antipsychotic medication for insomnia unless it's being used primarily to treat something else. Imo, the long-term metabolic side effects are just not worth the risk that comes with the sedating antipsychotics. However, you may be able to better justify this on an inpatient unit, especially if using an atypical to augment for depression.
I don't have experience with agomelatine, so I will not comment there. However, the data for valerian root for sleep is pretty terrible and ensuring product quality and dose consistency have repeatedly been pointed out as problems in pretty much every trial on valerian that's been put under the microscope. It might be a decent option for some people, but not something I actually recommend.
On the outpatient side there are more options (sleep restriction can be fantastic for some), but acutely you're going to be much more limited.