Lying awake at 2 a.m., doing the math on how little sleep you will get, is one of the more miserable human experiences. Here is what actually helps — separated into what to do tonight while you are lying there, and the proven long-term fix that most people have never been told about. This is general information, not medical advice; persistent insomnia deserves a doctor.
Tonight: what to do when you're lying awake
The cruel irony of insomnia is that trying to sleep makes it worse — effort creates arousal, and arousal is the enemy of sleep. So the in-the-moment moves are about reducing pressure, not forcing sleep:
- Get out of bed. If you have been awake for more than about 20 minutes, get up and go to another room. Lying in bed frustrated teaches your brain that bed = wakefulness. Do something calm and boring in dim light until you feel sleepy, then return. This is the counterintuitive core of the proven treatment below.
- Do not check the clock. The math ("only four hours left") spikes anxiety. Turn it away.
- Take the pressure off. Tell yourself resting quietly still has value, and that one bad night is survivable. Removing the stakes lowers the arousal keeping you awake.
- Slow your breathing. Long, slow exhales through the nose nudge your nervous system toward its rest state. (Box breathing for sleep.) If racing thoughts are the problem, there are specific techniques for that. (How to quiet racing thoughts at night.)
- Keep the lights and screens off. Light and stimulation are the last things you want.
The long-term fix almost nobody mentions: CBT-I
Here is the most important thing in this article. The first-line, evidence-based treatment for chronic insomnia is not sleeping pills — it is Cognitive Behavioral Therapy for Insomnia (CBT-I), and it outperforms medication for long-term results without the dependency or grogginess. Major medical bodies recommend it as the first thing to try.
CBT-I retrains the habits and thoughts that keep insomnia going — things like getting out of bed when you can't sleep, restricting time in bed to rebuild sleep pressure, and defusing the anxiety loop around sleep. It is usually a few weeks of structured work, available through therapists and increasingly through well-validated apps. If you have chronic insomnia, asking a doctor about CBT-I is the single highest-value move you can make.
Fix the fixable contributors
Insomnia often has feeders worth removing:
- Caffeine and alcohol. Both wreck sleep — caffeine keeps you wired for hours, alcohol fragments the night. (Caffeine cutoff timing; alcohol and sleep.)
- An irregular schedule. Inconsistent timing feeds insomnia. (Fix your schedule.)
- A poor sleep environment. Cool, dark, quiet. (Sleep hygiene checklist.)
- Disrupted breathing. If mouth breathing or snoring is fragmenting your nights and feeding the sense of unrefreshing sleep, restoring nasal breathing can help — for a habitual mouth breather with a clear nose, mouth tape is a low-cost thing to try. (It addresses breathing, not the anxiety loop of true insomnia — those are different problems.)
When to see a doctor
See a professional if insomnia lasts more than a few weeks, happens most nights, or wrecks your daytime functioning — that is chronic insomnia, and CBT-I or medical evaluation is warranted. Also see a doctor if your sleeplessness comes with loud snoring and daytime exhaustion (possible sleep apnea), or with significant anxiety or depression, which frequently drive insomnia and are treatable in their own right.
The bottom line
Tonight, stop trying — get out of bed, take the pressure off, breathe slow, and wait for sleepiness. Long-term, the real fix for chronic insomnia is CBT-I, not pills. Remove the caffeine, alcohol, and schedule chaos feeding it, and if it persists for weeks, see a doctor and ask specifically about CBT-I.