Melatonin vs Magnesium (2026): Two Different Ingredients, Two Different Questions

This comparison is asked constantly and it is slightly the wrong question, because melatonin and magnesium are not two versions of the same thing. Melatonin is a hormone the body makes in darkness, sold as a supplement and labeled around timing. Magnesium is a dietary mineral, sold in several salts and labeled around relaxation and general nutrition. Natrol Melatonin 5 mg Fast Dissolve is 90 tablets for $8.96 (verified via the Amazon Creators API on September 5, 2026), about 10 cents a night. Double Wood Magnesium Glycinate 400 mg is 180 capsules for $16.99, about 9 cents a capsule. Here is how to choose, and when to stop choosing and buy the one product that carries both.

By The Sleep Desk2026-09-05~10 min read Ranked on verified label facts, never box claimsHow we research

Natrol Melatonin 5 mg Fast Dissolve Tablets, Strawberry, 90 CountBest Overall

Natrol Melatonin 5 mg Fast Dissolve Tablets, Strawberry, 90 Count

Natrol · 4.7

$8.96

Nature Made Melatonin + Magnesium Gummies, Melatonin 3 mg, 50 GummiesBest Value

Nature Made Melatonin + Magnesium Gummies, Melatonin 3 mg, 50 Gummies

Nature Made · 4.5

$12.81

Double Wood Magnesium Glycinate 400 mg, 180 CapsulesUpgrade Pick

Double Wood Magnesium Glycinate 400 mg, 180 Capsules

Double Wood · 4.5

$16.99

If your complaint is about timing, buy melatonin: Natrol Melatonin 5 mg Fast Dissolve, 90 tablets, $8.96 (verified via the Amazon Creators API on September 5, 2026), about 10 cents a night, or the same tablet at 3 mg for $7.32. Melatonin labels are written around when you take it: the labels for fast-dissolve products are commonly directed 20 to 30 minutes before bedtime, and the category's own framing is jet lag, shift work and occasional sleeplessness. If your complaint is not about timing, or if you are looking at magnesium because you suspect your diet is short on it, buy Double Wood Magnesium Glycinate 400 mg, 180 capsules, $16.99, about 9 cents a capsule.

The honest framing of this page: these are two different ingredients with two different label vocabularies, and neither of them treats, cures or prevents anything. Melatonin labels use structure and function language about supporting occasional sleeplessness and healthy sleep cycles. Magnesium is a dietary mineral with an established role in normal body function, sold in salts including glycinate, citrate and oxide, and its labels use relaxation and general nutrition language. We describe each as its label describes it and credit neither with more. If you have a persistent sleep problem, the person to talk to is a doctor rather than a supplement aisle.

Every amount, count and form here comes from the Amazon listing title or the Supplement Facts panel, and every price was verified live on September 5, 2026. We are a verification desk, not a lab: we read labels, verify listings and weigh consistent owner reports, and we never claim to have tested anything. No brand paid for a placement. If you buy through our links we may earn a commission at no cost to you. Nothing here is medical advice.

The short version

  • They are not substitutes. Melatonin is a hormone sold as a supplement and labeled around timing; magnesium is a dietary mineral labeled around relaxation and nutrition.
  • Timing complaint (jet lag, shift work, a bedtime that has drifted): melatonin. Natrol 5 mg Fast Dissolve, 90 count, $8.96, about 10 cents a night.
  • Everything else, or a suspected dietary shortfall: magnesium. Double Wood Magnesium Glycinate 400 mg, 180 capsules, $16.99, about 9 cents a capsule.
  • Melatonin is the one with a next-morning cost. Higher amounts are commonly associated with grogginess, which is why the guidance is the lowest amount that helps.
  • If you want both: Nature Made Melatonin + Magnesium Gummies state 3 mg melatonin and 50 gummies for $13.48, about 27 cents a gummy.

At a glance

ProductWhat it isLabeled amountFormCountCost per piecePrice (9/5/26)Check price
Natrol Melatonin 5 mg Fast DissolveMelatonin, a supplement hormone5 mgFast dissolve tablet90$0.10$8.96Check price on Amazon
Double Wood Magnesium GlycinateMagnesium, a dietary mineral400 mg (serving size not stated)Capsule180$0.09$16.99Check price on Amazon
Nature Made Melatonin + Magnesium (both)Both, in one gummyMelatonin 3 mg; magnesium not statedGummy50$0.27$13.48Check price on Amazon

