Sleep Science

Melatonin Explained: What the Hormone Does and When It Peaks

Melatonin is your body's darkness signal, not a sedative. Learn when it naturally peaks, how light suppresses it, and why timing beats dosage.

Dim bedside lamp in a dark room
Photograph via Unsplash

Ask most people what melatonin is and they will tell you it's a sleep pill. That answer is understandable, and it's also the single most common reason melatonin disappoints the people who reach for it. Melatonin is not a sedative. It's a messenger, and once you understand the message it carries, both the hormone your body makes and the supplement on the shelf start to make a lot more sense.

What melatonin actually is#

Melatonin is a hormone produced mainly by the pineal gland, a small structure buried deep in the brain. Its job is not to knock you out. Its job is to tell every clock in your body that darkness has arrived and biological night has begun.

I find it helps to think of melatonin as a chemical announcement rather than an off switch. When it rises, it doesn't seize control of your muscles and drop you into unconsciousness the way an anesthetic would. Instead it lowers your alertness a notch, nudges your core body temperature down, and quietly informs the rest of your physiology that the day is over. Sleep becomes easier to fall into, not forced.

This distinction matters enormously in practice. People who take a melatonin supplement expecting the heavy, dragging sedation of a sleeping tablet often conclude it "doesn't work" because they didn't feel drugged. They were looking for the wrong sensation. What melatonin offers is a gentle green light, and if the rest of your sleep environment is fighting that signal, the light gets ignored.

Why the darkness signal is so central#

Your body runs on a roughly 24-hour internal rhythm governed by a master clock in the hypothalamus. That clock needs to stay anchored to the real world outside, and melatonin is one of the main ways it does so. Rising melatonin says "it is now night," and that single piece of information cascades outward, influencing hormone release, digestion, temperature, and how sleepy you feel over the following hours.

Because it's a timing signal, melatonin is only as useful as its timing is accurate. A darkness announcement delivered at noon does nothing helpful. Delivered at the right moment in the evening, it's one of the most powerful cues your body has.

When melatonin naturally peaks#

In a person on a fairly regular schedule, melatonin usually starts to rise a couple of hours before habitual bedtime. This early rise has a name worth knowing: the dim light melatonin onset, often shortened to DLMO. It marks the beginning of your biological night and is one of the most reliable markers researchers use to locate where your internal clock actually sits.

From that onset, levels climb through the evening, reach their highest point in the middle of the night, and then taper off toward morning so that by the time you wake, melatonin is low and alertness can take over.

A few practical points fall out of this pattern:

  • The onset, not the peak, is the useful cue for sleep. By the time melatonin peaks in the small hours, you should already be asleep. The window that determines when you get sleepy is that earlier evening rise.
  • Your clock's timing is personal. Two people with identical work schedules can have DLMOs an hour or more apart. This is a real biological difference, not laziness or discipline. Night owls simply have later onsets.
  • The peak drifts with age and habit. Chronic late nights, shift work, and irregular schedules all shove the whole curve around, which is why a weekend of 2 a.m. bedtimes can leave you wide awake on Sunday night.

How light controls the whole system#

Here is the part that changes how you'll think about your evenings. The single most powerful influence on your melatonin isn't a supplement, a tea, or a wind-down playlist. It's light.

Special light-sensitive cells in your retina, separate from the ones you see images with, report directly to your master clock. When they detect bright light, particularly the blue-rich light of daytime and screens, they send a clear message: it's still daytime, hold the melatonin. Bright evening light can push your melatonin onset later and blunt how much you produce.

Not all light is equal#

Two properties matter most:

  1. Brightness (intensity). More light means more suppression. A dim bedside lamp is far gentler on your melatonin than overhead ceiling lights blazing at full strength.
  2. Colour (wavelength). Blue and blue-white light suppress melatonin more strongly than warm amber tones at the same brightness. This is why "warm" or "night" modes exist, though dimming is generally more effective than colour-shifting alone.

