Affiliate links: as an Amazon Associate and through other programs, we earn from qualifying purchases, at no extra cost to you. Learn more.
Quick answer: Enough regular sleep comes first: adults need 7 or more hours, and in one study basketball players who extended their sleep ran faster sprints and shot more accurately (CDC; Mah et al., 2011). Of the supplements, melatonin has the most trials but a modest effect, about 7 minutes faster to fall asleep, and magnesium, tart cherry, ashwagandha and glycine have only small studies (Ferracioli-Oda et al., 2013). If you are drug tested, be careful: in one analysis, 14.8% of supplements contained steroids that were not on the label (Geyer et al., 2004).
In This Article

Sleep Supplements Compared for Athletes

Few sleep supplement trials were done in athletes. Most were small studies in older adults or in people with insomnia, so read the results below as a rough guide.
| Supplement | Dose in the studies | Who was studied | Result | Main caution |
|---|---|---|---|---|
| Melatonin | 0.3 to 3 mg in a trial in adults over 50 (Zhdanova et al., 2001) | 19 trials with 1,683 people with sleep disorders | About 7 minutes faster to fall asleep and 8 minutes more sleep (Ferracioli-Oda et al., 2013) | Can cause daytime drowsiness, especially in older adults (NCCIH) |
| Magnesium | Varied by trial; keep supplements at 350 mg a day or less (NIH) | 151 older adults with insomnia (3 trials) | About 17 minutes faster to fall asleep; total sleep not significantly longer; low-quality evidence (Mah and Pitre, 2021) | Diarrhea, nausea and cramps at high doses (NIH) |
| Tart cherry juice | 240 mL twice a day for 2 weeks (Losso et al., 2018); a concentrate for 7 days (Howatson et al., 2012) | 8 adults over 50 with insomnia; 20 healthy adults | 84 minutes more sleep in the small insomnia study; more total sleep and higher melatonin in healthy adults | Tiny studies; a third trial found no change in total sleep time compared with placebo (Pigeon et al., 2010) |
| Ashwagandha | 250 to 600 mg a day of root extract for 6 to 12 weeks (NIH) | 5 trials with 400 adults, some with insomnia | Small benefit, larger with insomnia, 600 mg a day or more and 8 weeks or longer (Cheah et al., 2021) | Rare liver injury; avoid in pregnancy and with thyroid or autoimmune disease (NCCIH) |
| Glycine | 3 g before bed for 3 nights (Bannai et al., 2012) | Healthy adults whose sleep was cut by 25% | Less fatigue and better reaction time the next day | One small study, from the research labs of a food company |
If you try a supplement, add one product at a time so you can tell whether it helps, and stop if you notice no difference after a few weeks. Our magnesium guide and ashwagandha guide cover forms, doses and safety in more detail.
Get our free supplement cheat sheet.
One page: typical doses, timing and upper limits for ten well-studied supplements. No upsell.
🔒 No spam. Unsubscribe anytime. We send 1-2 emails/month max.
Sleep First: Hours, Training Times and Caffeine
Adults aged 18 to 60 need 7 or more hours of sleep a night (CDC). In a small Stanford study, 11 college basketball players aimed for at least 10 hours in bed for 5 to 7 weeks and slept about 111 minutes more per night; their sprint times fell from 16.2 to 15.5 seconds, and free throw and three-point accuracy each rose by about 9% (Mah et al., 2011).
Evening training is usually fine. A review of 23 studies found that evening exercise did not harm sleep overall, but vigorous exercise that ended 1 hour or less before bedtime might delay sleep and shorten it (Stutz et al., 2019).
Caffeine lasts longer than many people think: 400 mg taken 6 hours before bed still disrupted sleep in a controlled study (Drake et al., 2013). Check the caffeine in pre-workout drinks, and keep your total at or below about 400 mg a day, the amount the FDA cites as not generally linked to negative effects in most adults (FDA).
Sleep also matters for growth hormone. In 149 healthy men, the amount of growth hormone released was linked to the amount of deep (slow wave) sleep, whatever their age (Van Cauter et al., 2000).
Melatonin: Low Doses and Travel
In a meta-analysis of 19 trials with 1,683 people with sleep disorders, melatonin helped people fall asleep about 7 minutes faster and sleep about 8 minutes longer (Ferracioli-Oda et al., 2013). The effect is modest, and guidelines from the American Academy of Sleep Medicine and the American College of Physicians found too little strong evidence to recommend it for chronic insomnia (NCCIH).
Low doses can work. In adults over 50 with insomnia, 0.3 mg restored sleep efficiency and brought nighttime melatonin to normal levels, while 3 mg also improved sleep but kept melatonin levels high into the daytime and lowered body temperature (Zhdanova et al., 2001).
Travel is where melatonin has the best case. In a Cochrane review, melatonin taken close to the target bedtime at the destination reduced jet lag after flights across five or more time zones in 9 of 10 trials. Doses from 0.5 to 5 mg were similarly effective, although people fell asleep faster and slept better with 5 mg than with 0.5 mg, and doses above 5 mg were no more effective; taken early in the day, at the wrong time, it can cause sleepiness and slow adaptation to local time (Herxheimer and Petrie, 2002).
Drug Testing and Label Accuracy
Supplements do not need FDA approval before they are sold (NIH), and contamination is a real risk for tested athletes. When 634 supplements from 13 countries were analyzed, 94 (14.8%) contained anabolic steroids that were not on the label, and taking some of them could cause a positive doping test (Geyer et al., 2004).
The International Olympic Committee consensus statement calls the accidental intake of prohibited substances a known risk of some supplements and strongly advises expert help before an athlete starts using them (Maughan et al., 2018).
Melatonin labels are often wrong. In a 2017 study of 31 products, melatonin content ranged from 83% less to 478% more than the label, and 8 products contained serotonin (Erland and Saxena, 2017). In a 2023 test, 22 of 25 melatonin gummies were mislabeled, with 74% to 347% of the stated amount (NCCIH).
A USP, NSF or ConsumerLab seal shows that a product contains what the label lists and has no harmful levels of contaminants, but it does not guarantee that it is safe or effective (NIH). If you are drug tested, ask your team or federation which certification programs they accept.
Safety Notes
- Magnesium: keep supplements at 350 mg a day or less; higher doses can cause diarrhea, nausea and stomach cramps (NIH).
- Melatonin: short-term use appears safe for most people, and the side effects reported are usually mild, such as headache, dizziness, nausea and sleepiness. People with epilepsy or who take blood thinners need medical supervision (NCCIH).
- Ashwagandha: it may be safe for up to 3 months, and rare cases of liver injury have been reported. Avoid it in pregnancy and breastfeeding, before surgery and with autoimmune or thyroid disorders, and check with your doctor if you take medicines for diabetes, blood pressure, seizures or the thyroid, immunosuppressants or sedatives (NCCIH).
- Tart cherry and glycine: the studies were small and lasted days to weeks (Howatson et al., 2012; Bannai et al., 2012), so little is known about long-term use.
If poor sleep lasts for weeks, see a doctor. For chronic insomnia, the American College of Physicians recommends cognitive behavioral therapy for insomnia as the first treatment (Qaseem et al., 2016).
Frequently Asked Questions
Does magnesium help athletes sleep?
The trials we found were in older adults, not athletes: magnesium shortened the time to fall asleep by about 17 minutes in low-quality studies (Mah and Pitre, 2021). If you try it, keep supplements at 350 mg a day or less (NIH).
How much melatonin should an athlete take?
Start low. In adults over 50 with insomnia, 0.3 mg restored sleep efficiency without keeping melatonin high into the daytime, as 3 mg did (Zhdanova et al., 2001). For jet lag, doses from 0.5 to 5 mg all helped, and doses above 5 mg worked no better (Herxheimer and Petrie, 2002).
Does tart cherry juice help you sleep?
Maybe a little. Small studies found more sleep, including 84 minutes more in 8 older adults with insomnia (Losso et al., 2018), but another small trial found no change in total sleep time compared with placebo (Pigeon et al., 2010).
Can the caffeine in a pre-workout drink affect sleep?
Yes. In a controlled study, 400 mg of caffeine taken 6 hours before bed still disrupted sleep (Drake et al., 2013), so on days you train late, choose a caffeine-free option.
Is it safe to use ashwagandha for sleep?
It may be safe for up to 3 months, but rare liver injury has been reported, and it should be avoided in pregnancy and with autoimmune or thyroid disorders (NCCIH). Its effect on sleep in trials was small (Cheah et al., 2021).
The Bottom Line
For athletes, longer and more regular sleep is the strongest tool: extending sleep improved sprint times and shooting accuracy in a small study (Mah et al., 2011). Stop caffeine at least 6 hours before bed (Drake et al., 2013).
If you add a supplement, try one at a time: low-dose melatonin for travel or a short-term problem falling asleep, or magnesium within 350 mg a day (NIH). If you are drug tested, check with your team before you buy anything.
Start with the basics: the same wake time every day and no caffeine in the 6 hours before bed. Of the supplements, melatonin has the most trials: in a meta-analysis of 19 trials it helped people fall asleep about 7 minutes faster and sleep about 8 minutes longer. Magnesium and L-theanine have only small trials. Skip expensive blends, and see a doctor if poor sleep lasts more than a few weeks.
Scientific References
- Mah et al., 2011. The effects of sleep extension on the athletic performance of collegiate basketball players. Sleep.
- Ferracioli-Oda et al., 2013. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One.
- Geyer et al., 2004. Analysis of non-hormonal nutritional supplements for anabolic-androgenic steroids – results of an international study. Int J Sports Med.
- Zhdanova et al., 2001. Melatonin treatment for age-related insomnia. J Clin Endocrinol Metab.
- Mah and Pitre, 2021. Oral magnesium supplementation for insomnia in older adults: a Systematic Review & Meta-Analysis. BMC Complement Med Ther.
- Losso et al., 2018. Pilot Study of the Tart Cherry Juice for the Treatment of Insomnia and Investigation of Mechanisms. Am J Ther.
- Howatson et al., 2012. Effect of tart cherry juice (Prunus cerasus) on melatonin levels and enhanced sleep quality. Eur J Nutr.
- Pigeon et al., 2010. Effects of a tart cherry juice beverage on the sleep of older adults with insomnia: a pilot study. J Med Food.
- Cheah et al., 2021. Effect of Ashwagandha (Withania somnifera) extract on sleep: A systematic review and meta-analysis. PLoS One.
- Bannai et al., 2012. The effects of glycine on subjective daytime performance in partially sleep-restricted healthy volunteers. Front Neurol.
- Stutz et al., 2019. Effects of Evening Exercise on Sleep in Healthy Participants: A Systematic Review and Meta-Analysis. Sports Med.
- Drake et al., 2013. Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. J Clin Sleep Med.
- Van Cauter et al., 2000. Age-related changes in slow wave sleep and REM sleep and relationship with growth hormone and cortisol levels in healthy men. JAMA.
- Herxheimer and Petrie, 2002. Melatonin for the prevention and treatment of jet lag. Cochrane Database Syst Rev.
- Maughan et al., 2018. IOC consensus statement: dietary supplements and the high-performance athlete. Br J Sports Med.
- Erland and Saxena, 2017. Melatonin Natural Health Products and Supplements: Presence of Serotonin and Significant Variability of Melatonin Content. J Clin Sleep Med.
- Qaseem et al., 2016. Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Ann Intern Med.
- Centers for Disease Control and Prevention (CDC): About Sleep.
- National Center for Complementary and Integrative Health (NCCIH): Melatonin: What You Need To Know (updated May 2024).
- NIH Office of Dietary Supplements: Magnesium, Fact Sheet for Health Professionals (updated January 6, 2026).
- NIH Office of Dietary Supplements: Ashwagandha, Fact Sheet for Health Professionals (updated May 2, 2025).
- National Center for Complementary and Integrative Health (NCCIH): Ashwagandha (updated March 2023).
- U.S. Food and Drug Administration: Spilling the Beans: How Much Caffeine is Too Much? (updated August 28, 2024).
- NIH Office of Dietary Supplements: Dietary Supplements: What You Need to Know (updated January 4, 2023).
Level up your recovery
Cold plunges, saunas and red light are popular recovery tools. Our buying guides compare the options:




