November 16, 2026
Tried Everything for Insomnia? The Steps Most People Miss
By the My Circadian Health editorial team. Reviewed by Brandon Korenek, Founder.
The short answer
If you have tried everything for insomnia and nothing works, the "everything" is usually a familiar list: a dark bedroom, no screens, less caffeine, chamomile tea, melatonin, magnesium, maybe a white noise machine. Those are reasonable things to try. They are also, according to the major clinical guidelines, the options with the weakest evidence for chronic insomnia.
What usually has not been tried yet is the treatment those same guidelines put first: structured cognitive behavioral therapy for insomnia (CBT-I), done in full and for long enough. The other common gaps are checking for a second sleep problem, such as sleep apnea, and having a proper evaluation with a clinician who can weigh every option with you, including whether medication makes sense. None of this means your effort was wasted. It means there are still real options left.
Why "tried everything for insomnia and nothing works" is so common
Most people with insomnia work through the advice that is easiest to find. Unfortunately, the easiest advice to find is not the advice with the strongest research behind it.
Sleep hygiene helps sleep, but it is not a treatment for insomnia
Sleep hygiene covers habits like a regular bedtime, limiting caffeine and alcohol, and keeping the bedroom quiet and dark. A 2015 review in Sleep Medicine Reviews (Irish et al.) found that individual hygiene habits are associated with better sleep, but noted that sleep hygiene has proven ineffective as a stand-alone treatment in clinical sleep medicine.
The American Academy of Sleep Medicine (AASM) went further in its 2021 guideline (Edinger et al.). It suggests that clinicians not use sleep hygiene by itself as therapy for chronic insomnia disorder. So if a perfect bedtime routine did not fix your sleep, that is roughly what the evidence would predict. It was never designed to carry the whole load.
Melatonin and magnesium have small or uncertain effects
A 2013 meta-analysis of 19 trials in PLOS ONE (Ferracioli-Oda et al.) found that melatonin shortened the time to fall asleep by about 7 minutes and added about 8 minutes of total sleep compared with placebo. The authors called the effects "modest." If you were hoping for an extra hour of sleep, a few minutes can feel like nothing at all.
The AASM's 2017 guideline on drug treatment for chronic insomnia (Sateia et al.) suggests clinicians not use melatonin, valerian, tryptophan, or a common over-the-counter antihistamine sleep aid as treatments for chronic insomnia in adults. These were weak recommendations, based on limited evidence of benefit.
Magnesium is even less certain. A 2021 systematic review in BMC Complementary Medicine and Therapies (Mah and Pitre) found only three small trials, all in older adults, with a pooled improvement in time to fall asleep of about 17 minutes. The authors rated the evidence low to very low quality and concluded it was not strong enough for physicians to make well-informed recommendations.
The treatment most people have not fully tried: CBT-I
CBT-I is a structured program, delivered over several sessions, that targets the habits and thought patterns that keep insomnia going. The American College of Physicians recommends that all adults with chronic insomnia receive CBT-I as the initial treatment (Qaseem et al., 2016), and multicomponent CBT-I is the only "strong" recommendation in the AASM's 2021 guideline on behavioral treatments (Edinger et al., 2021).
A 2015 meta-analysis of 20 trials in Annals of Internal Medicine (Trauer et al.) found that, compared with inactive controls, CBT-I shortened the time to fall asleep by about 19 minutes and cut time awake during the night by about 26 minutes. Sleep efficiency, the share of time in bed actually spent asleep, rose by about 10 percentage points. Total sleep time barely changed at the end of treatment, and the improvements seemed to hold at later follow-up.
Source: Trauer et al., 2015, Annals of Internal Medicine
That last detail matters. CBT-I does not mainly work by adding hours. It works by making the time in bed more solid and less of a struggle, which many people describe as the bigger relief.
The parts that do the heavy lifting
Sleep restriction. You temporarily limit your time in bed to roughly the amount you are actually sleeping, then widen it as your sleep consolidates. It sounds backward, but it builds sleep pressure. A 2021 meta-analysis in Sleep Medicine Reviews (Maurer et al.) found large short-term improvements in insomnia severity, sleep efficiency, time to fall asleep and night waking with sleep restriction alone, while noting the trials were few and many had a high risk of bias. The first weeks can feel harder before they feel better, which we cover in why CBT-I can make sleep worse the first week.
Stimulus control. You go to bed only when sleepy, get up if you cannot sleep, and use the bed only for sleep and sex. The goal is to retrain the brain to link the bed with sleeping instead of lying awake. The AASM suggests it as a stand-alone option too (Edinger et al., 2021).
Cognitive work. This targets the worry loop: "If I don't sleep tonight, tomorrow is ruined." Loosening that pressure is often what lets the behavioral changes stick.
"I tried CBT-I" is not always the same as CBT-I
Many people have read a list of CBT-I tips, or used an app for a week, and stopped when nights got rougher. That is understandable, but it is different from the programs studied. The trials in the Trauer meta-analysis combined at least three components, such as cognitive therapy, stimulus control, sleep restriction, sleep hygiene and relaxation, delivered as a full course. If your attempt was short, partial, or skipped sleep restriction, it may be worth another try with a trained clinician guiding the schedule.
Something else may be keeping you awake
Sometimes insomnia does not respond because it is not the only problem. Obstructive sleep apnea is a common example. A 2019 meta-analysis of 37 studies in Sleep Medicine Reviews (Zhang et al.) estimated that about 29 to 35 percent of people with insomnia also had sleep apnea, depending on the threshold used, and that 38 percent of people with sleep apnea also had insomnia.
Sleep apnea is not something to work around with better habits. If you snore loudly, someone has noticed you stop breathing or gasp in your sleep, or you wake with headaches or feel very sleepy during the day, ask about an in-person sleep evaluation. Our guide to whether you need a sleep study for insomnia explains how that process works.
Other things a clinician will usually ask about include a body clock that runs late (see can't fall asleep until 3 a.m.), restless legs, pain, other medications, alcohol, and your mood. If low mood, anxiety, or substance use is part of the picture, please get in-person care for that as well, so both problems are treated together.
If sleepless nights have reached the point where you are thinking about harming yourself, you are not alone and help is available right now. Call or text 988 to reach the 988 Suicide and Crisis Lifeline, available 24 hours a day in the U.S.
Where medication fits
Prescription medication is part of insomnia care for some people, but guidelines do not place it first. The American College of Physicians recommends that when CBT-I alone has not worked, the decision to add medication should be made through shared decision-making that weighs the benefits, harms and costs of short-term use (Qaseem et al., 2016).
Several prescription drug classes are used for insomnia, including sedative-hypnotics and orexin receptor antagonists, and some of them are controlled substances. Each carries its own trade-offs, and every recommendation for an individual drug in the AASM's review was graded weak (Sateia et al., 2017). Whether any medication is appropriate for you is a decision for a licensed clinician after an evaluation of your history, other conditions, and other medications. For many people, the result of that evaluation is a plan centered on CBT-I or further testing, not a prescription.
A practical order of operations
If you feel you have run out of ideas, this sequence follows the guidelines above:
- Keep a sleep diary for one to two weeks. Note bedtime, time to fall asleep, wake-ups, rise time and naps. It gives you and a clinician real numbers instead of impressions.
- Rule out a second sleep problem. Especially if you snore, gasp at night, or feel very sleepy in the day.
- Do a full course of CBT-I, ideally with a trained clinician or a structured program, and give it several weeks.
- If that is not enough, talk with a clinician about the full range of options, including whether short-term medication is worth discussing.
Source: Qaseem et al., 2016, Annals of Internal Medicine; Edinger et al., 2021, Journal of Clinical Sleep Medicine
Frequently asked questions
Can chronic insomnia go away for good?
For many people it improves substantially. In the Trauer meta-analysis, gains from CBT-I appeared to last at later follow-up points, though the estimates were less certain over time. Insomnia can return during stressful periods, and the same CBT-I skills can often be reused when it does.
How long does CBT-I take to work?
CBT-I is delivered over several sessions spread across weeks, not a single night. In the trials reviewed by Trauer and colleagues, results were measured at the end of a full course. Sleep restriction can also feel tiring at first, so judging the program after a few nights is usually too early.
Is it normal for melatonin not to help my insomnia?
Yes, it is common. A meta-analysis found melatonin shortened the time to fall asleep by only about 7 minutes on average, and the AASM suggests clinicians not use it as a treatment for chronic insomnia. If melatonin has not helped, that is useful information to share with a clinician rather than a sign that nothing will.
Should I see a sleep specialist if nothing has worked?
It can be a good idea, especially if you have signs of sleep apnea, restless legs, or very irregular sleep timing. A primary care physician or telehealth physician can also be a reasonable first step, assess what you have already tried, and refer you for testing or CBT-I if needed.
Can I do CBT-I on my own?
Self-guided books and digital CBT-I programs exist, and some people prefer to start there. Because sleep restriction means deliberately shortening time in bed at first, many people find it easier to follow with a trained clinician setting and adjusting the schedule. If a self-guided attempt has stalled, guided CBT-I is a reasonable next step.
Sources
- Edinger JD, Arnedt JT, Bertisch SM, et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. https://doi.org/10.5664/jcsm.8986
- Ferracioli-Oda E, Qawasmi A, Bloch MH. (2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. PLOS ONE. https://doi.org/10.1371/journal.pone.0063773
- Irish LA, Kline CE, Gunn HE, Buysse DJ, Hall MH. (2015). The role of sleep hygiene in promoting public health: a review of empirical evidence. Sleep Medicine Reviews. https://doi.org/10.1016/j.smrv.2014.10.001
- Mah J, Pitre T. (2021). Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complementary Medicine and Therapies. https://doi.org/10.1186/s12906-021-03297-z
- Maurer LF, Schneider J, Miller CB, Espie CA, Kyle SD. (2021). The clinical effects of sleep restriction therapy for insomnia: a meta-analysis of randomised controlled trials. Sleep Medicine Reviews. https://doi.org/10.1016/j.smrv.2021.101493
- Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD. (2016). Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Annals of Internal Medicine. https://doi.org/10.7326/M15-2175
- Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. (2017). Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. https://doi.org/10.5664/jcsm.6470
- Trauer JM, Qian MY, Doyle JS, Rajaratnam SM, Cunnington D. (2015). Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Annals of Internal Medicine. https://doi.org/10.7326/M14-2841
- Zhang Y, Ren R, Lei F, et al. (2019). Worldwide and regional prevalence rates of co-occurrence of insomnia and insomnia symptoms with obstructive sleep apnea: a systematic review and meta-analysis. Sleep Medicine Reviews. https://doi.org/10.1016/j.smrv.2019.01.004
This article is for general education and is not medical advice. Talk with a licensed clinician about your own symptoms before starting, stopping, or changing any treatment.