One column set across a supplement hormone, a dietary mineral and a product that carries both. Amounts, forms and counts are from the Amazon listing title; where a title does not state a serving size or a companion amount we say so rather than guess. Prices are live Amazon figures verified via the Creators API on September 5, 2026. Cost per piece is price divided by count.

Our PickBest for a Timing Problem
Natrol Melatonin 5 mg Fast Dissolve Tablets, Strawberry, 90 Count

Natrol Melatonin 5 mg Fast Dissolve Tablets, Strawberry, 90 Count

Natrol

The category's clearest answer when the complaint is about when, not whether.

4.7

Our verdict: Buy melatonin when the problem is timing. Jet lag after an eastward flight, a shift rotation, a bedtime that has slid two hours later than you want it: those are the situations melatonin labels and travel-health guidance are written around. Natrol's fast-dissolve tablet is the cheapest credible way to try it, about 10 cents a night, and the same tablet exists at 1, 3 and 10 mg so you can start lower.

Verified: Labeled 5 mg melatonin per fast-dissolve tablet, strawberry flavored, 90 count. Live at $8.96 on Amazon, verified via the Creators API on September 5, 2026.

Melatonin is a clock signal, and the label reads that way. Natrol Melatonin 5 mg Fast Dissolve states 5 mg per tablet, strawberry flavor and 90 count, at $8.96 (verified via the Amazon Creators API on September 5, 2026), about 10 cents a tablet. Melatonin is a hormone the pineal gland produces in darkness; supplements are synthetic or plant-derived versions of it, sold in the United States as dietary supplements and, in much of Europe, only on prescription.

Start lower than this bottle. The general guidance commonly cited by sleep clinicians is the lowest amount that helps, often described as 0.5 to 3 mg, with more not being better and higher amounts associated with next-day grogginess. Natrol's 3 mg costs less than its 5 mg ($7.32 for 90) and its 1 mg less again ($6.97). Nothing about the format changes.

The reason melatonin gets compared with magnesium at all is that both sit on the same shelf under the same word. They are not alternatives. Melatonin has an obvious wrong time to take it and magnesium does not; melatonin is bought for a handful of specific situations and magnesium is a mineral people take for general nutrition and, per the label vocabulary, relaxation. The timing question is covered in when to take melatonin, the travel case in melatonin for jet lag, and the shift-work case in melatonin for shift work. The full Natrol line is in the Natrol melatonin review.

Who should buy it

Buy it if your complaint has a clock in it: travel across time zones, a rotating shift, or a sleep schedule that has drifted and you want to move it back.

What we don't like

Five milligrams is above the 0.5 to 3 mg range clinicians commonly favor, and melatonin is the ingredient on this page with a recognized next-morning cost in grogginess at higher amounts. It is also the one with a genuinely wrong time to take it, and it is not a mineral you might simply be short of.

Melatonin per serving
5 mg (1 tablet)
Form
Fast dissolve tablet, strawberry
Count
90
Added ingredients
Not published in the title
Sugar
Not published in the title
Cost per night
$8.96 / 90 = about $0.10
Age on label
Adults; not published in the title

What we like

  • About 10 cents a night, and 8 cents at 3 mg
  • Labels and travel guidance are written around timing situations
  • Same tablet published at 1, 3, 5 and 10 mg

Worth noting

  • 5 mg is above the commonly cited starting range
  • Higher amounts are associated with next-day grogginess
Upgrade PickBest if the Complaint Is Not About Timing
Double Wood Magnesium Glycinate 400 mg, 180 Capsules

Double Wood Magnesium Glycinate 400 mg, 180 Capsules

Double Wood

A dietary mineral in the salt most people buy for evening use, about nine cents a capsule.

4.5

Our verdict: Buy magnesium when there is no clock in the complaint. It is a dietary mineral rather than a hormone, it has no wrong time of day, and the glycinate salt is the one most commonly chosen for evening use. Double Wood's bottle states 400 mg and 180 capsules for $16.99, about 9 cents a capsule. The title does not state the serving size, so read the panel before treating that as a per-night figure.

Verified: Labeled magnesium glycinate 400 mg, 180 capsules, titled for sleep, relaxation and recovery. Live at $16.99 on Amazon, verified via the Creators API on September 5, 2026.

