Melatonin is widely sold and widely misunderstood. It is a hormone that signals darkness and timing, not a sedative, which is why it helps some sleep problems and does nothing for others.
What melatonin is
The pineal gland releases melatonin in the evening in response to darkness, and it tells the body clock that night has begun. It does not knock you out; it shifts timing.
That distinction explains almost everything about how it should be used, including why it disappoints people expecting sedation.
Where it works
Melatonin has good evidence for jet lag and for shifting sleep timing in delayed sleep phase, where people fall asleep very late. Evidence for ordinary insomnia is weaker.
Our guide to dimming evening light covers how light sets the same clock.
Dose
Physiological doses of 0.5 to 1 mg are usually enough, and larger doses are not more effective. Higher doses tend to produce more grogginess and vivid dreams rather than better sleep.
Many supplements are sold at five to ten times the useful dose, which is why some people report vivid dreams and grogginess.
Timing
Taken an hour or two before the target bedtime, melatonin advances the clock. Taken at bedtime in a normal sleeper, it does very little.
For jet lag, timing relative to destination night matters more than the dose, and a small dose works as well as a large one.
What it will not do
Melatonin will not fix insomnia caused by anxiety, poor habits or sleep apnoea. It will not make you sleep through noise, and it will not replace a consistent wake time.
Expecting a sedative effect is the commonest reason people say it did not work.
Side effects
Headache, vivid dreams and next-day grogginess are the most common. Most are dose-related and resolve with a smaller dose.
Long-term safety data in adults is reasonable, and in children it should be used with medical advice rather than bought over the counter.
Who should be careful
People taking blood thinners, immune-suppressing drugs or epilepsy medication should check interactions. Pregnant and breastfeeding women should ask first.
Melatonin interacts with more medicines than most people assume.
Supplement quality
Studies have found that some products contain far more or less than the label claims. Buying from a reputable brand and using the smallest effective dose reduces the risk.
This is a real problem in unregulated markets, and it is another argument for the smallest effective dose.
Light is stronger
Morning daylight and dim evening light shift the clock more reliably than any supplement. Melatonin is an adjunct to light management, not a replacement.
Getting light right first makes melatonin optional for many people.
Sleeping tablets compared
Prescription hypnotics act on sedation and carry dependence risk, while melatonin acts on timing with little dependence risk. Neither treats the behavioural side of insomnia. If you try it, change one thing at a time so you can tell what actually helped.
NHS melatonin guidance covers sleep guidance.
The takeaway
Use a small dose, time it before target sleep, and expect a timing effect rather than sedation. Fix light and wake time first.
Melatonin is a clock tool, not a sleeping pill.
Frequently asked questions
Does melatonin make you sleep?
Not directly. It shifts timing. Sedation is not its main action.
What dose is useful?
0.5 to 1 mg is usually enough. Larger doses are not more effective.
When should I take it?
An hour or two before target bedtime. Timing matters more than dose.
Can melatonin fix insomnia?
Not on its own. Insomnia from habits, anxiety or apnoea needs other treatment.
Read next
A Sleep Environment Checklist That Matters
A short checklist, ordered by evidence, for building a bedroom that helps rather than hinders.