Nobody has tested an early melatonin dose against one at bedtime
The 3-hours-before figure comes from patterns across many trials. The one trial comparing two dose times put both early, and no timing trial was found for ordinary insomnia.
What the study found
No trial has pitted an early melatonin dose against one near bedtime
The figure of about 3 hours before bed comes from patterns across trials, in adults and in children, not a trial comparing the two. The one randomised test of two dose times, in 40 people, put both doses early. For adults with ordinary trouble falling asleep, no timing trial was found.
The caveat · Some small old studies may be missed
The search covered the published record and the main trial registry, and some old, small healthy-volunteer studies may have been missed. Four completed melatonin trials for a late sleep pattern have posted no results, so an unpublished comparison cannot be ruled out.