A mineral, not a hormone, and that difference runs through everything. Double Wood Magnesium Glycinate states 400 mg and 180 capsules, titled for sleep, relaxation and recovery, at $16.99 (verified September 5, 2026), about 9 cents a capsule. Magnesium is an essential dietary mineral with an established role in normal body function; supplements sell it bound to different partners, and glycinate is the salt most commonly chosen for evening use. We describe it as the label describes it and credit it with nothing more.

Read the serving size before you compute anything. The title states 400 mg and 180 capsules but does not say how many capsules make a serving. If a serving is two capsules, the bottle holds 90 servings at about 19 cents each rather than 180 at 9. Magnesium supplements very commonly use multi-capsule servings, more so than melatonin does, which is why our table publishes cost per capsule and calls the gap out rather than pretending to know.

Two practical differences from melatonin worth stating plainly. First, magnesium has no obviously wrong hour: it is a nutrient, and a nutrient taken at nine in the morning is not a mistake in the way melatonin at nine in the morning would be. Second, magnesium intake is a real medical question for anyone with reduced kidney function, and magnesium can interact with certain antibiotics and other medicines, so a pharmacist should see your list. Double Wood also publishes Glycine 1000 mg ($19.95 for 300) and Apigenin 50 mg ($14.95 for 60), the other two ingredients this shelf gets compared against. The whole category is ranked in best magnesium for sleep.

Who should buy it

Buy it if there is no clock in your complaint, if you suspect your diet is short on magnesium, or if you want an evening supplement with no next-morning reputation attached to it.

What we don't like

The title does not state the serving size, so the real cost per night is unknown from the listing, and it does not state the elemental magnesium figure either, which is the number that actually matters on a magnesium panel. Double Wood is a value-tier brand rather than a pharmacy name, and magnesium is a genuine medical question for anyone with kidney concerns.

Magnesium per serving
400 mg magnesium glycinate stated; serving size not published
Form
Capsule
Count
180
Melatonin
None
Added ingredients
Not published in the title
Cost per capsule
$16.99 / 180 = about $0.09
Age on label
Adults; not published in the title

What we like

  • A dietary mineral rather than a hormone, with no wrong time of day
  • Glycinate is the salt most commonly chosen for evening use
  • About 9 cents a capsule, 180 to a bottle

Worth noting

  • Serving size and elemental magnesium not published in the title
  • Value-tier brand rather than a pharmacy name
  • Magnesium intake is a real question for anyone with kidney concerns
Best ValueIf You Want Both
Nature Made Melatonin + Magnesium Gummies, Melatonin 3 mg, 50 Gummies

Nature Made Melatonin + Magnesium Gummies, Melatonin 3 mg, 50 Gummies

Nature Made

Three milligrams of melatonin and magnesium in one gummy from a pharmacy brand.

4.5

Our verdict: The answer if you have decided you want both and would rather not keep two bottles. Nature Made states 3 mg melatonin and magnesium in one gummy, 50 to a bottle for $13.48, about 27 cents a gummy. It is the most expensive route on this page per night and the simplest, and it comes from the mainstream pharmacy brand most associated with third-party verification. The magnesium amount is not stated in the title, which is the catch.

Verified: Labeled 3 mg melatonin plus magnesium per serving, 50 gummies. Live at $13.48 on Amazon, verified via the Creators API on September 5, 2026.

One gummy instead of two bottles. Nature Made Melatonin + Magnesium Gummies state 3 mg melatonin and 50 gummies, at $13.48 (verified September 5, 2026), about 27 cents a gummy. Three milligrams sits inside the range clinicians commonly favor, which is more than can be said for most combination products.

The magnesium number is the missing one. The title states the melatonin amount and not the magnesium amount, which is the standard problem with combination supplements: the ingredient in the product name is often present in an amount the listing never publishes. The Supplement Facts panel states it, and it is worth checking before you assume this bottle replaces a magnesium supplement. It may be a supporting amount rather than a full one.

The combination shelf is crowded and the same caveat applies to nearly all of it. Natrol Sleep + Restore states magnesium glycinate, GABA and 5 mg melatonin ($17.99), ZzzQuil Pure Zzzs + Magnesium states magnesium citrate and 2 mg melatonin ($11.29), Vitafusion Melatonin and Magnesium states 5 mg melatonin per 2 gummies ($13.49), and Webber Naturals is the rare one that publishes both, at 10 mg melatonin and 150 mg magnesium in 60 tablets ($20.07). The field is ranked in best melatonin with magnesium.

