Can Cortisol Cause Insomnia? The Stress-Sleep Connection
Learn how elevated cortisol disrupts sleep, causes middle-of-the-night waking, and what you can do to lower stress hormones for better rest naturally.
Mark Janikula, N.D. · Naturopathic Doctor · · 12 min read
Key Takeaways
- ✓Elevated nighttime cortisol is one of the most common and overlooked causes of insomnia, particularly middle-of-the-night waking.
- ✓Cortisol and melatonin have an inverse relationship — when cortisol is high, melatonin production is suppressed.
- ✓The DUTCH test can reveal abnormal cortisol patterns that standard blood tests miss.
- ✓Lifestyle interventions like stress management, blood sugar stabilization, and targeted supplements can normalize cortisol rhythms.
- ✓Chronic insomnia driven by cortisol dysregulation often requires addressing the root cause of HPA axis dysfunction, not just masking symptoms.
The Short Answer: Yes, Cortisol Can Absolutely Cause Insomnia
If you've been struggling with insomnia — especially the kind where you fall asleep fine but wake up at 2 or 3 a.m. with your mind racing — there's a strong chance that cortisol is involved. Cortisol is your body's primary stress hormone, and when its natural rhythm gets disrupted, sleep is often the first casualty.
This isn't just about feeling "stressed." Cortisol dysregulation can happen without obvious psychological stress. Physical stressors like blood sugar imbalances, chronic inflammation, gut infections, overtraining, and even excessive caffeine can all push your cortisol curve out of alignment. The result is the same: your body produces cortisol when it should be producing melatonin, and sleep becomes a battle you keep losing.
Let's break down exactly how this works, how to know if cortisol is your problem, and what to do about it.
How Cortisol Is Supposed to Work
In a healthy body, cortisol follows a predictable 24-hour rhythm called the cortisol awakening response (CAR):
- Morning (6–8 a.m.): Cortisol surges to its highest point, helping you wake up alert and energized. This is called the cortisol awakening response.
- Midday: Cortisol gradually declines through the afternoon.
- Evening (8–10 p.m.): Cortisol reaches its lowest point, allowing melatonin to rise and initiate sleep.
- Night (10 p.m. – 2 a.m.): Cortisol stays at its nadir while growth hormone and melatonin dominate, facilitating deep sleep and repair.
- Early morning (3–5 a.m.): Cortisol begins to slowly rise again, preparing you for waking.
This rhythm is not optional — it's fundamental to your biology. When cortisol is high at the right times and low at the right times, you feel energized during the day and sleepy at night. When this curve flattens, inverts, or spikes at the wrong times, everything breaks down.
What Happens When Cortisol Is Elevated at Night
Melatonin Suppression
Cortisol and melatonin have an inverse relationship. They're meant to trade off: as cortisol falls in the evening, melatonin rises. But when cortisol stays elevated at night, it directly suppresses melatonin production. This means your body literally cannot generate the chemical signal for sleep, regardless of how tired you feel.
Sympathetic Nervous System Activation
Elevated cortisol activates your sympathetic nervous system — the "fight or flight" branch. Your heart rate increases, muscles tense, blood pressure rises, and your brain becomes hypervigilant. This is the exact opposite of the parasympathetic "rest and digest" state needed for sleep.
Blood Sugar Instability
Cortisol raises blood sugar. If cortisol spikes in the middle of the night, it can cause a blood sugar surge followed by a crash — which then triggers more cortisol and adrenaline to stabilize blood sugar. This is the classic 3 a.m. waking pattern: you wake suddenly, feel alert or anxious, and can't fall back asleep for 30–90 minutes.
Inflammatory Amplification
Chronically elevated cortisol eventually leads to cortisol resistance — your cells stop responding to it effectively. When this happens, inflammation increases, which itself disrupts sleep through pro-inflammatory cytokines. It becomes a vicious cycle: stress → high cortisol → poor sleep → more inflammation → more cortisol.
Common Patterns of Cortisol-Driven Insomnia
Not all insomnia looks the same, and the pattern can tell you a lot about what's happening with your cortisol:
| Pattern | Likely Cortisol Issue | What It Feels Like |
|---|---|---|
| Can't fall asleep (sleep-onset insomnia) | Elevated evening cortisol | Wired at bedtime, mind racing, physically tense despite exhaustion |
| Wake at 2–4 a.m. | Nighttime cortisol spike (often blood sugar-related) | Sudden alertness, racing heart, difficulty returning to sleep |
| Wake too early (4–5 a.m.) | Early cortisol awakening response | Feel awake but fatigued, can't fall back asleep |
| Light/fragmented sleep all night | Flattened cortisol curve (chronically elevated baseline) | Never feel deeply asleep, wake frequently, unrefreshed mornings |
What Causes Cortisol to Stay High at Night?
This is the critical question. If cortisol is disrupting your sleep, you need to identify what's keeping it elevated. Common drivers include:
Psychological Stress
The obvious one — work pressure, relationship conflict, financial worry, grief, anxiety disorders. Your brain can't distinguish between a real threat and a perceived one. Ruminating about tomorrow's meeting triggers the same cortisol response as running from a predator.
Blood Sugar Dysregulation
If your blood sugar drops too low during the night (reactive hypoglycemia), your body releases cortisol and adrenaline to raise it back up. This is extremely common in people who eat high-carbohydrate dinners, skip dinner, or have underlying insulin resistance. The wake-up at 2–4 a.m. is often a blood sugar event masquerading as insomnia.
Chronic Inflammation
Gut infections, food sensitivities, autoimmune conditions, and chronic infections all drive inflammation — and inflammation drives cortisol. Many people with persistent insomnia discover that an undiagnosed gut issue was the root cause.
Overtraining
Intense exercise is a stressor. While acute exercise benefits sleep, chronic overtraining without adequate recovery keeps cortisol chronically elevated. If you train hard and sleep poorly, this connection deserves serious consideration.
Caffeine
Caffeine directly stimulates cortisol release. A cup of coffee at 2 p.m. still has half its caffeine active at 8 p.m., and even if you don't "feel" wired, it's pushing your cortisol curve up during the hours when it should be declining.
Blue Light Exposure
Evening light exposure doesn't just suppress melatonin — it can also keep cortisol slightly elevated by signaling "daytime" to your circadian system.
How to Test Your Cortisol Pattern
A single morning blood cortisol test is almost useless for diagnosing sleep-related cortisol issues. You need to see the full curve. Two testing options provide this:
DUTCH Test (Dried Urine Test for Comprehensive Hormones)
The gold standard in functional medicine. This test measures cortisol and cortisol metabolites across multiple time points, giving you a detailed picture of your cortisol production, metabolism, and clearance. It also measures melatonin metabolites, which shows you whether low melatonin is contributing to your sleep issues.
4-Point Salivary Cortisol
A simpler option that measures salivary cortisol at four points: morning, noon, evening, and bedtime. This shows your cortisol curve clearly and can identify elevated nighttime cortisol, flattened curves, or inverted patterns.
How to Lower Cortisol and Restore Healthy Sleep
Tier 1: Lifestyle Fundamentals
These aren't optional — they're the foundation that everything else builds on:
Blood Sugar Stabilization: Eat a balanced dinner with protein, healthy fat, and complex carbohydrates. If you wake at 2–4 a.m., try a small protein-fat snack before bed (e.g., a tablespoon of almond butter or a few bites of cheese). This prevents the nighttime blood sugar crash that triggers cortisol.
Stress Management Practice: You need a daily stress-reduction practice — not just thinking about stress less, but actively downregulating your nervous system. Effective options include:
- Physiological sigh (double inhale through nose, long exhale through mouth) — can reduce cortisol within minutes
- 10–20 minutes of meditation or yoga nidra
- Journaling before bed to "download" worries from your brain onto paper
- Progressive muscle relaxation
Caffeine Management: Cut caffeine by noon. If your cortisol is significantly dysregulated, consider eliminating caffeine entirely for 30 days as a diagnostic tool.
Exercise Timing: Move intense workouts to the morning and keep evenings for gentle movement like walking or stretching.
Tier 2: Targeted Supplementation
| Supplement | Dose | Timing | Mechanism |
|---|---|---|---|
| Phosphatidylserine | 100–200 mg | Evening | Blunts HPA axis cortisol output |
| Ashwagandha (KSM-66) | 300–600 mg | Evening | Adaptogen; lowers cortisol, supports GABA |
| Magnesium Glycinate | 300 mg | Before bed | Calms nervous system, supports melatonin |
| L-Theanine | 200 mg | Before bed | Promotes alpha waves, reduces stress response |
| Holy Basil (Tulsi) | 300–600 mg | Evening | Adaptogen; modulates cortisol and inflammation |
Start with one or two supplements, not all at once. Phosphatidylserine is particularly targeted for nighttime cortisol and is a good first choice if testing confirms elevated evening/nighttime levels.
Tier 3: Address Root Causes
If lifestyle and supplementation improve but don't resolve your insomnia, it's time to investigate deeper:
- Gut health: Stool testing for dysbiosis, infections (H. pylori, parasites, SIBO), and intestinal permeability
- Thyroid function: Full panel including TSH, free T3, free T4, reverse T3, and antibodies
- Sex hormones: Progesterone deficiency in women is a major contributor to insomnia, especially perimenopausal women
- Nutrient status: B vitamins, vitamin D, iron/ferritin, and zinc all affect HPA axis function
The Cortisol-Insomnia Cycle: Breaking Free
The cruelest aspect of cortisol-driven insomnia is that it's self-perpetuating. Poor sleep raises cortisol. High cortisol worsens sleep. Each bad night makes the next one more likely. This is why "just relaxing" doesn't work — your nervous system is stuck in a physiological pattern that requires deliberate, sustained intervention to break.
But it does break. With consistent effort on the fundamentals — blood sugar stability, stress practices, light management, and targeted supplements — most people see meaningful improvement within 2–4 weeks. Full resolution of a dysregulated cortisol curve may take 3–6 months, but the trajectory is almost always positive once you're addressing the right factors.
Get to the Root of Your Sleep Issues
If you suspect cortisol is behind your insomnia, you don't have to figure it out alone. Our clinical team specializes in identifying and addressing the root causes of sleep disruption — including HPA axis dysfunction, blood sugar imbalances, and the hidden stressors that keep your cortisol elevated.
Get your free wellness blueprint to discuss your sleep patterns, explore testing options, and build a personalized protocol to break the cortisol-insomnia cycle. You deserve to sleep through the night — and your body can get there with the right support.
Already have your blueprint? Find a practitioner who specializes in your needs.