Anxiety Insomnia and the 3 a.m. Wake-Up

Medically reviewed by , board-certified psychiatrist. Verify independently: ORCID, Wikidata, NPI Registry, verification page.

Published · Medically reviewed · Updated · 7 min read

Why anxiety wakes you at 3 a.m., the cortisol and REM-sleep mechanics behind it, and the behavioral steps that change the pattern. Psychiatrist-reviewed.

Anxiety insomnia most often presents as the 3 a.m. wake-up: falling asleep without difficulty, then waking in the early morning hours with the body already activated and the mind already running. The pattern is driven by rising cortisol, REM-stage emotional processing, and a brain that interprets being awake as a reason to keep monitoring. The strategies that work most reliably are behavioral, fixed rise time, morning light, alcohol moderation, and CBT-I, rather than medication.

Many adults with anxiety can fall asleep without much trouble and wake up around 3 a.m. with the body already alert and the mind already running. The wake-up isn't random. It's a predictable feature of how the stress response interacts with the sleep cycle, and once the pattern is named, it's usually easier to interrupt.

What's happening at 3 a.m.

Sleep moves through cycles of about ninety minutes. The last third of the night is heavier in REM sleep, the stage where the brain processes emotional content. Cortisol, which has been low at the start of the night, begins rising again in the early morning hours as part of a normal daily rhythm. In someone with elevated baseline anxiety, that rising cortisol can be enough to push the brain out of sleep prematurely.

Once awake, the body finds itself already activated. The heart rate is a little higher than expected. The mind, having been processing in REM, picks up a worry already in progress. By the time the person notices being awake, the system is already several minutes ahead of them.

Why falling back asleep is hard

The instinct in the middle of the night is to lie there and think the worry through. The thinking activates the system further. Within twenty minutes, the body is in a low-grade stress response, which makes returning to sleep harder. The longer the person lies awake monitoring, the more the bed becomes associated with wakefulness rather than with sleep.

This is the mechanical reason behind one of the most counterintuitive recommendations in sleep medicine: if you can't fall back asleep within about twenty minutes, get out of bed. Sit in another room with low light, read something undemanding, and return when you feel drowsy. The point isn't to be productive. It's to keep the bed associated with sleep.

The cortisol curve and why 3 a.m. specifically

Cortisol follows a daily rhythm that has been well-mapped. It's at its lowest around midnight, begins to rise gradually after about 2 a.m., reaches a peak around 7 to 9 a.m. (the cortisol awakening response), and declines through the rest of the day. This pattern is part of how the body prepares for the demands of waking life.

In someone with elevated baseline anxiety or chronic stress, the morning rise begins earlier and steeper than typical. Cortisol levels in the early morning can reach values that, in someone with a calmer baseline, wouldn't arrive until well after waking. The body becomes physiologically primed for activity at 3 or 4 a.m. The brain, which would otherwise stay in sleep, gets pushed out of it.

This is why the 3 a.m. wake-up is so common in anxiety and depression and so reliably tied to the early morning hours specifically. It isn't coincidence. It's the cortisol rhythm shifted earlier and steeper.

Why the second half of the night is REM-heavy

A second contributing factor. Sleep cycles through stages over roughly 90-minute intervals. Slow-wave (deep) sleep dominates the first half of the night. Rapid eye movement (REM) sleep, which is when most dreaming occurs and when the brain processes emotional content from the day, dominates the second half.

This is why a person who wakes at 3 a.m. is often waking from an REM episode and walks into consciousness with a worry already in progress. The brain has been processing emotional material; the conscious mind picks up the thread mid-stream. The worry feels unusually vivid because the REM-state processing has just been interrupted.

The role of alcohol: often missed

Alcohol is sedating in the first few hours but fragments sleep in the second half of the night. Even small amounts, one glass of wine with dinner, measurably increase awakenings between 3 and 5 a.m. The mechanism involves rebound activation of the sympathetic nervous system as the alcohol metabolizes.

Many adults who attribute their 3 a.m. wakings entirely to anxiety are partly experiencing alcohol-induced fragmentation. A two-week trial of complete alcohol cessation often produces noticeable improvement, even in patients with longstanding anxiety. This is one of the most underused interventions in the population.

CBT-I in more detail

Cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment for chronic insomnia recommended by the American College of Physicians and most professional sleep medicine societies. It's more effective than any sleep medication over the long term and has no side effects.

The protocol involves five components:

Sleep restriction. Spending less time in bed initially, often only as much time as the person is actually sleeping (e.g., six hours), then gradually expanding as sleep efficiency improves. Counterintuitive but the most active ingredient.

Stimulus control. Using the bed only for sleep and sex; getting out of bed if not asleep within 20 minutes; returning when drowsy.

Cognitive restructuring. Addressing the catastrophic thinking about sleep ("if I don't sleep I won't function tomorrow") that maintains the cycle.

Sleep hygiene. The behavioral baseline, consistent rise time, morning light, evening dim lighting, caffeine and alcohol limits.