Timing layers on top of both. The same light hits harder in the evening, when your system is primed to start its night-time rise, than it does at midday when you're already flooded with sunlight.

What this means for your evenings#

You don't need to sit in the dark. You need to stop overriding your own signal in the last hour or two before bed:

  • Dim the room as bedtime approaches. Lower a few lamps rather than lighting the whole ceiling.
  • Get bright light early in the day. Morning daylight helps anchor your clock so the evening rise lands at a sensible time. The light story runs in both directions.
  • Be realistic about screens. A phone at arm's length in a dim room is a smaller dose than people fear, but a bright tablet held close to your face for an hour is a genuine melatonin suppressant. Reduce brightness and distance before you worry about blue-light filters.

The honest trade-off: total evening darkness is neither practical nor necessary for most people. Aim for "noticeably dimmer" rather than "cave," and you'll capture most of the benefit without reorganising your life.

Supplements: timing beats dosage#

Once you understand that melatonin is a timing signal, supplement advice stops sounding like folklore and starts making sense. You are not trying to sedate yourself. You are trying to deliver an accurate darkness announcement a little earlier or more clearly than your body managed on its own.

Lower doses, taken earlier#

The instinct with any pill is that more equals stronger. Melatonin often works the other way. A small dose is usually enough to nudge your clock, and it more closely mimics the modest amounts your body makes naturally. Very large doses don't necessarily deepen sleep; they mostly leave more melatonin circulating into the morning, which can leave you groggy and, ironically, fighting your daytime alertness.

Timing is where the real leverage is:

  • To help shift a late clock earlier (the classic "can't fall asleep until 2 a.m." pattern), a small dose taken in the early evening, several hours before your target bedtime, is generally more effective than a big dose at bedtime. You're moving the onset, not forcing the moment.
  • Taking a large dose right as you flop into bed is the most common mistake. It treats melatonin like a sleeping pill, which is exactly what it isn't.

Matching the dose to the goal#

Melatonin is a tool with a few distinct uses, and the right approach depends on what you're solving:

  • Jet lag. After crossing time zones, well-timed melatonin can help your clock catch up to the new local night faster. The timing relative to your destination's evening matters far more than the amount.
  • Delayed sleep timing. For genuine night owls whose clock sits stubbornly late, small early-evening doses combined with morning light can gradually pull things earlier.
  • Occasional disrupted nights. For a one-off rough patch, melatonin may help, but ordinary short-term insomnia driven by stress or a racing mind often responds better to behavioural changes than to a timing hormone.

A few realistic caveats I'd want any reader to hear: melatonin is not a nightly crutch to lean on indefinitely without thought, its effects are modest rather than dramatic, product doses vary widely and are often far higher than needed, and anyone pregnant, on other medication, or giving it to a child should talk to a clinician first. It's genuinely useful, but it's a precision instrument, not a hammer.

Putting the pieces together#

If you take nothing else away, hold onto this: melatonin tells your body it's night, and everything about using it well flows from respecting that message.

  • It signals biological night rather than forcing sleep, so judge it by how easily sleep arrives, not by grogginess.
  • Its natural rise begins a couple of hours before bed and peaks in the middle of the night, so the evening onset is the window that counts.
  • Light is the master control. Dim, warm evenings protect your own supply; bright morning light keeps the whole rhythm anchored.
  • With supplements, timing and modest doses beat large late ones, and the right strategy depends on whether you're chasing jet lag, a delayed clock, or a rough night.

Work with the signal instead of overriding it, and you'll get more out of both the hormone you make and any you take. Dim the lights, protect the evening rise, and let the darkness do the job it was designed for.

Elise Moreau
Written by
Elise Moreau

Elise has spent years reading the sleep literature and, more importantly, testing it against real life. She translates circadian science into plain, usable advice, and is careful to separate what's well-evidenced from what merely sells sleep gadgets.

More from Elise