Can't sleep: why it happens, what actually works, and when to get help
Last updated September 3, 2026.
Being exhausted and unable to sleep is usually an overactive stress system, not a broken sleep system. The fixes with real evidence are behavioral: a fixed wake time, getting out of bed when you are awake, cutting late caffeine and alcohol, and morning daylight. The treatment with the strongest evidence, CBT-I, beats sleeping pills in the long run.
Why you can't sleep even though you're tired
- A mind that won't stop: stress and anxiety keep the alert system running.
- An irregular schedule: a body clock that never knows when morning is.
- Late caffeine: half of a 4pm coffee is still active at 9 or 10pm.
- Alcohol: sedates you to sleep, then fragments the second half of the night.
- Late bright light and screens: push your clock later.
- Long or late naps: spend your sleep pressure before bed.
What actually works
- Fixed wake time every day, including weekends. You cannot control when you fall asleep, but you can always control when you get up.
- The 20-minute rule: awake for about 20 minutes? Get up, keep lights low, do something calm and boring, return when sleepy.
- Bed is for sleep: no work, scrolling, or TV in bed.
- Morning daylight anchors the clock better than any supplement.
- CBT-I (cognitive behavioral therapy for insomnia) is the first-line treatment and outperforms pills long-term.
- Melatonin helps timing problems (jet lag, late body clock) at low doses; it is not a knockout pill.
When to get help
See a doctor when insomnia happens three or more nights a week for three months, when loud snoring, gasping, or witnessed breathing pauses suggest sleep apnea, when crawling leg sensations keep you up, when sleeplessness comes with a persistently low or unusually elevated mood, or when you are falling asleep involuntarily during the day. New persistent insomnia is often the first visible sign of anxiety, depression, thyroid problems, or perimenopause, and deserves a look underneath rather than just a pill.
What a Pymander AI doctor consult looks like
Illustrative example, not a real member's messages.
Common questions
Why can't I sleep even though I'm tired?
Being exhausted and unable to sleep is the signature of an overactive stress system, not a broken sleep system. The common drivers: a mind that will not stop planning or replaying (stress and anxiety), an irregular sleep schedule that keeps your body clock guessing, late caffeine (its half-life is about 5 to 6 hours, so a 4pm coffee is still half active at 9 or 10pm), alcohol (it sedates you to sleep then fragments the second half of the night), late screens and bright light pushing your clock later, and naps long or late enough to spend your sleep pressure before bed. The frustrating truth is that sleep cannot be forced; the work is removing the things that block it, then letting it arrive.
What actually works for insomnia?
The treatment with the strongest evidence is CBT-I, cognitive behavioral therapy for insomnia, and it beats sleeping pills in the long run. Its core moves: keep a fixed wake time every day (including weekends), get out of bed when you are awake for roughly 20 minutes and return only when sleepy, use the bed only for sleep, wind down with dim light for the last hour, and get morning daylight to anchor your clock. Sleep restriction, deliberately shortening time in bed to rebuild sleep pressure, is the most powerful and most counterintuitive piece. Over-the-counter antihistamine sleep aids lose effect fast and leave a hangover; melatonin helps most for timing problems (jet lag, late body clock) at low doses, not as a knockout pill; prescription sleep medicines have a role for short stretches but are not the long-term answer.
When is trouble sleeping a reason to see a doctor?
See a doctor when insomnia happens three or more nights a week for three months (that is chronic insomnia, and CBT-I treatment helps), when loud snoring, gasping, or witnessed breathing pauses suggest sleep apnea, when uncomfortable crawling sensations in your legs keep you up (restless legs, sometimes tied to low iron), when sleeplessness arrives with a persistently low or unusually elevated mood, or when you are falling asleep involuntarily in the daytime. Also bring it up before starting any nightly sleep medication. Insomnia is frequently the first visible symptom of anxiety, depression, thyroid problems, and perimenopause, so new persistent insomnia deserves a look underneath, not just a pill.
Is it bad to lie in bed awake?
Yes, and fixing this one habit changes a lot. Lying in bed awake trains your brain to associate the bed with frustration and wakefulness, which is exactly the association insomnia runs on. The rule from CBT-I: if you are awake for roughly 20 minutes (estimate, do not clock-watch), get up, go somewhere dim, and do something calm and boring until you feel sleepy, then return to bed. Repeat as needed. Keep the lights low and stay off your phone, because bright light and interesting content both push sleep away. The bed should mean sleep. The same logic is why the fixed wake time matters more than the bedtime: you cannot control when you fall asleep, but you can always control when you get up.
Does melatonin actually work?
For the right problem, yes; for the problem most people take it for, mostly no. Melatonin is a timing signal, not a sedative. It works best for shifting a body clock: jet lag, delayed sleep phase (the natural 2am to 10am pattern), and shift work, at low doses (around 0.5 to 3 mg) taken a few hours before the target bedtime. For ordinary stress-driven insomnia, the effect is small. More is not better: the 10mg gummies on most shelves overshoot what the brain uses, and higher doses mostly add next-day grogginess and vivid dreams. Quality varies because it is sold as a supplement; look for USP-verified products. If you need melatonin every night for months, the better move is fixing the underlying driver, and that is a good AI doctor consult.
When can insomnia be handled by text or telehealth?
Very well, because insomnia diagnosis and first-line treatment are entirely conversation-based: sleep schedule, caffeine and alcohol timing, stress load, snoring history, and what you have already tried. An AI doctor consult can build a real CBT-I style plan (fixed wake time, the 20-minute rule, wind-down, morning light), screen for sleep apnea and restless legs, and check whether mood, thyroid, or medication causes should be tested. The part that needs in-person care is a formal sleep study when apnea is likely, and anything involving controlled sleep medications. For the large majority of 'I can't sleep,' text is not a compromise; it is the right venue.
Related questions
- How do you stop snoring?
- Can an online doctor help with insomnia?
- What are the signs of sleep apnea?
