The Insomniac's Mental Health Toolkit
If you're reading this, you probably already know what insomnia feels like. The dread of bedtime. Lying awake for hours while your mind runs. Finally falling asleep at 4AM only to have your alarm go off at 7. Dragging through the next day in a fog, then repeating the cycle that night.
You've probably tried the standard advice. Chamomile tea. Dark room. Put your phone away. Maybe it helped a little, or maybe it felt like putting a band-aid on a broken leg.
Chronic insomnia driven by anxiety isn't a sleep hygiene problem. It's a nervous system problem, a cognitive pattern problem, and sometimes a clinical problem. It requires a real toolkit, not a list of tips. This is that toolkit. Take what's useful, leave the rest.
Best treatments for anxiety insomnia
Before we get into individual techniques, here's the landscape of what actually works for insomnia driven by anxiety.
The evidence hierarchy
Strong evidence: CBT-i (Cognitive Behavioral Therapy for Insomnia) is the gold standard. More effective than medication for chronic insomnia, with effects that last after treatment ends. Recommended as first-line treatment by the American Academy of Sleep Medicine, the American College of Physicians, and the European Sleep Research Society.
Good evidence: Sleep restriction therapy, stimulus control therapy, relaxation training (progressive muscle relaxation, guided imagery), mindfulness-based interventions.
Moderate evidence: Sleep hygiene education (helpful as a foundation, rarely sufficient alone), bright light therapy, consistent exercise.
Limited but promising: Acceptance and Commitment Therapy (ACT) for insomnia, biofeedback, specific supplements (magnesium glycinate, L-theanine).
Commonly used but problematic long-term: Prescription sleep medications (benzodiazepines, Z-drugs). Effective short-term, but carry risks of dependency, tolerance, and rebound insomnia. They don't address root causes.
The most effective approach is usually a combination of techniques. Think of this as building a personal protocol, not finding one magic solution.
CBT-i explained simply
CBT-i is the single most effective treatment for chronic insomnia. It typically involves 6-8 sessions with a trained therapist, though self-guided versions also show benefit. Here are its core components in plain language.
Sleep restriction
This sounds counterintuitive and, honestly, a bit brutal. But it's one of the most powerful tools in the insomnia toolkit.
The idea: if you're spending 9 hours in bed but only sleeping 5, your "sleep efficiency" is around 55%. All that extra time in bed is time spent awake, anxious, and reinforcing the association between bed and wakefulness.
Sleep restriction compresses your time in bed to match your actual sleep time. If you're sleeping about 5.5 hours, you'd limit time in bed to 6 hours. Pick a fixed wake time that doesn't change, and calculate your bedtime backward. Example: wake at 6:30 AM, bedtime is 12:30 AM.
Yes, you'll be tired at first. That's the point. You're building sleep pressure so that when you do go to bed, you fall asleep faster and sleep more solidly. As your sleep efficiency improves (above 85%), you gradually extend the window by 15-30 minutes. It's not pleasant in the first week, but sleep restriction significantly improves sleep onset, efficiency, and total sleep time for most people with chronic insomnia.
Important: Do not restrict sleep below 5 hours, and if you have bipolar disorder, seizure disorders, or a job where sleep deprivation is dangerous (operating heavy machinery, for example), do this only under professional guidance.
Stimulus control
Stimulus control is about retraining your brain's association with bed and bedroom. The rules are simple:
- Use the bed only for sleep (and sex). No reading, no phone, no TV, no work, no eating in bed.
- Go to bed only when sleepy. Not when it's "bedtime" or when you think you should. When your eyelids are heavy.
- If you can't sleep after about 20 minutes, get up. Go to another room, do something calm, and return only when sleepy.
- Get up at the same time every morning. Regardless of how much you slept.
- No napping. At least during the initial phase of treatment.
These rules feel rigid. They are. But insomnia is maintained by conditioned arousal (your brain has learned to be alert in bed), and these rules systematically undo that learning. Rule number 3 is the most important one.
Cognitive restructuring
Insomnia is sustained by specific thought patterns. CBT-i identifies and challenges these directly.
Common insomnia thoughts (and their reframes):
"I need 8 hours or I can't function." People vary. Some function well on 6-7 hours. And even on a bad night, you've probably functioned better than your 3AM brain predicted.
"If I don't fall asleep right now, tomorrow will be terrible." Catastrophizing about tomorrow increases arousal, which makes sleep less likely. Tomorrow will be harder, not catastrophic. You've survived bad nights before.
"I've tried everything and nothing works." You've probably tried many things briefly or inconsistently. CBT-i requires 4-6 weeks of consistent practice before full effects emerge.
"Something is seriously wrong with me." Chronic insomnia affects roughly 10% of adults. It's a common condition with effective treatments. It's not a sign of being broken.
"I'll never sleep normally again." Insomnia is treatable. The majority of people who complete CBT-i show significant improvement, and many achieve full remission.
The goal isn't to think positively about insomnia. It's to think accurately. Most insomnia-related thoughts are distortions: catastrophizing, all-or-nothing thinking, fortune-telling. Recognizing them as distortions weakens their grip.
Relaxation training
Many people with anxiety-driven insomnia have forgotten what a relaxed body feels like. Their baseline is tension, and they've been that way so long they don't notice it.
Progressive Muscle Relaxation (PMR): Systematically tense and release muscle groups, from feet to face. Hold tension for 5 seconds, release for 15-20 seconds, notice the difference. Do this for 15-20 minutes daily, ideally not in bed, but in the hour before bed.
Body scan meditation: Move attention through your body, noticing sensations without trying to change them. Research shows body scans reduce pre-sleep arousal.
Guided imagery: Visualize a detailed, calming scene. Engage all senses. The detail matters because it occupies your mind's eye, leaving less bandwidth for rumination.
Your personal sleep anxiety toolkit
Here's where we get specific. Build your toolkit from these categories.
The pre-bed wind-down (7-9 PM)
Worry journal (15 minutes, 4+ hours before bed). Write down every worry. Make tomorrow's to-do list. Address concerns on paper so your brain doesn't need to hold them. Research by Scullin et al. (2018) found that writing a to-do list before bed helped people fall asleep significantly faster.
Screen curfew (60 minutes before bed). Screens suppress melatonin and increase cognitive arousal. If you must use them, use blue-light filtering and avoid news, email, or social media.
Dim the lights. Start dimming 1-2 hours before bed. Switch from overhead lights to lamps or low-wattage bulbs. This signals melatonin production.
Temperature. Cool your bedroom to 65-68 degrees Fahrenheit (18-20 Celsius). A warm shower 60-90 minutes before bed helps because the subsequent cooling mimics the natural temperature drop that triggers sleep.
The middle-of-the-night toolkit (keep by your bed)
A notebook and pen. For brain dumps when your mind is racing. Don't use your phone for this.
A boring book. Something mildly interesting but not exciting. This is your "get out of bed" companion for stimulus control.
Earplugs or a white noise machine. Nighttime sounds (traffic, a partner snoring, house settling) can trigger arousal in an already-anxious brain. Consistent ambient noise masks these disruptions.
A blanket in another room. If you're going to practice stimulus control (getting out of bed when you can't sleep), make the alternative location comfortable enough. A blanket on the couch, a comfortable chair with a reading light.
Daytime habits that affect nighttime anxiety
Exercise, but time it right. Regular physical activity reduces anxiety and improves sleep quality. But intense exercise within 3 hours of bedtime can increase arousal. Morning or afternoon is better.
Caffeine cut-off. Caffeine has a half-life of 5-6 hours. Half of your 2PM coffee is still in your system at 8PM. If insomnia is an issue, experiment with a noon cut-off.
Alcohol awareness. Alcohol helps you fall asleep but severely disrupts sleep architecture: it suppresses REM sleep and causes middle-of-the-night awakenings. Be honest with yourself about how it's affecting your sleep.
Consistent schedule. Same bed and wake time every day, including weekends. Varying by more than an hour disrupts your circadian rhythm and perpetuates insomnia.
Cognitive tools for racing thoughts
The "thought parking lot." When a thought arises, mentally "park" it. "I see that thought. I'll deal with it tomorrow at 9AM." Your brain is more likely to release a thought if it believes the thought will be addressed.
Labeling. Label anxious thoughts as you notice them. "That's catastrophizing." "That's a thought, not a fact." This creates distance and activates the prefrontal cortex.
The cognitive shuffle. Think of a random word. For each letter, visualize unrelated objects starting with that letter. This occupies working memory with non-threatening content and mimics pre-sleep thought fragmentation.
Paradoxical intention. Instead of trying to sleep, try to stay awake. Keep your eyes open in the dark and gently resist sleep. This removes performance anxiety around falling asleep. Multiple studies show paradoxical intention reduces sleep-onset latency.
When insomnia needs professional help
Self-help works for many people. But there are situations where professional involvement isn't just helpful, it's important.
Signs you should see a professional
- Insomnia persisting more than three months, three or more nights per week
- Daytime impairment affecting work, relationships, safety, or health
- Co-occurring depression, PTSD, substance use, or bipolar disorder
- Physical symptoms like loud snoring, gasping during sleep, or restless legs (these may indicate a separate sleep disorder)
- Self-help hasn't worked after 6+ weeks of consistent effort
What professionals can offer
A CBT-i therapist. Six to eight sessions working through sleep restriction, stimulus control, cognitive restructuring, and relaxation training with personalized guidance.
A sleep study. If there's suspicion of sleep apnea, restless leg syndrome, or other sleep disorders, a study can diagnose conditions that no amount of CBT-i will fix.
A psychiatrist. If insomnia co-occurs with severe anxiety or depression, medication may be appropriate. SSRIs can help underlying anxiety. For short-term sleep support, trazodone or hydroxyzine have more favorable profiles than traditional sleep medications.
A brief note on sleep medication. Benzodiazepines and Z-drugs are effective short-term but carry risks of tolerance, dependence, and rebound insomnia. They don't treat the root cause. If you're currently using sleep medication, don't stop abruptly. Work with your prescriber on a tapering plan. CBT-i can be delivered in-person, via telehealth, or through digital programs (the VA's free CBTI Coach app is a good starting point). Your primary care doctor can also make referrals.
Building your personal protocol
No single technique is the answer. The people who successfully overcome anxiety-driven insomnia are usually the ones who build a personalized protocol and stick with it.
Here's a starting framework:
- Pick your fixed wake time. Non-negotiable. Same time every day.
- Calculate your sleep window. Based on how much you're actually sleeping now (not how much you want to sleep).
- Implement stimulus control. Bed is for sleep. If you're awake 20 minutes, get up.
- Add one cognitive technique. Thought labeling, the cognitive shuffle, or paradoxical intention. Pick the one that resonates.
- Build a wind-down routine. Worry journal, dim lights, screen curfew.
- Give it 4-6 weeks. CBT-i principles take time to rewire the associations your brain has built. The first two weeks often feel worse. That's normal.
Adjust based on what works. The goal is a personal system, not rigid adherence to someone else's protocol.
Anxiety-driven insomnia is one of the most frustrating experiences there is. But it is treatable. It takes the right tools, consistency, and sometimes professional support, but the cycle can be broken.
When it's late and the anxiety won't let you sleep, ILTY is there. Not as a replacement for the toolkit above, but as a companion in those hard moments. Someone to talk through the racing thoughts with, to help you process what's keeping you up, to be present when everything else is quiet.
Try ILTY Free for support at the hours when you need it most.
Related Reading
- Sleep & Anxiety: Breaking the Cycle: The full guide to understanding and fixing the sleep-anxiety loop.
- ILTY for Insomnia: How ILTY specifically helps when sleep won't come.
- The 2am Anxiety Spiral: A Practical Guide: Practical techniques for acute nighttime anxiety.
Share this article
Ready to try a different approach?
ILTY gives you real conversations, actionable steps, and measurable progress.
Apply for Beta AccessRelated Support
ILTY can help with what you're reading about.
Related Articles
The 2am Anxiety Spiral: A Practical Guide
When your mind won't stop racing at night, generic advice like 'just relax' doesn't cut it. Here's what's actually happening and what you can do about it.
What to Do at 3AM When Your Brain Won't Shut Up (Action Plan)
Not another article about why you can't sleep. This is a step-by-step action plan for right now, when it's 3AM and your brain won't stop.
Therapy Waitlist? 7 Things to Do While You Wait
Stuck on a therapy waitlist? You're not alone. Here are evidence-based ways to support yourself while waiting for professional help.