Free · No sign-up · Timing > dose

With melatonin, when beats how much.

Tell SleepShift your target sleep time and what you're after — falling asleep faster, or shifting your body clock for jet lag or a late schedule. It suggests a low, evidence-aligned dose and the exact time to take it. More is not better.

Not medical advice. Melatonin is a hormone and a supplement, not a sleeping pill, and product labels are often inaccurate. Talk to a clinician or pharmacist before starting it — especially if you are pregnant or breastfeeding, take other medications, have a health condition, or are considering it for a child. This tool is general information only.

Sleep support, sensibly

Disclosure: the links below are affiliate links. If you buy through them, SleepShift may earn a commission at no extra cost to you. We only list categories we'd genuinely point a friend toward. We are not doctors; this tool is for general guidance, not medical advice — talk to a clinician before taking any supplement.

Low-dose melatonin

If you and your clinician decide to try it, look for low-dose (0.5–1 mg) products that are third-party tested for label accuracy.

See picks

Blue-light blocking glasses

Dimming evening light is the natural way to let your own melatonin rise. Amber glasses help if you must use screens.

Compare

Warm, dim bedside lighting

Swapping bright overhead light for a warm low lamp an hour before bed supports your natural melatonin curve.

Browse

Sleep hygiene books

Melatonin is a small lever. A solid book on sleep covers the habits that matter far more, long term.

See picks

How the melatonin timing calculator works

Melatonin isn't a sedative — it's the hormone your brain releases in the evening to signal that night is coming. Taking a supplement essentially sends that "it's getting dark" message earlier or later than your body would on its own. Because of that, timing matters more than dose, and the right timing depends on what you're trying to do.

This calculator reads your goal and target time, then suggests a dose range and the clock time to take it — based on the timing principles above.

Why more isn't better

The melatonin your body makes peaks at a tiny level overnight. Many over-the-counter pills contain 5–10 mg — far more than needed — and independent testing has found actual content can vary wildly from the label. High doses don't make you sleep more; they're just more likely to cause grogginess, vivid dreams, or a headache, and to keep melatonin elevated into the morning. The research consensus leans toward the lowest effective dose, often 0.5–1 mg for circadian timing and up to ~3 mg for simple sleep onset.

When to talk to a professional first

Melatonin is sold as a supplement in the US, which means it isn't regulated as tightly as medication. Speak to a clinician or pharmacist before using it if you are pregnant or breastfeeding, give it to a child or teen, take other medicines (including blood thinners, blood-pressure or diabetes drugs, or sedatives), have an autoimmune condition, or have ongoing insomnia — chronic sleep problems deserve a proper evaluation rather than a supplement. This tool does not replace medical advice.

Frequently asked questions

When should I take melatonin to fall asleep?
Commonly about 30–60 minutes before your target bedtime, at a low dose. Enter your sleep time above and the calculator gives you the exact clock time.
How much melatonin should I take?
Less than most bottles suggest. Evidence favors the lowest effective dose — often 0.5–1 mg for circadian timing, up to about 3 mg for occasional sleep onset. Confirm with a clinician.
Does melatonin help with jet lag?
It can, particularly for eastward travel, when taken in the early evening at the destination and combined with well-timed light. The calculator's "shift earlier" option targets this.
Can I take melatonin every night?
Short-term use is generally considered low-risk for healthy adults, but long-term nightly use hasn't been studied as well, and ongoing insomnia should be evaluated by a professional. Don't treat it as a permanent fix without medical guidance.
Is SleepShift free?
Completely. No account, no app to install — it runs entirely in your browser. It is not medical advice.