Image generated with AI for this blog
Melatonin is a hormone your body makes at night, and it is also sold as a sleep aid. If you take it most nights, you probably see it as mild and harmless. The newest research gives a mixed picture. A 2024 review mapped how dose and timing change its effect. Then an early, not yet peer-reviewed 2025 heart failure study raised doubts about nightly use. The real question is whether it works well enough, and is safe enough, to keep taking for years.
The short answer: in randomized trials of adults and children with sleep disorders, melatonin helped people fall asleep about 7 minutes faster and sleep about 8 minutes longer. That is a small effect. It does more for body clock problems such as jet lag. Short-term use appears safe for most people, but long-term safety data are lacking. The heart study shows a link, not cause, and it could not count people who bought melatonin over the counter. Treat it as a reason to review long-term use, not as proof that melatonin harms the heart.
What the Sleep Trials Found

Melatonin helps you sleep, but only by a few minutes on average. In the US it is sold as a supplement. In the UK you can get it only on prescription.
A 2013 meta-analysis pooled 19 randomized trials of 1,683 adults and children with primary sleep disorders. A meta-analysis combines the results of many trials. Randomized means people were assigned by chance to melatonin or a placebo, which is a dummy pill. Primary sleep disorders are sleep problems not caused by another condition.
Melatonin cut the time to fall asleep by about 7 minutes. It added about 8 minutes of total sleep. Sleep quality improved slightly. Trials that used higher doses or ran longer showed bigger effects. The authors called the effects modest, and said they did not seem to fade with continued use.
A 2024 meta-analysis of 26 randomized trials looked at how results changed with dose. It covered people with insomnia (trouble falling or staying asleep) and healthy volunteers. Effects on time to fall asleep and total sleep grew with dose and peaked at 4 mg a day. Taking it further ahead of bedtime predicted falling asleep faster. The authors concluded that 4 mg taken 3 hours before the desired bedtime “might optimize” the effect, compared with the common habit of 2 mg taken 30 minutes before bed.
For you, the gain is minutes, not hours. If you lie awake for an hour each night, set your hopes to match. The 2024 timing result is a lead, not dosing advice, since the authors only said it “might” work better.
Where Melatonin Works Better: Body Clock Problems

Melatonin does more for body clock problems than for long-term insomnia, according to NCCIH, part of the US National Institutes of Health.
Delayed sleep-wake phase disorder is a body clock problem where you fall asleep and wake up much later than you want. In a 2016 review of 52 people with this condition, they fell asleep about 22 minutes sooner on melatonin than on placebo. A 2018 trial of 307 people with the same condition found they started sleeping about 34 minutes earlier.
For jet lag, reviews built on Cochrane data suggest melatonin may reduce symptoms after eastward flights (4 studies, 142 travelers) and westward flights (2 studies, 90 travelers). These are small numbers, so treat the jet lag result as limited evidence.
Why Sleep Guidelines Do Not Back It for Chronic Insomnia
The main US sleep guideline advises against melatonin for chronic (long-term) insomnia in adults. In 2017, the AASM, the main US sleep medicine group, wrote: “We suggest that clinicians not use melatonin as a treatment for sleep onset or sleep maintenance insomnia.” It rated this as weak advice, not a ban.
NCCIH notes that ACP guidelines recommend CBT-I as the first treatment for chronic insomnia. CBT-I is a structured talking therapy for insomnia.
In the EU, prescription melatonin (Circadin, 2 mg slow-release) is licensed only for short-term treatment of primary insomnia with poor sleep quality in people aged 55 or over. In three main studies of 681 patients over 55, 32% on Circadin said their sleep got clearly better after 3 weeks, compared with 19% on placebo. Put simply, about 1 in 3 improved on the drug and about 1 in 5 on the dummy pill.
What the 2025 Heart Failure Study Found
The study found a link between long-term melatonin use and heart failure, but its design cannot show that melatonin caused it.
It was an abstract (a short study summary) shown at the 2025 meeting of the AHA, a US heart group. Researchers looked back at TriNetX health records of 130,828 adults with insomnia, with an average age of 55.7. Long-term users had taken melatonin for at least 1 year. They were compared with matched non-users.
Over 5 years, 4.6% of long-term users developed heart failure, compared with 2.7% of non-users. The hazard ratio was about 1.89. A hazard ratio compares how often an event happens over time in two groups, so 1.89 means close to twice the rate. A second check gave 1.82. Hospital stays for heart failure were 19.0% in users versus 6.6% in non-users. Death from any cause was 7.8% versus 4.3%.
This was a records study. Nobody was assigned to take melatonin, so it can show a link but not cause and effect. The AHA states that meeting abstracts are not peer-reviewed, meaning outside experts have not checked them. They stay early findings until published as full papers.
The design has three big gaps.
- Melatonin users were found only through prescription records, so people who bought it over the counter were likely counted as non-users.
- Patient country was unknown, and the database mixes countries where melatonin is sold only on prescription, such as the UK, with countries where it is sold over the counter, such as the US.
- There were no data on how bad the insomnia was, or on depression, anxiety or other mental health conditions, which could be linked to both melatonin use and heart risk.
Should you ignore it? No. It raises a question that needs a better study, and it is a fair reason to talk about long-term use with your doctor.
What Trials in People With Heart Failure Show
Small trials in people who already had heart failure found no clear change in how well the heart pumped, and some symptom scores improved. These trials are small, so treat them as weak evidence.
The MeHR trial randomized 92 adults with heart failure with reduced ejection fraction, and 85 finished. Ejection fraction is the share of blood the heart pumps out with each beat. They took 10 mg of melatonin or a placebo at bedtime for 24 weeks. NT-proBNP, a blood marker the trial measured, fell more with melatonin. Quality of life and NYHA class (a standard grading of heart failure symptoms) were also better. Heart ultrasound results showed no clear difference. It was a small trial at one center.
A 2025 meta-analysis of just four studies in people with heart failure found no clear change in ejection fraction. The NYHA class result was borderline. Quality of life improved. The authors said few people and scattered data limit the evidence.
These trials do not cancel out the abstract. They studied a different group, and MeHR ran for 24 weeks, not years. They do not prove that years of nightly use is safe.
If You Take Melatonin Every Night: A Practical Safety Plan
Match melatonin to the right sleep problem, check your health and medicines first, and set a point to review it instead of taking it for years by default.
1. Match It to Your Sleep Problem
Melatonin has its best evidence for a late body clock and for jet lag (moderate confidence). For chronic insomnia, whether you struggle to fall asleep or stay asleep, the AASM guideline advises against it and ACP guidelines put CBT-I first (strong confidence).
2. Check Whether You Need a Doctor First
Speak with a qualified healthcare professional first if you take medicines or have a health condition. The NHS says melatonin may not suit people with epilepsy (a seizure condition), liver or kidney problems, or autoimmune conditions such as lupus or psoriasis. Autoimmune means the immune system attacks the body’s own tissues. It is not normally used in pregnancy or while breastfeeding. NCCIH says people with epilepsy or on blood thinners need medical oversight, and notes that AASM guidelines advise against melatonin for people with dementia. Speak with a doctor before giving melatonin to a child.
3. Check Your Medicines and Skip Alcohol
The NHS lists these medicines as ones that can interact with melatonin: warfarin, NSAIDs such as ibuprofen, fluvoxamine, carbamazepine, sedatives such as zopiclone, the combined birth control pill and HRT. It also advises avoiding alcohol, which can stop melatonin working properly and increase side effects.
4. Know the Doses Used in Research
These are amounts from studies and official labels. They are research facts, not a dose for you.
| Source | Dose and timing | Who it applied to | How confident |
|---|---|---|---|
| 2024 dose meta-analysis | Effects peaked at 4 mg a day; 3 hours before bedtime “might optimize” the effect | People with insomnia and healthy volunteers | Moderate |
| Common schedule in that review | 2 mg, 30 minutes before bed | Used as the comparison | Moderate |
| EU Circadin label | 2 mg slow-release, 1 to 2 hours before bed, after food, for up to 13 weeks | People 55 and over with primary insomnia and poor sleep quality | Strong |
| NHS oral solution | Taken 30 to 60 minutes before bed | UK prescription users | Strong |
| MeHR heart failure trial | 10 mg at bedtime for 24 weeks | Adults with heart failure with reduced ejection fraction | Weak, one small trial |
5. Do Not Trust the Supplement Label

