Puraiva / Blog / Sleep & Stress

Why You Feel Tired But Wired at Night (And How Magnesium Fixes It)

Can't shut your brain off at bedtime? Learn why nighttime cortisol spikes keep you awake and how magnesium acts as your body's natural off-switch.

By Dr. Sarah Mitchell · · 6 min read

Why You Feel Tired But Wired at Night (And How Magnesium Fixes It)

It's 11 PM. You're exhausted — your body aches, your eyes are heavy, and all you want is sleep. But the moment your head hits the pillow, your brain lights up like a switchboard. Thoughts race, your heart beats a little too fast, and that bone-deep tiredness coexists with an uncomfortable, buzzing alertness. You're tired but wired at night, and it's one of the most frustrating experiences in modern life.

If this sounds like your nightly routine, you're not alone — and you're not imagining it. This phenomenon has a clear biological explanation rooted in your cortisol rhythm, and a surprisingly simple solution that starts with a single mineral: magnesium.

What "Tired But Wired" Actually Means

The tired-but-wired state is the hallmark of high cortisol at night. In a healthy body, cortisol peaks in the early morning (around 6-8 AM) to help you wake up, then gradually declines throughout the day, reaching its lowest point around 10-11 PM. This decline signals your body to produce melatonin and prepare for sleep.

But when you're chronically stressed — whether from work deadlines, financial pressure, over-exercising, or even scrolling your phone before bed — your adrenal glands keep pumping cortisol well past its normal shutdown time. The result: your body is physically drained, but your nervous system is chemically alert.

The Nighttime Cortisol Trap

High cortisol at night doesn't just prevent you from falling asleep — it fundamentally changes the quality of whatever sleep you do get. Elevated cortisol:

This means even if you eventually fall asleep, you wake up feeling like you barely slept at all. Over weeks and months, this compounds into chronic fatigue, brain fog, anxiety, and a weakened immune system.

Why Magnesium Is Your Natural Off-Switch

Here's where the science gets hopeful. Magnesium directly regulates the cortisol response through several mechanisms:

It Activates Your Calming Neurotransmitter

Magnesium enhances GABA (gamma-aminobutyric acid) activity — the neurotransmitter responsible for quieting neural activity. GABA is literally the chemical that tells your brain "it's time to wind down." Without enough magnesium, GABA can't do its job effectively, leaving your brain stuck in overdrive.

It Recalibrates Your Stress Thermostat

The HPA axis — your body's central stress-response system — depends on magnesium to function properly. When magnesium levels are adequate, the HPA axis can appropriately dial down cortisol production in the evening. When you're deficient, the system loses its braking mechanism.

It Relaxes Your Body Physically

Magnesium counteracts calcium at the cellular level, allowing muscles to release tension. This physical relaxation sends feedback signals to the brain that it's safe to rest — further reducing cortisol output.

The Magnesium Depletion Cycle

Here's the cruel irony: stress depletes magnesium, and low magnesium amplifies your stress response. If you're caught in this cycle, willpower alone won't break it. You need to replenish the mineral your body is burning through faster than your diet can supply.

The best forms for addressing nighttime cortisol are magnesium glycinate (chelated with calming glycine) and magnesium citrate (highly bioavailable with muscle-relaxing properties). Read our 2026 Buyer's Guide for a full comparison.

Your Nighttime Reset Protocol

Breaking the tired-but-wired cycle doesn't require a complete lifestyle overhaul. Start with these evidence-based steps:

  1. Take magnesium 60-90 minutes before bed — this gives your body time to absorb and begin the calming cascade
  2. Dim lights after 8 PM — bright light suppresses melatonin and keeps cortisol elevated
  3. Set a "worry window" — journal racing thoughts at 7 PM so they don't ambush you at 11 PM
  4. Avoid intense exercise after 6 PM — it spikes cortisol for 2-3 hours post-workout

Find Your Personalized Solution

The tired-but-wired pattern is a symptom, not a life sentence. Once you understand that it's driven by cortisol and magnesium imbalance, you can address it directly.

Want to know exactly what's driving your sleep issues? Take the Cortisol Profile Quiz for a personalized supplement recommendation.

Related reading: