Melatonin is the most misunderstood supplement in the sleep aisle. It isn't a sedative that knocks you out — it's your body's "it's night-time" signal, and its real power is shifting your internal clock: jet lag, a delayed sleep schedule, shift work. Most people take far too much of it, at the wrong time, and blame the melatonin. Here's how to use it properly, and how your CYP1A2 and clock genes change the picture.
Melatonin is a hormone your pineal gland releases in darkness. Its job isn't to sedate you — it's to tell your brain and body that biological night has begun, gently lowering alertness and nudging every clock in your body toward "sleep mode." That distinction is everything. A sleeping pill chemically forces you unconscious; melatonin is a timing signal that says now is night. Take it and expect benzodiazepine-style knockout and you'll be disappointed — that's not what it does.
This makes melatonin a chronobiotic: a substance that shifts your circadian rhythm. Its strongest, most reliable use is moving your body clock — pulling an owl's late schedule earlier, easing the mismatch of jet lag, or helping a shift worker sleep at an unnatural hour. For those problems it's genuinely effective. For garden-variety "I can't fall asleep tonight," it helps a little, but far less than the marketing implies.
Melatonin is one of the supplements where genetics adds real, practical nuance. Three genes matter. CYP1A2 — the same liver enzyme that clears caffeine — is the main route your body uses to break down melatonin, so slow metabolisers clear it sluggishly and are more prone to next-morning grogginess from a big dose. CLOCK and PER3 are core circadian-clock genes that shape your chronotype — whether you're a lark or an owl — which is exactly what determines when melatonin should be taken to shift you in the direction you want.
The most surprising one is MTNR1B, a melatonin-receptor gene. A common variant in it raises fasting glucose and type-2-diabetes risk, and it means melatonin and insulin interact: in risk-variant carriers, high melatonin levels can blunt glucose control. The practical takeaway is real — carriers may want to avoid high-dose melatonin close to food (and late-night eating), because the hormone signalling "night" while you eat can worsen your glucose response. This is a rare case where a supplement, a gene and your metabolism visibly intersect.
We rate melatonin Tier 2 and genuinely effective for circadian problems — jet lag, delayed sleep-phase, shift work, clock-shifting — and modest for plain insomnia (meta-analyses show it trims sleep-onset time by only a few minutes). The genetics here are real and Tier 2: CYP1A2 predicts your clearance and grogginess risk, CLOCK/PER3 describe the chronotype that dictates timing, and MTNR1B flags a genuine glucose caution around high doses and food. Our guidance: think of melatonin as a precisely-timed, low-dose clock tool — and let your genetics fine-tune the dose and the hour.
Jet lag, delayed sleep-phase (night owls needing an earlier schedule), shift work, and non-24-hour rhythm (common in blind people). Here melatonin's clock-shifting action is well-supported — and correct timing does most of the work.
General "can't sleep" insomnia in someone with a normal schedule. The effect is real but small — a few minutes faster to sleep on average. It's not a powerful hypnotic, and taking more won't make it one. Sleep hygiene and light exposure usually matter more.
Almost everyone who's disappointed by melatonin has made one or both of these errors.
Typical shop products contain 3, 5 or 10 mg — but your body's own nightly output is a fraction of a milligram. Studies find a physiological dose of 0.5–1 mg is often as effective as, or better than, large doses — and high doses raise the odds of next-day grogginess and vivid dreams. With melatonin, more is frequently worse.
For circadian shifting, when you take it matters more than how much. To fall asleep earlier, a small dose in the early evening — often a few hours before your target bedtime — shifts the clock forward; taking it right at bedtime does far less clock-shifting. Getting the timing wrong can even push your rhythm the wrong way.
Standard tablets/liquids for helping fall asleep or for timed circadian dosing. A low-dose (0.5–1 mg) immediate-release product is the sensible default — but many shelves only stock 3–10 mg, so you may need to split tablets or seek a low-dose brand.
Slow-release forms aim to mimic melatonin's natural overnight curve and are used (by prescription in some countries) more for staying asleep and in older adults, whose own melatonin declines.
Melatonin supplement quality is notoriously variable. An analysis of commercial products found actual melatonin content ranged from a small fraction to several times the labelled dose, and some even contained serotonin as a contaminant. Buy from a reputable, tested brand — with melatonin, "5 mg" on the label may not be 5 mg in the bottle.
Melatonin isn't really a dietary nutrient, so the "food-first" equivalent here is light — the master control of your body clock, and often more powerful than the supplement. Bright light in the morning (ideally daylight) advances your clock and strengthens your rhythm; dim, warm light and screen-avoidance in the evening lets your own melatonin rise on schedule. Bright light and late-night screens are the biggest reason many people's clocks drift late in the first place. Fix the light exposure and you often fix the problem melatonin was being asked to solve — with the supplement as a targeted assist, not the foundation.
Use a low dose — 0.5 to 1 mg — not the 5–10 mg on most shelves. For jet lag, take it in the evening at your destination for a few nights (travelling east is where it helps most). For a delayed schedule (owl trying to sleep earlier), a small dose in the early evening, a few hours before target bedtime, plus morning light, shifts you forward. For occasional sleep-onset help, take it 30–60 minutes before bed.
Start at 0.5–1 mg. For clock-shifting, prioritise timing (early evening) over dose and pair it with morning bright light. If you're a slow CYP1A2 metaboliser and wake groggy, take it earlier and lower the dose. If you carry the MTNR1B risk variant, avoid high doses near meals or late-night eating. Use it short-term and for a defined reason rather than indefinitely.
For short-term use, melatonin is generally safe and non-habit-forming, with the common effects being next-day grogginess, vivid dreams, and headache — mostly dose-related, hence the low-dose advice. Longer-term safety is less well established, so it's best used purposefully rather than nightly forever. Cautions: it can add to other sedatives, may affect blood sugar (see MTNR1B), interacts with some medications (including certain blood thinners and immunosuppressants), and its use in children or during pregnancy should be guided by a clinician. Given the product-quality issues, source matters. Check with a doctor if you take medication or manage a medical condition.
Melatonin works best when it's matched to your body clock and your metabolism — the exact things your DNA describes. KortexDNA reads your CLOCK, PER3 and CYP1A2 genes so you can time and dose melatonin to your own rhythm, instead of copying a generic label.
Get Your ReportIf you believe any information in this article is inaccurate or outdated, please let us know. We continuously review and update our content based on the latest peer-reviewed research to ensure the highest accuracy.