A 2017 test of 31 melatonin products found most did not match their labels, and 26% contained serotonin, a different body chemical. A 2023 study found 22 of 25 gummies were mislabeled. Their real melatonin content ranged from 74% to 347% of the label amount. So a 3 mg gummy could hold far more or far less than 3 mg. In the US, melatonin is sold as a supplement, under looser rules than drugs.
6. Set a Trial Period, Then Review
The EU label allows Circadin for up to 13 weeks, and its main studies judged results at 3 weeks. NCCIH says short-term use appears safe for most people. Side effects are mostly mild, such as headache, dizziness, nausea and sleepiness. Long-term safety data are lacking. Agree on a review point with your doctor rather than drifting into years of nightly use.
7. Track Whether It Is Working
For one week before and one week on melatonin, write down when you went to bed and roughly when you fell asleep. The average trial gain was about 7 minutes. If you see no difference, decide whether a gain that small is worth a nightly pill.
8. If You Are an Older Adult
NCCIH says melatonin may stay active longer in older adults and leave them drowsy the next day. If you feel groggy in the morning, tell your doctor.
9. If You Worry About Your Heart
The heart failure signal comes from one early abstract that had not been peer-reviewed. If you have heart disease, or you have used melatonin for a year or more, raise it at your next appointment. Do not use melatonin as a heart treatment based on the MeHR trial, which is weak evidence.
A Quick Decision Table
| Your situation | What the evidence suggests | How confident |
|---|---|---|
| Long-term trouble falling or staying asleep | Small average gains of minutes; the AASM guideline advises against it; CBT-I comes first | Strong |
| Late body clock (delayed sleep-wake phase disorder) | Fell asleep about 22 minutes sooner in one review and 34 minutes earlier in one trial | Moderate |
| Jet lag | May reduce symptoms after eastward or westward flights | Moderate, small studies |
| Aged 55 or over with poor-quality insomnia, in the EU | Licensed 2 mg slow-release for up to 13 weeks; 32% versus 19% improved at 3 weeks | Strong |
| Using melatonin nightly for a year or more | Linked to more heart failure in one abstract; cause not shown | Preliminary |
| Already living with heart failure | Small trials found better quality of life and no clear change in ejection fraction | Weak |
| Epilepsy, blood thinners, liver or kidney problems, autoimmune conditions, pregnancy, dementia | Get medical advice first; melatonin may not suit you | Strong |
Common Mistakes
- Expecting melatonin to fix chronic insomnia, when the average gain in trials was about 7 minutes.
- Assuming a US gummy holds the amount printed on the label.
- Taking melatonin with alcohol, which the NHS says can stop it working properly.
- Reading the heart failure abstract as proof of harm, or brushing it off because it is not peer-reviewed.
Frequently Asked Questions
Does melatonin stop working if I take it every night?
The 2013 meta-analysis found the effects did not seem to fade with continued use. That is about how well it works, not about long-term safety, and NCCIH says those data are lacking.
Does melatonin cause heart failure?
Nobody has shown that. One 2025 abstract found a link in health records, but it could not prove cause and effect.
Is a higher dose better?
In the 2024 meta-analysis, the effects grew with dose and peaked at 4 mg a day. On US supplements, the real dose may differ a lot from the label.
Can I take melatonin while pregnant or breastfeeding?
The NHS says it is not normally used in pregnancy or while breastfeeding. Speak with your doctor or midwife.
Your Next Step
Before you buy your next bottle, write down two things: whether your main problem is a late body clock, jet lag or long-term insomnia, and how many months you have taken melatonin. If it is long-term insomnia, or you have used it for a year or more, take that note to your doctor. Ask about CBT-I, the first treatment ACP guidelines recommend.
Research Papers & References
- Ferracioli-Oda E, Qawasmi A, Bloch MH (2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One, 8(5), e63773. https://doi.org/10.1371/journal.pone.0063773
- Cruz-Sanabria F, Bruno S, Crippa A, et al. (2024). Optimizing the Time and Dose of Melatonin as a Sleep-Promoting Drug: A Systematic Review of Randomized Controlled Trials and Dose-Response Meta-Analysis. Journal of Pineal Research, 76(5), e12985. https://doi.org/10.1111/jpi.12985
- Sateia MJ, Buysse DJ, Krystal AD, et al. (2017). Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. Journal of Clinical Sleep Medicine, 13(2), 307-349. https://doi.org/10.5664/jcsm.6470
- European Medicines Agency (2007). Circadin (melatonin): EPAR summary for the public. European Medicines Agency. https://www.ema.europa.eu/en/medicines/human/EPAR/circadin
- NHS (n.d.). Melatonin: medicine to help you sleep. NHS.uk. https://www.nhs.uk/medicines/melatonin/
- National Center for Complementary and Integrative Health (n.d.). Melatonin: What You Need To Know. NCCIH, National Institutes of Health. https://www.nccih.nih.gov/health/melatonin-what-you-need-to-know
- Nnadi E, Masara M, Offor R, et al. (2025). Effect of long-term melatonin supplementation on incidence of heart failure in patients with insomnia (Abstract MP2306). American Heart Association Scientific Sessions 2025 (abstract; news release via EurekAlert). https://www.eurekalert.org/news-releases/1103679
- American Heart Association (2025). Long-term use of melatonin supplements to support sleep may have negative health effects (news release). American Heart Association / EurekAlert. https://www.eurekalert.org/news-releases/1103679
- Hoseini SG, Heshmat-Ghahdarijani K, Khosrawi S, et al. (2022). Melatonin supplementation improves N-terminal pro-B-type natriuretic peptide levels and quality of life in patients with heart failure with reduced ejection fraction: Results from MeHR trial, a randomized clinical trial. Clinical Cardiology, 45(4), 417-426. https://doi.org/10.1002/clc.23796
- Daliri AS, Goudarzi N, Harati A, Kabir K (2025). Melatonin as a Novel Drug to Improve Cardiac Function and Quality of Life in Heart Failure Patients: A Systematic Review and Meta-Analysis. Clinical Cardiology, 48(3), e70107. https://doi.org/10.1002/clc.70107