Who should buy it

Buy it if you have decided you want both ingredients, want them from a mainstream pharmacy brand, and would rather manage one bottle than two.

What we don't like

About 27 cents a gummy is nearly three times the cost of either single-ingredient bottle, the magnesium amount is not published in the title, and a combination product removes your ability to change one ingredient without changing the other.

Melatonin per serving
3 mg
Magnesium per serving
Not published in the title
Form
Gummy
Count
50
Sugar
Not published in the title
Cost per gummy
$13.48 / 50 = about $0.27
Age on label
Adults; not published in the title

What we like

  • Both ingredients in one gummy from a mainstream pharmacy brand
  • 3 mg melatonin sits inside the commonly favored range
  • No second bottle to remember

Worth noting

  • About 27 cents a gummy, nearly three times either single bottle
  • Magnesium amount not stated on the listing title

The bedtime kit

The six things that round out a melatonin routine: the standard fast-dissolve, a sub-milligram option, a time-release tablet for staying asleep, a magnesium for melatonin-free nights, a bedtime tea, and a kids bottle. Prices are approximate at time of writing.

Axis 1: What each one actually is

Melatonin is a hormone. The pineal gland produces it in darkness, and supplements are synthetic or plant-derived versions of the same molecule. In the United States it is sold as a dietary supplement and has not been approved by the FDA as a drug; in much of Europe it is prescription only, which tells you something about how different regulators read it. Its labels use structure and function language about supporting occasional sleeplessness and healthy sleep cycles, and its most specific documented use case in travel-health guidance is adjustment after eastward travel.

Magnesium is a dietary mineral, one of the essential ones, with an established role in normal body function including muscle and nerve function. Supplements sell it bound to a partner molecule: glycinate, citrate, oxide, threonate and others, which differ in how much elemental magnesium they carry and in how they are commonly tolerated. Its labels use relaxation and general nutrition language. A person can be short of magnesium in a way nobody can be short of supplemental melatonin, because melatonin is not a nutrient.

Verdict on this axis: not a competition. One is a clock signal you add; the other is a nutrient you may or may not already be getting enough of. Anyone framing them as rivals is selling something.

Axis 2: Which complaint you actually have

This is the axis that decides the page. If there is a clock in your complaint, melatonin is the ingredient the labels and the guidance are written around. You flew east and your body thinks it is four in the afternoon. Your shift rotated and you need to sleep at ten in the morning. Your bedtime slid from eleven to one over a bad month and you want it back. Those are timing problems, and melatonin is the shelf item designed for them.

If there is no clock in it, melatonin has less to offer and magnesium is the more sensible thing to be reading about, alongside the honest answer that no supplement is the right first move for a persistent sleep problem. Someone who falls asleep at a normal hour and wakes at three, someone whose evenings are tense, someone whose diet is thin on the foods magnesium comes from: none of those is a timing complaint. We are not claiming magnesium resolves any of them, because neither we nor its label make that claim. We are saying it is the more coherent thing to try, and that a doctor is the more coherent thing still.

Verdict on this axis: melatonin for clock problems, magnesium for everything else on this page, and a doctor for anything persistent. How melatonin works covers the mechanism as it is understood.

Axis 3: The next morning

Melatonin has a documented downside that magnesium does not carry in the same way, and it deserves its own axis. The most commonly reported complaint about melatonin is next-day grogginess, and it tracks with the amount: this is the practical reason behind the general guidance to use the lowest amount that helps, often described as 0.5 to 3 mg. A 10 mg gummy is a common purchase and an uncommonly good idea. We cover the phenomenon in melatonin hangover and grogginess, and the amount question in how much melatonin should I take.

Magnesium's practical caveats sit elsewhere. Different salts are tolerated differently, with digestive effects being the common complaint, which is a large part of why glycinate is the salt evening products favor. Magnesium can interact with certain antibiotics and other medicines, and total intake matters to anyone with reduced kidney function. Neither of those is a next-morning cost; both are pharmacist questions. Neither product on this page should be taken before driving, because both are labeled for bedtime.

Verdict on this axis: magnesium, on the specific question of how you feel at seven the next morning. This is the single strongest argument for trying it first when the complaint is vague.

Axis 4: Cost per night, and the number neither label gives you

