Magnesium vs Melatonin
for sleep
Stronger evidence: tie
Stronger effect: tie
Safety: Melatonin has the more serious interaction profile (minor vs uncertain).
For sleep, the two are evidence-matched; the difference is in effect and safety.
sources: PMID:00000001 · PMID:00000006