You fall asleep fine. Then at 3am your eyes snap open, your mind is racing, and you lie there till 5. The reason is a hormone: your cortisol is climbing hours too early, and after 60 your body has lost the brake that used to hold it down.
The short answer — cortisol, your main alertness hormone, naturally starts rising in the early hours to wake you up. After 60 it rises earlier and higher, crossing the threshold that pulls you out of sleep around 2–4am. The fixes with real evidence in older adults are magnesium glycinate at 300–400mg and ashwagandha KSM-66 at 300–600mg.
This post contains affiliate links. We may earn a small commission at no extra cost to you.
What your body is doing at 3am
Cortisol follows a daily rhythm. It bottoms out around midnight, then climbs through the small hours so you can wake up alert — a surge researchers call the cortisol awakening response. In a younger body, that climb peaks right around when you want to get up.
The problem is the control system behind it. Your HPA axis (hypothalamus–pituitary–adrenal) works like a thermostat: when cortisol gets high enough, feedback signals tell it to stop. After 60, those brakes weaken. A study in the Journal of Clinical Endocrinology & Metabolism (PMID 16014406) found that aging flattens and shifts the cortisol rhythm — the surge starts earlier and runs higher. The result is a cortisol level that crosses your arousal threshold at 3am instead of 6am, and up you come.

Why deep sleep stops protecting you after 60
There’s a second reason the spike wins. Deep, slow-wave sleep normally suppresses cortisol — it’s the body’s nightly off-switch for the stress system. And deep sleep shrinks sharply with age.
According to the National Institute on Aging, older adults spend less time in deep sleep and wake more easily. Less slow-wave sleep means less cortisol suppression, right when cortisol is already prone to overshoot. So the early-morning surge meets a sleep stage too shallow to absorb it. That’s the 3am ceiling stare in a nutshell.
Could your medication be the real trigger?
This is the part almost no article mentions. Several common prescriptions can cause or worsen 3am waking, and no supplement will fix a drug-driven problem.
- Corticosteroids (prednisone and similar) directly raise cortisol — an evening dose can light up the early-morning hours.
- Beta-blockers are known to suppress melatonin and fragment sleep, per the Mayo Clinic.
- Some SSRIs and decongestants can shorten and break up sleep.
If your 3am waking started within a few weeks of a new prescription or a dose change, that timing is a clue. Do not stop any medication — bring the pattern to your doctor or pharmacist and ask whether the timing can be adjusted. Sometimes moving a dose to morning solves the whole thing.
Cortisol or blood sugar — how to tell
Cortisol isn’t the only thing that spikes at 3am. A blood-sugar dip can trigger an adrenaline release that wakes you the same way, and the two overlap. Here’s a simple way to tell them apart at home.
Try a small protein snack an hour before bed for a few nights — a handful of nuts, a spoon of nut butter, a bit of cheese. If your 3am waking eases, blood sugar was likely part of it. If nothing changes, the driver is more likely the cortisol rhythm itself, and the supplements below are the better target. (This is a self-test, not a diagnosis — if you suspect blood sugar swings, your doctor can check them properly.)
What actually helps: magnesium glycinate 300–400mg
Magnesium calms the nervous system and supports the GABA pathway that lets your brain power down — and it plays a role in regulating the stress response. The NIH Office of Dietary Supplements notes that older adults are among the groups most likely to fall short on magnesium, partly because absorption drops with age and some medications deplete it.
The form is everything. Magnesium oxide — what’s in most cheap drugstore bottles — is poorly absorbed and mostly acts as a laxative. Magnesium glycinate is far gentler on the gut and better absorbed, which is why it’s the sleep form. A 2024 randomized trial in poor sleepers found glycinate improved sleep quality measures. Aim for 300–400mg of elemental magnesium, taken 30–60 minutes before bed. Look for “glycinate” on the label and a third-party testing mark.
magnesium glycinate 400mg sleep supplement

What actually helps: ashwagandha KSM-66 300–600mg
If your 3am problem is clearly a racing, wired-but-tired mind, ashwagandha targets the cortisol side directly. It’s an adaptogen shown in randomized trials to lower measured cortisol in stressed adults.
The evidence sits almost entirely with one standardized extract: KSM-66, studied at 300–600mg per day. Generic “ashwagandha powder” at a mystery dose isn’t the same thing. Take it in the evening and give it 4 to 6 weeks — unlike magnesium, it works gradually, not the first night. One honest limit: ashwagandha can interact with thyroid medication and sedatives, so clear it with your pharmacist first.
KSM-66 ashwagandha 600mg capsules
What actually helps: low-dose melatonin 0.5–1mg
Our own melatonin production declines with age, and that matters here because melatonin and the cortisol rhythm work in opposition. The mistake most people make is dose: more is not better.
The NIH and Mayo Clinic both point to low doses — 0.5 to 1mg — as what the research supports for older adults, taken about an hour before bed. The 5mg and 10mg gummies on store shelves overshoot, can leave you groggy, and don’t work better. Start low.
low dose melatonin 0.5mg tablets
Supplement comparison
| Supplement | Form & dose | Best for | How fast |
|---|---|---|---|
| Magnesium | Glycinate, 300–400mg | Can’t stay asleep, body tension | 3–7 nights |
| Ashwagandha | KSM-66, 300–600mg | Racing mind, high stress | 4–6 weeks |
| Melatonin | 0.5–1mg | Falling asleep / shifted rhythm | Same night |
Checked: June 2026, from each product’s own label and the NIH Office of Dietary Supplements fact sheets.
If you’d rather start with a bedtime drink than a capsule, there’s a direct-from-maker option built around sleep-supporting ingredients:
What to skip
High-dose melatonin. The 5mg and 10mg gummies are the most common waste of money here. They overshoot the natural range, leave many older adults groggy, and the research doesn’t show them beating low doses.
Phosphatidylserine marketed as a “cortisol blocker.” It appears in a lot of expensive bedtime stacks with bold claims. The evidence for it specifically fixing 3am cortisol waking is thin, and you’re usually paying a premium for a long ingredient list rather than for the two things — magnesium glycinate and KSM-66 — that actually have trials behind them. Buy those two alone and save the money.
For more on the magnesium side of this, see our guide to the magnesium form that ends 3am wake-ups, and if cramps wake you too, magnesium for nighttime leg cramps.
FAQ
How long before magnesium glycinate helps?
Most people notice a difference within 3 to 7 nights. If nothing shifts after two weeks at 300–400mg, the driver may be cortisol or blood sugar rather than magnesium.
Can I take magnesium and melatonin together?
Generally yes — they work on different pathways, and many people pair low-dose melatonin with evening magnesium. Confirm with your pharmacist, especially if you take other medications.
Does ashwagandha make you sleepy right away?
No. It works by lowering your stress-hormone load over weeks, not by sedating you. Give it 4 to 6 weeks before deciding.
Why do I wake at 3am exactly, not another time?
That’s roughly when cortisol begins its natural climb and deep sleep has already thinned out. The two line up in the early-morning hours, which is why the waking clusters there.
Should I worry about my cortisol being high?
A regular 3am wake-up is common and usually a rhythm issue, not a disease. But if it comes with weight changes, high blood pressure, or unusual fatigue, mention it to your doctor so they can rule out other causes.
This article is for general information only and is not medical advice. Supplements can interact with prescriptions — talk to your doctor or pharmacist before starting anything new.
