Compare

Melatonin vs Magnesium for Sleep: Which One Works?

Melatonin wins for jet lag and shift work; magnesium glycinate for nightly wind-down. Both target sleep through entirely different mechanisms — melatonin resets your body clock while magnesium calms the nervous system — which means the right choice depends entirely on why you cannot sleep. In the UK, melatonin is a prescription-only medicine (POM), making magnesium glycinate the accessible first-line option for most people. If your sleep is suffering because your training, nutrition or stress is off, no supplement bridges that gap — [book a free consultation with Bez](/contact) or take the free [Blueprint quiz](/quiz) to find your starting point.

Written & reviewed by Bez, Founder & Head Coach·Reviewed 2026-06-20

Poor sleep wrecks recovery, elevates cortisol and blunts muscle growth — yet most people reach for supplements before fixing the root cause. Melatonin and magnesium are the two most discussed sleep aids, but they work through completely different pathways: melatonin signals circadian timing, magnesium calms excitatory neurotransmission. Choosing the wrong one is like taking a compass when you need a sedative — or vice versa. Read our magnesium supplement guide and melatonin guide for full dosing and safety detail, then use this comparison to decide which fits your situation.

Melatonin

The body-clock reset — precision tool for jet lag and shift work

Mechanism
Endogenous hormone that signals circadian phase to the suprachiasmatic nucleus; shifts or advances the sleep-wake cycle rather than sedating directly
Evidence
Grade A for jet lag and circadian rhythm disorders; Grade B for sleep-onset latency (~7 min reduction) and insomnia in over-55s — supported by meta-analyses in J Pineal Res
UK availability
Prescription-only medicine (POM) in the UK — requires GP or pharmacist prescription; available OTC in the US/EU but not legally sold as a supplement here
Grogginess risk
Moderate — next-day grogginess if dose is too high (>5 mg) or taken too late; optimal dose is 0.5–3 mg, 30–60 min before target sleep; timing matters more than dose
Dependence perception
No physiological dependence; no rebound insomnia on stopping; psychological reliance possible if used nightly without addressing root cause
Best for
Jet lag, shift-work schedule correction, circadian rhythm disorders, sleep-onset delay in over-55s — under GP supervision in the UK
Read: Melatonin supplement guide
Our approach

Magnesium Glycinate

The nightly wind-down — accessible, gentle and evidence-graded for general sleep

Mechanism
Magnesium modulates NMDA receptors and supports GABA activity, reducing neuronal excitability; glycine (the chelating amino acid) independently calms the CNS and lowers core body temperature — both pathways promote sleep onset
Evidence
Grade C for sleep quality in the general population; Grade B for correcting low magnesium intake which is common in UK active adults; controlled trials show modest but consistent improvements in sleep quality in magnesium-insufficient individuals
UK availability
Freely available OTC as a food supplement — no prescription needed; glycinate form widely sold at £15–£30/month from reputable UK retailers
Grogginess risk
Very low — magnesium glycinate does not sedate; it reduces physiological arousal rather than depressing the CNS; no next-day impairment at standard doses (200–400 mg elemental)
Dependence perception
None — magnesium is an essential mineral; nightly use simply corrects an ongoing dietary shortfall; no rebound effect on stopping
Best for
General nightly wind-down, stress-related poor sleep, athletes with high sweat magnesium losses, anyone with low dietary magnesium intake — the default accessible choice for most UK adults
Read: Magnesium supplement guide
The verdict

How to choose

For most UK adults, start with magnesium glycinate. It is freely available, safe, addresses one of the most common nutritional shortfalls in active people, and works through a mechanism — calming excitatory neurotransmission — that benefits nearly everyone whose sleep is disrupted by stress, overtraining or poor recovery. Take 200–400 mg elemental magnesium as glycinate 30–60 minutes before bed. If your problem is specifically jet lag, shift-work schedule disruption or a delayed body clock, melatonin is the clinically superior choice — but in the UK you will need to see your GP or pharmacist, as it is a prescription-only medicine. The two are not mutually exclusive: melatonin resets the clock while magnesium calms the system, so short-term melatonin plus ongoing magnesium is a reasonable combination under medical guidance. That said, no supplement compensates for chronic under-sleep caused by a training programme that does not manage load, nutrition that misses recovery targets, or stress left unaddressed. Supplements are roughly 5% of the result; your programme, diet and consistency are the other 95%. Book a free consultation with Bez to identify what is actually holding your recovery back and build the plan that makes sleep — and every supplement you take — work properly. Or take the free Blueprint quiz to see exactly where you stand. General information, not medical advice — check with a GP or pharmacist before starting, especially if you are pregnant, breastfeeding, under 18, or on anticoagulants, anticonvulsants, immunosuppressants, diabetes medication, or have kidney impairment.

FAQ

Frequently asked

Should I take melatonin or magnesium for sleep?

It depends on why you cannot sleep. Melatonin is the evidence-backed choice for jet lag, shift-work schedule disruption and circadian rhythm disorders — it resets your body clock. Magnesium glycinate is the better default for general nightly wind-down, stress-related poor sleep and recovery support in active people — it calms nervous system excitability without sedating. In the UK, melatonin is prescription-only (POM), making magnesium glycinate the accessible first-line option for most people.

Why is melatonin prescription-only in the UK?

The UK Medicines and Healthcare products Regulatory Agency (MHRA) classifies melatonin as a prescription-only medicine (POM) because it is a hormone that influences multiple physiological systems beyond sleep, including immune function and reproductive cycles. In the US and much of the EU it is sold OTC, but in the UK you must obtain it via a GP or pharmacist. This makes magnesium the practical starting point for most UK adults without a specific circadian diagnosis.

Does magnesium actually help you sleep?

The evidence is Grade C for sleep quality in the general population — promising but not conclusive. However, magnesium deficiency (common in athletes and people under stress) is directly associated with disrupted sleep, so correcting low intake often produces noticeable improvements. Magnesium supports GABA receptor activity linked to relaxation, and the glycine component of magnesium glycinate has independent evidence for reducing sleep onset time and improving next-day alertness. The effect is most reliable when dietary magnesium is below the UK RNI (300 mg/day for men, 270 mg/day for women).

What is the right dose of melatonin for sleep?

The dose that most people take (5–10 mg, as sold in the US) is far higher than the evidence-supported range. Meta-analyses in J Pineal Res indicate that 0.5–3 mg is effective for circadian phase-shifting, and that timing — 30 to 60 minutes before your target sleep time — matters more than dose. Higher doses increase grogginess risk without improving sleep quality. In the UK, dosing is determined by the prescribing clinician.

Can I take melatonin and magnesium together?

Yes — they work through entirely separate mechanisms and there is no known adverse interaction between them. Short-term melatonin (for jet lag or schedule correction) combined with nightly magnesium glycinate (for ongoing recovery support) is a reasonable combination. As always, discuss with your GP if you are on any medication, particularly anticoagulants, anticonvulsants or diabetes drugs, as melatonin carries relevant interactions. Book a free consultation if you want a personalised recovery protocol.

Stop comparing. Start progressing.

Book a free, no-pressure consultation and a real coach will pick what's right for you — then build the plan around your life.