Why melatonin stops working after 40
7 min read · Uplevel editorial
You started with half a milligram and it worked. Then it worked less well and you moved to one milligram, then three, then five, then ten — the gummy your partner saw on the nightstand that said ten milligrams on the label as if that were a reasonable thing to put in a gummy. And sleep has gotten worse, not better, or marginally better in a way that doesn't match the dose escalation. And somewhere in the background is a nagging sense that you're doing something wrong but you don't know what because melatonin is natural and natural means safe.
The problem is not that melatonin is dangerous. The problem is that what you're using it for — sedation, knocking yourself out, getting unconscious faster and staying there — is not what melatonin does. Melatonin is a timing signal. It tells your circadian system that darkness has arrived and sleep should begin. It does not produce sleep the way a sedative produces sleep. It does not deepen sleep. It does not extend sleep. It shifts the timing window during which your physiology is oriented toward sleeping. These are different things, and the difference matters enormously once you understand why sleep after forty has actually changed.
Your pineal gland produces melatonin in the evening in response to light extinction — specifically, in response to reduced input to the retinohypothalamic tract as the environment darkens. This signal tells the suprachiasmatic nucleus, your master circadian clock, that night has arrived. Melatonin levels rise, peak in the middle of the night, and fall before morning. The signal is about timing. It's the biological equivalent of a sunset — not a sedative, but a cue.
In young adults, the melatonin signal is part of a broader orchestrated preparation for sleep: body temperature begins to fall, cortisol is at its nadir, adenosine has accumulated to full sleep-pressure, and the whole system orients toward going under. In this context, supplemental melatonin at low doses — around 0.3 milligrams, which is close to physiological nighttime levels — can meaningfully support sleep onset by nudging the timing signal. This is what the research actually shows: small doses, timed appropriately, effective for circadian disruptions like jet lag and shift work, modestly useful for people whose natural melatonin signal has weakened.
Physiological melatonin output does decline with age. The calcification of the pineal gland, which begins in early adulthood and progresses through midlife, reduces secretory capacity. By the forties and fifties, many people produce meaningfully less melatonin than they did at twenty-five. This is a real change. But it is not the primary driver of poor sleep after forty. And treating it with ever-larger melatonin doses addresses a secondary player while the primary problems go unattended.
Those primary problems are about architecture. What changes most dramatically in midlife sleep is not the timing signal — it's the structure of what happens once sleep begins. Slow-wave sleep, the deep restorative stage dominated by delta waves, declines sharply after forty. This is where the real costs are: slow-wave is when growth hormone is released, when the glymphatic system clears metabolic waste from the brain, when tissue repair is orchestrated, when the HPA axis is suppressed and the sympathetic system quiets most completely. Less slow-wave means less physical restoration regardless of how many total hours were logged.
Then there are the hormonal shifts. In women, the perimenopause transition — which begins for many women in their early to mid-forties — brings fluctuations in estrogen and progesterone that directly affect sleep architecture. Progesterone has GABAergic effects: it binds to GABA receptors and has mild sedative and anxiolytic properties that support sleep maintenance. As progesterone declines, that supporting structure goes with it. Estrogen affects thermoregulation; its decline is associated with the vasomotor instability that produces hot flashes, which are nighttime sleep disruptors of the first order. Men's declining testosterone has its own sleep architecture effects, partly mediated through changes in GH physiology and partly through direct effects on REM and slow-wave.
Body temperature regulation shifts with age as well. Healthy sleep onset requires a drop in core body temperature of about one to one and a half degrees Celsius. This drop is driven by peripheral vasodilation — blood moving to the hands and feet, releasing heat. With age and with reduced estrogen, this thermoregulatory mechanism becomes less reliable. The body doesn't cool as efficiently, sleep onset takes longer, and sleep maintenance is noisier.
The cortisol curve, as covered elsewhere, becomes less well-anchored with age and accumulating stress load. Cortisol that doesn't reach a genuine midnight nadir, or that begins its rise too early, keeps the nervous system in a lower-level arousal state through the second half of the night. You sleep but you surface more easily. You might not wake fully, but you don't sink as deep as you did at thirty.
Melatonin addresses none of this. A high-dose melatonin supplement at bedtime doesn't deepen slow-wave sleep. It doesn't support GH physiology. It doesn't stabilize cortisol. It doesn't compensate for declining progesterone or regulate body temperature. What high-dose melatonin may actually do is make things worse over time: chronically supraphysiological melatonin levels can downregulate melatonin receptor sensitivity, meaning the system requires more signal to produce the same timing cue. You escalate the dose to compensate for the desensitization the high dose created. This is not a theoretical concern — it's a plausible mechanism consistent with how receptor downregulation works across many pharmacological contexts, and it tracks with the clinical pattern of increasing doses producing diminishing returns.
There is also a sleep-quality-independent effect worth noting: high-dose melatonin is associated in some research with morning grogginess — a residual sedative-adjacent effect — and with disruptions to the natural rhythm of melatonin decline before waking. You need melatonin to fall in the early morning hours so that the cortisol rise can do its job of waking you. Sustained high levels through the morning interfere with this.
The evidence-based role for melatonin after forty is narrow and specific: low-dose, precisely timed, for circadian disruption. Zero-point-three to one milligram, taken one to two hours before your intended sleep onset, may meaningfully support circadian anchoring. Not ten milligrams at nine-thirty because the package says sleep support. If your circadian rhythm is genuinely disrupted — shift work, cross-timezone travel, a delayed sleep phase — melatonin at physiological doses, timed precisely, may help move the window. If your circadian rhythm is functioning normally and you're just sleeping badly, more melatonin will not fix it.
What a multi-system approach to midlife sleep looks like is less satisfying in its complexity than a simple supplement but more likely to actually help. It means asking which pieces of sleep architecture have degraded and addressing them specifically. Slow-wave decline responds to sleep hygiene fundamentals — consistent timing, cooler room temperature, exercise, and for some people, attention to the hormonal conditions that govern slow-wave depth. Hormonal shifts — estrogen, progesterone, testosterone — are worth evaluating with a prescribing provider who can assess baseline levels and discuss appropriate options. Cortisol dysregulation responds to stress load management, HPA axis support, and the removal of cortisol-disruptive habits like late-night alcohol and irregular timing. Thermoregulation can be meaningfully supported by a cooler sleep environment, breathable bedding, and for some women, addressing vasomotor instability directly.
This is less simple than taking a gummy. It requires understanding what's actually changed, not just that sleep feels worse. But it's the difference between addressing a timing signal that isn't the problem and addressing the architecture that is.
Melatonin isn't lying to you. It's just answering a question you're not asking. The question sleep after forty requires is not "how do I signal that it's bedtime" but "why isn't the sleep I'm getting doing what sleep is supposed to do." Those are different questions. The answers are deeper in the system than a hormone that controls a clock.