Relaxation training. Specific techniques to reduce pre-sleep arousal.

Most CBT-I protocols run 6 to 8 weeks. Digital CBT-I programs (Sleepio, Somryst, CBT-I Coach app) have growing evidence and provide a reasonable starting point where in-person providers are difficult to find.

When medication is reasonable

Sleep medication has a role in short-term situations (acute insomnia from a specific stressor, jet lag, time-limited difficult periods). For chronic insomnia, CBT-I produces better long-term outcomes than any medication. When medication is used, it's generally used briefly and at the lowest effective dose. The full sequence a clinician usually works through, from behavioral changes to over-the-counter options to the less-addictive prescription medications, is laid out in is your anxiety keeping you up at night.

Specific notes on commonly used sleep medications:

trazodone at low doses (25 to 100 mg) is commonly prescribed off-label for sleep, particularly in anxiety. The evidence base is thinner than for CBT-I but the side effect profile is reasonable.

mirtazapine at low doses (7.5 to 15 mg) is sedating and can be useful in patients with overlapping depression and insomnia.

Z-drugs (zolpidem, eszopiclone) work but carry risks of dependence, complex sleep behaviors, and morning impairment. Use in older adults is generally discouraged.

Benzodiazepines (temazepam, etc.) are effective but rarely first-line because of dependence and tolerance risk.

Over-the-counter sleep aids (diphenhydramine, doxylamine) work in the short term but cause anticholinergic side effects, daytime drowsiness, and aren't recommended for ongoing use, particularly in older adults.

The decision to start any of these is made with a clinician familiar with the full picture.

What tends to work

A few approaches reliably reduce 3 a.m. wakings over time.

Keep the rise time fixed. The morning rise time is the single most powerful anchor of the circadian rhythm. Inconsistent mornings produce inconsistent nights. A consistent rise time, even on weekends, often improves sleep within two weeks.

Get bright light within thirty minutes of waking. Daylight at the start of the day strengthens the circadian signal that drives sleep at night.

Treat alcohol with caution. Even small amounts in the evening fragment the second half of the night. Many people who blame anxiety for their 3 a.m. wakings are partly experiencing the rebound from a glass of wine they had with dinner.

Move the worries to the page. Five minutes of writing before bed, in which the day's open loops are listed and assigned a time to be thought about tomorrow, often reduces 3 a.m. mental activity. The brain needs the items to be captured somewhere it trusts.

If the pattern is consistent and disabling, a clinician can help sort out whether anxiety, depression, sleep apnea, or a medication is the main driver. Sleep disruption is a near-universal feature of both anxiety and depression; the depression-focused angle is covered at DepressionResource.org. Persistent middle-of-the-night waking that travels with daytime worry, restlessness, and easy fatigue is often part of the picture in generalized anxiety disorder, where treating the underlying condition is usually what improves the sleep. Cognitive behavioral therapy for insomnia (CBT-I) has stronger long-term evidence than any sleep medication, and is the recommended first-line treatment for chronic insomnia.

Related: Racing thoughts · Cortisol · How CBT and SSRIs actually work for anxiety

Sources

Common questions

Why do I wake up at 3 a.m. and can't fall back asleep?

The early-morning wake-up is the classic pattern in anxiety-related insomnia. Cortisol begins rising in the second half of the night, REM sleep dominates the early-morning hours, and the brain becomes easier to wake. In an activated nervous system, the wake-up registers as a reason to keep monitoring, and falling back asleep becomes harder. The pattern responds to fixed wake time, morning light, alcohol moderation, and CBT-I.

Are sleep medications a good long-term answer for anxiety insomnia?

Usually not. Z-drugs (zolpidem, eszopiclone) and benzodiazepines work in the short term but tolerance develops, and rebound insomnia on stopping can be worse than the original problem. The treatments with the best long-term evidence are CBT-I and, when an underlying anxiety disorder is present, an SSRI. Short-term sleep medication has a role during acute crises and during the early weeks of starting other treatment.

How long does it take for sleep to improve after starting treatment?

CBT-I usually produces noticeable change within two to four weeks of consistent application. SSRIs often disturb sleep slightly for the first one to two weeks, then improve it over four to eight weeks as the underlying anxiety settles. Behavioral changes alone, such as a fixed rise time and morning light, often produce small but real improvements within a week.

How to cite this page

Short: Anxiety Insomnia and the 3 a.m. Wake-Up. AnxietyResource, medically reviewed by Shariq Refai, MD, MBA. https://anxietyresource.org/symptoms/insomnia/

APA: AnxietyResource. (2026, May 14). Anxiety Insomnia and the 3 a.m. Wake-Up. Medically reviewed by Shariq Refai, MD, MBA. https://anxietyresource.org/symptoms/insomnia/

MLA: "Anxiety Insomnia and the 3 a.m. Wake-Up." AnxietyResource, medically reviewed by Shariq Refai, MD, MBA, 14 May 2026, anxietyresource.org/symptoms/insomnia/.