Natrol is about 10 cents a tablet at 5 mg and 8 cents at 3 mg, and the count is unambiguous because a fast-dissolve tablet is one serving. Double Wood is about 9 cents a capsule, and the count is ambiguous because the title does not state the serving size. Magnesium supplements commonly use two- or three-capsule servings, so the honest range on that bottle is roughly 9 to 28 cents a night depending on what the panel says. Check it before you treat the two as equally priced.

Both are cheap in absolute terms, and neither should be chosen on price. What price does usefully expose is the combination premium: the Nature Made combination gummy at about 27 cents a gummy costs more than buying both single-ingredient bottles and taking them together, which is worth knowing before you pay for the convenience. The one thing the combination genuinely buys you is one fewer thing to remember.

Verdict on this axis: a tie at face value, melatonin on certainty. Its cost per night is knowable from the listing and magnesium's is not.

Axis 5: What happens if you want both

Plenty of people do, and the shelf is full of products that carry both. The trouble with nearly all of them is disclosure: the melatonin amount is almost always in the title and the magnesium amount almost never is. Nature Made states 3 mg melatonin and no magnesium figure. ZzzQuil Pure Zzzs + Magnesium states magnesium citrate and 2 mg melatonin, no magnesium figure. Natrol Sleep + Restore states magnesium glycinate, GABA and 5 mg melatonin, no magnesium figure. The exception is Webber Naturals, whose title publishes both at 10 mg and 150 mg in 60 tablets ($20.07), though 10 mg melatonin is well above the commonly favored range.

The case against combining at all is control. Two bottles let you change one thing at a time, which is the only way to learn anything about what a supplement is doing for you, and they let you take magnesium on nights you do not want melatonin. The case for combining is that one bottle gets taken and two sometimes do not. If you go combined, buy the one whose panel you have actually read. If you go separate, the pairing and its options are ranked in best melatonin with magnesium.

Verdict on this axis: two bottles if you want to learn anything, one gummy if you want to be finished. Either way, read the magnesium figure on the panel.

The verdict, by buyer type

Jet lag, shift work, or a bedtime that has drifted: melatonin. Natrol Melatonin 3 mg Fast Dissolve, $7.32 for 90, about 8 cents a night, rather than the 5 mg bottle.

No clock in the complaint, or you think your diet is short on magnesium: Double Wood Magnesium Glycinate 400 mg, $16.99 for 180. Read the serving size on the panel.

You are worried about feeling foggy in the morning: magnesium first. It is the ingredient on this page without a grogginess reputation, and if you do try melatonin, try it at 1 mg or below.

You want both and one bottle: Nature Made Melatonin + Magnesium Gummies, $13.48 for 50, about 27 cents a gummy, with the caveat that the magnesium amount is on the panel and not the title.

You want both and full control: two bottles, and change one variable at a time.

Your sleep problem has lasted months: neither. That is a doctor's conversation, and this page is about a supplement shelf. Every buyer: tell a pharmacist what else you take, particularly blood thinners, blood-pressure or diabetes medication, or antibiotics.

More picks worth comparing

Beyond this guide, the highest-rated picks across every category and budget, with a live price check on each.

Natrol 5 mg Fast Dissolve

Best Overall

Natrol 5 mg Fast Dissolve

5 mg · 90 ct · ~$9

Check Price
OLLY Sleep Gummies 3 mg

Best Gummy

OLLY Sleep Gummies 3 mg

3 mg · 70 ct · ~$16

Check Price
Nature Made 3 mg Tablets

Best Value

Nature Made 3 mg Tablets

3 mg · 120 ct · ~$7

Check Price
Life Extension 300 mcg

Best Low Dose

Life Extension 300 mcg

300 mcg · 100 ct · ~$8

Check Price
Natrol 10 mg Time Release

Best Time Release

Natrol 10 mg Time Release

10 mg · 100 ct · ~$17

Check Price
Zarbee's Kids 1 mg Gummies

Best for Kids

Zarbee's Kids 1 mg Gummies

1 mg · 60 ct · ~$15

Check Price

As an Amazon Associate we earn from qualifying purchases, at no cost to you.

Quick shop: every pick

