Editor’s Pick: Best Mattress for Sleep Quality
The Saatva Classic is our top-rated mattress for supporting restorative sleep architecture — individually wrapped coils, luxury Euro pillow top, and multiple firmness options.
Melatonin is often called the “sleep hormone,” but that description undersells its precision. It does not sedate you — it signals darkness. Understanding how your body manufactures it explains why light exposure timing matters more than the supplement industry wants you to know.
The Pineal Gland: Your Internal Clock’s Output
The pineal gland is a pea-sized endocrine gland in the epithalamus, sitting roughly at the center of the brain. Its role in mammals is primarily to transduce light-dark information from the environment into a hormonal signal that coordinates circadian rhythms throughout the body.
The pineal gland does not sense light directly. It receives its instructions via a dedicated neural pathway: the retinohypothalamic tract (RHT), which runs from specialized retinal ganglion cells (ipRGCs — intrinsically photosensitive retinal ganglion cells) to the suprachiasmatic nucleus (SCN) in the hypothalamus, and from there down the superior cervical ganglion to the pineal gland.
In darkness, the SCN releases this inhibition and allows the pineal gland to produce melatonin. In light, the signal is blocked.
The Melatonin Biosynthesis Pathway
Melatonin synthesis is a four-step enzymatic process:
- Tryptophan (dietary amino acid, obtained from food) is hydroxylated to 5-hydroxytryptophan by tryptophan hydroxylase.
- 5-HTP is decarboxylated to serotonin.
- Serotonin is acetylated to N-acetylserotonin by AANAT (arylalkylamine N-acetyltransferase). This is the rate-limiting step and the one regulated by light. AANAT activity rises dramatically in darkness.
- N-acetylserotonin is methylated to melatonin by ASMT (acetylserotonin O-methyltransferase).
The entire cascade is gated at step 3. Light exposure — particularly via the ipRGCs — triggers norepinephrine release in the pineal gland, which normally stimulates AANAT. But paradoxically, light hitting the retina blocks this signal via the RHT, suppressing AANAT and stopping melatonin production.
How Light Suppresses Melatonin
The ipRGCs that feed the RHT contain melanopsin, a photopigment maximally sensitive to wavelengths around 480nm — squarely in the blue portion of the visible spectrum. This explains why:
- LED screens, smartphones, and fluorescent lighting (all rich in blue wavelengths) are potent melatonin suppressors
- Candlelight and incandescent bulbs (warm, low in blue) have minimal suppressive effect
- Even brief light exposure at night can reset the onset of melatonin production
Research published in the Journal of Clinical Endocrinology & Metabolism showed that room light before bedtime suppressed melatonin onset in 99% of subjects and shortened melatonin duration by about 90 minutes. The dim-light melatonin onset (DLMO) — the standard clinical measure — was delayed by approximately 1.5 hours with 2 hours of standard room light exposure in the evening.
The Melatonin Profile Across the Night
In healthy adults, the DLMO occurs roughly 2 hours before habitual sleep onset. Melatonin rises steeply after dark, peaks between 2 and 4 AM at blood concentrations of 100–200 picograms per milliliter, and begins declining in the second half of the night as the morning light signal approaches.
Age substantially alters this profile. Peak melatonin levels in adults over 60 are typically 50–70% lower than in young adults. The DLMO also advances with age (earlier evening timing), contributing to the tendency of older adults to feel sleepy earlier and wake earlier. Children have the highest melatonin levels of any age group.
Melatonin and Sleep Architecture
Melatonin does not directly cause sleep. It prepares the body for sleep by lowering core body temperature, reducing alertness, and signaling cells throughout the body to shift into nighttime metabolic modes. The actual sleep process is driven by adenosine (homeostatic pressure) and inhibition of the arousal system — melatonin facilitates the transition.
This distinction matters for supplements: melatonin is most effective for shifting timing (jet lag, shift work, delayed sleep phase syndrome) rather than for treating insomnia caused by high arousal or anxiety. For sleep architecture, see our guide to sleep architecture.
Practical Implications
- Evening light: Dim lights and shift to warm/amber lighting 2 hours before bed. Blue-light blocking glasses show modest benefit in studies if bright light exposure is unavoidable.
- Morning light: Bright morning light (ideally outdoors, 10,000 lux) sets the circadian anchor point and determines when melatonin will rise that evening. This is the highest-leverage intervention for circadian alignment.
- Supplement dosing: If using melatonin for timing (not sedation), 0.3–0.5mg taken 1–2 hours before target sleep onset is more physiologically appropriate than the 3–10mg doses commonly sold. Higher doses do not improve sleep quality in most studies and may cause next-morning grogginess.
- Sleep surface temperature: Core body temperature must fall ~1–2ºC for melatonin to facilitate sleep onset. A mattress that traps heat delays this drop and can effectively counteract melatonin’s timing signal.
For the complementary homeostatic side of sleep regulation, see our guide to adenosine and sleep pressure.
Frequently Asked Questions
Where is melatonin produced?
Melatonin is produced primarily by the pineal gland, a small endocrine gland in the brain. Small amounts are also produced in the retina, gut, and immune cells, but the pineal gland is the main source of circulating melatonin that regulates sleep-wake timing.
What is the melatonin production pathway?
Tryptophan is converted to serotonin, which is then converted to N-acetylserotonin by the enzyme AANAT (arylalkylamine N-acetyltransferase), and finally to melatonin by ASMT (acetylserotonin methyltransferase). AANAT activity is suppressed by light via the retinohypothalamic tract.
How much does blue light suppress melatonin?
Short-wavelength blue light (460-480nm) is the most potent suppressor of melatonin. Studies show 2 hours of evening screen exposure can suppress melatonin production by 22% and delay the dim-light melatonin onset (DLMO) by 1.5 hours. Red light has minimal suppressive effect.
When does melatonin peak at night?
Melatonin typically begins rising 2-3 hours before habitual sleep onset (dim-light melatonin onset, DLMO), peaks between 2-4 AM at roughly 100-200 pg/mL in young adults, and falls sharply in the early morning as light exposure resumes.
Does taking melatonin supplements affect natural production?
Exogenous melatonin at physiologic doses (0.1-0.5mg) does not appear to suppress endogenous production long-term. However, the common supplement doses (3-10mg) create supraphysiologic blood levels and the downstream effects on receptor sensitivity over extended use are not fully characterized.
Optimize Your Sleep Environment
Your mattress affects every stage of your sleep cycle. The Saatva Classic supports proper spinal alignment and pressure relief so your body can complete each restorative phase.