Skip to main content
All symptoms

By symptom

Insomnia.

You can’t get to sleep. You can’t stay asleep. Or both.

What’s actually going on

How I think about this.

Insomnia is the most common sleep complaint in adult medicine and often treated with a hypnotic prescription first. Those medications can help in the short term, and they do not on their own address the system that is making sleep difficult, which is why I look at that system as well.

The two presentations I see most are sleep-onset insomnia (cannot fall asleep) and sleep-maintenance insomnia (cannot stay asleep). They usually come from different causes. Sleep-onset trouble often involves a stress-hormone pattern: cortisol that should fall through the evening stays elevated, often driven by late eating, screen light, alcohol, or chronic stress arousal. Sleep-maintenance trouble often has a blood-sugar component: glucose drops in the second half of the night, the adrenal system fires cortisol to pull it back up, and you wake.

The other drivers that often hide underneath: subclinical hypothyroid, magnesium and B-vitamin gaps, sex hormone shifts in perimenopause, sleep apnea (especially in men over 40 and women in perimenopause and beyond), and the medication list.

Before anything else

When insomnia needs medical evaluation.

Everything further down this page is about physiology that can contribute to this symptom. None of it replaces a conventional diagnosis, and some presentations need to be seen rather than measured. Start here.

Get emergency care now

  • Thoughts of harming yourself. In the US, call or text 988
  • Falling asleep involuntarily while driving

If any of these apply, this page is not the right next step. Call 911 or go to an emergency department.

See a physician promptly, within days

  • Witnessed breathing pauses, choking or gasping during sleep
  • Insomnia with new breathlessness when lying flat
  • Insomnia that began abruptly alongside weight loss, tremor or palpitations

Worth a routine medical evaluation

  • Difficulty sleeping at least three nights a week for more than three months
  • Insomnia that has not responded to consistent sleep timing and reduced evening light
  • Ongoing reliance on alcohol or over-the-counter sleep aids to fall asleep

Chronic insomnia deserves cognitive behavioural therapy for insomnia as first-line treatment. Where that is already in place, or where the pattern is clearly circadian or metabolic, the systems above are a reasonable adjunct to look at.

This list covers the presentations that most often need conventional assessment. It is not exhaustive, and it does not replace clinical judgement. If something feels wrong and is not on it, that is still a reason to be seen.

Systems that can contribute

Where insomnia can come from.

Each of these can be part of the picture. None of them is the answer on its own, and finding something here does not establish that it is the reason you feel the way you do.

  • Stress-hormone rhythm

    An evening cortisol curve that stays elevated can be associated with difficulty falling asleep despite tiredness.

  • Circadian phase

    Light timing, shift work and weekend schedule drift move the phase your body is trying to sleep at.

  • Glucose regulation

    Overnight glucose variability can be associated with the early-morning wake pattern.

  • Conditioned arousal

    After weeks of poor sleep, the bed itself can become a cue for wakefulness. This is the mechanism cognitive behavioural therapy for insomnia targets, and it is the best-evidenced treatment available.

  • Airway and breathing

    Sleep apnoea can present as insomnia rather than as snoring, particularly in women.

  • Mood and anxiety

    Insomnia and depression are bidirectional; each makes the other more likely.

The physician’s lens

How I read this in practice.

I read insomnia against the daily cortisol curve and the glucose response to evening eating. A salivary cortisol panel across the day. Blood sugar tracked with a CGM if the case warrants it. Sex hormones with binding proteins for women in perimenopause and beyond. The thyroid axis with reverse T3. Magnesium and B-vitamin status from the metabolomic panel. For sleep-maintenance complaints in men over 40, I screen for sleep apnea early.

What measurement settles

What testing can and cannot tell you here.

Testing can help identify

  • Identify thyroid dysfunction and iron deficiency that can contribute
  • Show overnight glucose patterns where they are suspected

Testing cannot by itself establish

  • Diagnose insomnia, which is a clinical diagnosis made from history
  • Replace cognitive behavioural therapy for insomnia, which outperforms medication long-term
  • Detect sleep apnoea

What may help clarify it

The data that explains it.

Insomnia work needs the cortisol curve, blood sugar in real time, and the hormonal context. Continuous glucose data can be informative here, because the 3am wake often has a blood-sugar component.

While you wait

Moves worth making before testing.

These are the levers I’d pull while we set up the workup. Most of them produce real signal inside two weeks.

  1. Bright light within an hour of waking. Outside if at all possible. The strongest sleep signal you can give yourself, free.
  2. Stop eating three hours before bed. Especially carbohydrates. The overnight glucose curve changes.
  3. Cut alcohol entirely for two weeks. The second half of your night will look different.
  4. Anchor your wake time, even on weekends. Let bedtime drift toward it for two weeks before changing anything else.

If two weeks of the basics doesn’t move the needle, that is the kind of presentation a call with me exists for. Your biology is telling you something the lifestyle layer cannot fix on its own.

The right order

Get this evaluated first.

This symptom warrants standard medical evaluation before optimization-focused testing. Your own physician is the right place to start. Once that is underway, the Precision Health Assessment can add the layer conventional workups usually leave out.

The free library

Keep reading. One email opens everything.

Every essay, lab entry, guide and newsletter issue, plus class replays and printables. Free.

You’ll also get Creating Health, my weekly letter, every Friday. Unsubscribe anytime.

Start here

Want me to read your data?

You start with a free call: a brief conversation about what you are looking for and whether we are a good fit. After the call, if we are a good fit, we begin with the Precision Health Assessment, and ongoing care as my patient can follow.

Let’s talk.

A few details so I know who I’m calling. Then you choose the time.

Main goal

Nothing is charged. This does not create a doctor-patient relationship. Not for emergencies: call 911.