Skip the scroll: the whole lineup, with a live price check on each.

  1. Natrol Melatonin 5 mg Fast Dissolve Tablets, Strawberry, 90 CountBest for a Timing ProblemNatrol · $8.96Check price on Amazon
  2. Double Wood Magnesium Glycinate 400 mg, 180 CapsulesBest if the Complaint Is Not About TimingDouble Wood · $16.99Check price on Amazon
  3. Nature Made Melatonin + Magnesium Gummies, Melatonin 3 mg, 50 GummiesIf You Want BothNature Made · $12.81Check price on Amazon

How we chose

A comparison page puts the same spec table on both sides and argues the decision axes one at a time. Because this page compares two different ingredients rather than two versions of one, the axes are what each label claims, what each is commonly bought for, the cost per night, the next-morning trade-off, and what happens if you want both. We read the Supplement Facts panel and the live Amazon listing, verify price and availability through the Amazon Creators API (this page: September 5, 2026), and weigh the consistent testimony of owners. We do not run a lab, we never claim physical testing, and we never present a maker's claim as our finding. Pick slots go to recognized brands only.

Melatonin and magnesium are dietary supplements in the United States. These statements have not been evaluated by the Food and Drug Administration. These products are not intended to diagnose, treat, cure, or prevent any disease. We describe each ingredient as its label describes it and credit it with nothing more; sleep support and relaxation are label language, not our findings. We report what labels direct and never prescribe an amount; the commonly cited general guidance that many clinicians favor the lowest effective amount of melatonin, often 0.5 to 3 mg, is attributed as guidance. Both can interact with medication: melatonin with blood thinners, immunosuppressants and blood-pressure and diabetes drugs, magnesium with certain antibiotics and other medicines, and magnesium intake matters to anyone with reduced kidney function. Ask a pharmacist. Do not drive after taking a product labeled for bedtime. If pregnant or nursing, consult a doctor.

Questions, answered

Should I take melatonin or magnesium for sleep?

Melatonin if your complaint has a clock in it, such as jet lag, shift work or a bedtime that has drifted, because that is what its labels and travel-health guidance are written around. Magnesium if it does not, or if you suspect your diet is short on the mineral. They are not two versions of the same thing and neither treats, cures or prevents anything.

Can I take melatonin and magnesium together?

People commonly do, and the shelf sells combination products such as Nature Made Melatonin + Magnesium Gummies, 3 mg melatonin and 50 gummies for $13.48 at our September 5, 2026 check. Two separate bottles give you more control, because you can change one ingredient at a time. Either way, tell a pharmacist what else you take.

Which is safer, melatonin or magnesium?

They carry different cautions rather than one being safer. Melatonin's common complaint is next-day grogginess, which tracks with the amount, and it can interact with blood thinners, immunosuppressants and blood-pressure and diabetes medication. Magnesium's common complaint is digestive, it can interact with certain antibiotics, and total intake matters for anyone with reduced kidney function. Both are pharmacist questions.

What kind of magnesium is best for evening use?

Glycinate is the salt evening products most commonly use, which is why the bottle on this page is a glycinate. We describe that as the market convention rather than as a claim about effect. The number that actually matters on any magnesium panel is the elemental magnesium per serving, and it is frequently absent from listing titles, including this one.

Does magnesium make you groggy the next day?

It does not carry melatonin's grogginess reputation, and that is the strongest practical argument for trying it first when a complaint is vague. Its own common complaints are digestive and depend on the salt. We make no claim about how either ingredient will affect you; a pharmacist or doctor who knows your history can say more than a listing title can.

How much magnesium is in a melatonin plus magnesium gummy?

Usually not stated on the listing. Nature Made's title states 3 mg melatonin and no magnesium figure, and the same is true of the ZzzQuil, Natrol and Vitafusion combination products. The Supplement Facts panel states it. Webber Naturals is the exception, publishing melatonin 10 mg and magnesium 150 mg in its title, though 10 mg melatonin is well above the commonly favored range.

Is melatonin a vitamin or a mineral?

Neither. Melatonin is a hormone the pineal gland produces in darkness, sold in the United States as a dietary supplement and available only on prescription in much of Europe. Magnesium is an essential dietary mineral. That distinction is the reason this comparison is really two separate questions rather than one.

Which is cheaper per night?

Melatonin, and more importantly its price per night is knowable. Natrol's 5 mg fast dissolve is about 10 cents a tablet and its 3 mg about 8 cents, with one tablet per serving. Double Wood's magnesium is about 9 cents a capsule, but the title does not state the serving size, so the real per-night figure could be double or triple that. Check the panel.