insomnia

Why Can’t I Sleep? What Causes Insomnia and What Actually Fixes It

Why Can’t I Sleep? What Causes Insomnia and What Actually Fixes It

If you cannot sleep and you have ruled out caffeine and a noisy street, the most likely explanation is that your brain has learned to treat the bed as a place where you lie awake. That sounds glib, but it is the mechanism behind most chronic insomnia, and it is why the treatment with the strongest evidence is not a pill — it is a structured behavioral program called CBT-I that retrains the association.

The other common answers: an anxiety or depressive disorder driving the arousal, a medication you are already taking, untreated sleep apnea masquerading as insomnia, or a body clock that has drifted out of alignment with your schedule. Which one it is determines what will work, and guessing wrong is why people spend years cycling through melatonin, magnesium, and increasingly desperate bedtime routines.

First: is this actually insomnia?

Clinically, insomnia means difficulty falling asleep, staying asleep, or waking too early, and daytime consequences from it, occurring despite adequate opportunity to sleep. That last clause matters. Sleeping five hours because you go to bed at 1 a.m. and the alarm goes at 6 is sleep deprivation, not insomnia. Lying in bed for eight hours and sleeping four and a half is insomnia.

Duration splits it into two categories with genuinely different outlooks:

  • Acute insomnia — days to a few weeks, usually attached to an identifiable stressor. Most of it resolves on its own when the stressor does.
  • Chronic insomnia — three or more nights a week for longer than three months. This rarely resolves on its own, because by then the original trigger has been replaced by the anxiety about sleeping, which sustains itself.

That transition from acute to chronic is the important part of the story, and it is worth understanding because it explains why “just don’t worry about it” fails as advice.

How a bad month becomes a bad year

Something disrupts your sleep — a deadline, a newborn, a diagnosis, a breakup. You sleep badly for two weeks. Entirely normal.

Then you start compensating. You go to bed earlier to catch up. You stay in bed in the morning hoping to get another hour. You nap. Each of those is reasonable and each one makes it worse, because sleep drive builds with time awake, and spending more hours in bed dilutes it across a longer window. You end up with ten hours in bed and six hours of fragmented sleep.

At the same time the bed becomes a cue for frustration rather than sleep. You have now spent dozens of hours lying there awake and irritated. The body learns the pattern. People in this state describe falling asleep instantly on the sofa and becoming wide awake the moment they get into bed — which is the clearest possible evidence that the problem is conditioned rather than physiological.

💡 The counterintuitive fix: the treatment for this is spending less time in bed, not more, until sleep consolidates. It is the core of CBT-I and it is the opposite of what almost everyone tries on their own.

The specific causes worth ruling out

Anxiety and depression

The relationship runs both directions, which is why it is so hard to untangle. Anxiety produces the racing mind at lights-out and the physiological arousal that blocks sleep onset. Depression more often produces early-morning waking — up at 3 or 4 a.m., unable to get back down. And poor sleep worsens both conditions, which worsens the sleep.

The practical implication: if insomnia is sitting on top of an untreated mood or anxiety disorder, sleep interventions alone tend to underperform. Treating both together works better than sequencing them.

Medications you are already taking

Frequently missed, easily checked. Some antidepressants (particularly SSRIs and bupropion), stimulants for ADHD, corticosteroids, certain beta-blockers, thyroid replacement at too high a dose, and decongestants all disrupt sleep. So does timing — the same antidepressant can be fine in the morning and disastrous at night. Bring a full medication list to any sleep evaluation, including supplements.

Sleep apnea wearing an insomnia costume

Repeated airway obstruction fragments sleep into micro-awakenings you never consciously register. What you experience is waking unrefreshed after eight hours and being told you slept fine. Snoring, witnessed pauses in breathing, morning headaches, and a larger neck circumference all raise suspicion. This one needs a sleep study, and treating it as insomnia will not help.

A body clock that has drifted

Shift work, jet lag, and delayed sleep phase all produce insomnia symptoms without any insomnia disorder. The tell is that you sleep perfectly well — just at the wrong hours. Someone who cannot fall asleep until 3 a.m. but sleeps soundly until 11 has a timing problem, and timing problems respond to light exposure, not to sedatives.

Alcohol

Worth its own heading because it is so commonly used as a sleep aid. It shortens sleep onset and then wrecks the second half of the night, suppressing REM and causing rebound waking around 3 a.m. as it metabolizes. People who drink to sleep almost always have worse sleep architecture than they realize.

CBT-I: what the first-line treatment actually involves

Cognitive behavioral therapy for insomnia is the recommended first-line treatment for chronic insomnia in adults, ahead of medication. It runs four to eight sessions and it outperforms sleep medication in the long run, because the effects persist after treatment ends rather than disappearing when the prescription does.

Two components do most of the work:

Sleep restriction. You calculate how much you actually sleep — say five hours — and restrict time in bed to roughly that, with a fixed wake time. Sleep becomes consolidated and efficient rather than spread thin. As efficiency climbs, time in bed is extended gradually. The first week is genuinely hard, and this is exactly why it works better with a clinician than as a self-directed project.

Stimulus control. The bed is for sleep and sex, nothing else. No phone, no television, no working. If you are awake more than about 20 minutes, you get up, go elsewhere, do something dull in dim light, and return only when sleepy. This breaks the conditioned association directly.

Alongside those: cognitive work on catastrophic sleep beliefs (“if I don’t sleep I’ll ruin tomorrow” — which raises arousal and becomes self-fulfilling), relaxation training, and the sleep hygiene basics.

A note on sleep hygiene alone

Sleep hygiene — cool dark room, no screens, no late caffeine — is necessary and insufficient. It is not a treatment for chronic insomnia on its own, and studies consistently show it underperforms full CBT-I. If you have already fixed your bedroom and your caffeine and you still cannot sleep, that is not a failure on your part. You applied the weakest component.

Where medication fits

Sleep medication has a real role: short-term use during an acute crisis, or alongside CBT-I when insomnia is severe enough that the behavioral work is not tolerable on its own.

The categories: sedative-hypnotics for short courses; melatonin receptor agonists, which act on circadian timing rather than sedation; low-dose sedating antidepressants, often used when insomnia sits alongside depression or anxiety; and orexin receptor antagonists, a newer class. Over-the-counter melatonin is genuinely useful for circadian problems like jet lag and shift work and largely unhelpful for conditioned insomnia — timing and dose matter more than most packaging suggests.

The risks are tolerance, dependence, next-day impairment, and rebound insomnia on discontinuation that convinces people they still need the drug. None of that argues against ever using medication. It argues for using it deliberately, with a plan for stopping, under someone who is monitoring.

⚠️ Do not stop a prescribed sleep medication abruptly, particularly benzodiazepines or Z-drugs taken for an extended period. Discontinuation should be tapered with your prescriber.

What happens at a sleep evaluation

A proper assessment covers your sleep timeline — when it started, what changed, what you have tried — alongside a full medication review, screening for depression and anxiety, substance and alcohol use, and a check for apnea risk factors. Many providers use the Insomnia Severity Index to establish a baseline and measure change.

You will likely be asked to keep a two-week sleep diary: time to bed, estimated time asleep, number and length of awakenings, wake time, and how you felt. Estimates are fine — do not clock-watch, since that raises arousal and distorts what you are measuring. If apnea or a movement disorder is suspected, an overnight sleep study gets ordered.

Psychiatric providers handle the substantial share of insomnia driven by mood, anxiety, or medication effects, and can manage both the sleep problem and the condition underneath it. An online insomnia treatment visit covers all of this remotely, including medication review and adjustment where a current prescription is part of the problem.

What sleeping badly for years actually costs

Chronic insomnia is associated with elevated risk of hypertension and cardiovascular disease, disrupted glucose regulation and appetite hormones, weakened immune response, and measurable impairment in memory consolidation and executive function. It roughly doubles the risk of developing depression. And drowsy driving carries impairment comparable to alcohol at meaningful levels of sleep debt.

These are reasons to treat it, not reasons to lie awake worrying about it — which, given how insomnia works, would be counterproductive.

Frequently asked questions

Why do I wake up at 3 a.m. every night?

Common causes: alcohol metabolizing and triggering rebound arousal, a depressive episode producing early-morning waking, blood sugar dips, sleep apnea events clustering in REM-heavy late-night sleep, or simply having gone to bed too early relative to your sleep drive. The pattern is informative — mention the specific time to your provider.

How long before I should get help?

Three or more bad nights a week for a month, with daytime impact. Sooner if it started alongside a mood change or a new medication.

Can insomnia go away on its own?

Acute insomnia usually does. Chronic insomnia rarely does, because the maintaining factors are different from the original cause.

Is melatonin safe to take every night?

Short-term use is generally well tolerated, but it is regulated as a supplement, so actual content varies from the label. It is most useful for circadian timing problems and least useful for conditioned insomnia. Worth discussing with a provider rather than escalating the dose on your own.

Does CBT-I work if I do it from an app or a book?

Digital CBT-I has decent evidence and is better than nothing. Completion rates are the weak point — sleep restriction is uncomfortable in week one, and having a clinician holding you to it substantially raises the odds you finish.

Find out what is actually keeping you awake

Samz Mental Health provides online evaluation for insomnia with a board-certified psychiatric nurse practitioner — including medication review and treatment for the anxiety or depression often underneath it.

Book a Sleep Evaluation

Further reading


Medically reviewed by Samuel Omolade, PMHNP-BC, board-certified Psychiatric Mental Health Nurse Practitioner. Last reviewed July 2026. This article is general information and is not a substitute for individual medical advice.

Similar Posts