Wired, Tired, and Still Awake? What Actually Helps Stress and Sleep

What the evidence actually says about melatonin, magnesium, L-theanine, and glycine

Stress can make sleep feel impossible. A poor night of sleep can then make the next day’s stress feel louder, harder to regulate, and more physically draining. That feedback loop is real, but it does not mean the answer is always a stronger sleep aid.

Four nonprescription options come up often in conversations about stress and sleep: melatonin, magnesium, L-theanine, and glycine. Each has a plausible role. None is a cure-all, and the evidence varies considerably.

The short version: Melatonin is most useful when the problem involves body-clock timing, such as jet lag or a delayed sleep schedule. Magnesium may help when intake or magnesium status is low, but evidence for insomnia is limited, and magnesium glycinate has not been shown to be superior for sleep. L-theanine may take the edge off acute stress and modestly improve subjective sleep, while glycine has a few encouraging but very small studies. For chronic insomnia, cognitive behavioral therapy for insomnia (CBT-I) remains the evidence-based first-line treatment.

Why Stress and Sleep Feed Each Other

Sleep requires a transition from alertness to relative safety and physiologic quiet. Stress pushes in the opposite direction: the mind rehearses problems, the body remains activated, and sleep can begin to feel like another task to accomplish.

After several difficult nights, a second layer often appears. People begin monitoring the clock, worrying about how they will function the next day, going to bed earlier to “catch up,” or spending more time awake in bed. Those understandable responses can unintentionally reinforce insomnia.

That is why the most useful first question isn't simply:

“What supplement should I take?” It is: What is keeping me awake?

  • Is your sleep schedule shifted later than the schedule your life requires?

  • Are you sleepy, but mentally or physically keyed up?

  • Are caffeine, nicotine, alcohol, stimulants, pain, hot flashes, or another medication affecting sleep?

  • Do you snore, gasp, wake up with headaches, or feel excessively sleepy during the day?

  • Do you experience an uncomfortable urge to move your legs at night?

  • Has poor sleep become persistent even after the original stressor improved?

The answer matters because circadian misalignment, occasional stress-related sleeplessness, sleep apnea, restless legs syndrome, and chronic insomnia are different problems, and they do not respond to the same treatment.

The Foundation for Chronic Insomnia

Healthy sleep habits are worthwhile. A consistent wake time, morning light, regular movement, a dark and cool bedroom, and thoughtful timing of caffeine, nicotine, and alcohol all support sleep. But “sleep hygiene” alone is usually not an adequate treatment for chronic insomnia.

The 2025 VA/DoD clinical practice guideline strongly recommends CBT-I and recommends it over medication as first-line treatment. CBT-I is more than a bedtime routine. It uses specific strategies, including stimulus control, carefully managed sleep scheduling, and work on unhelpful sleep-related thoughts, to retrain the brain’s relationship with sleep.

If sleep difficulty occurs at least three nights per week, lasts three months or longer, and affects daytime function, it deserves a clinical evaluation rather than an endless rotation of supplements.

Four Popular Options at a Glance

Melatonin

Best fit: Body-clock timing, jet lag, or occasional difficulty falling asleep.

What the evidence suggests: Melatonin has the strongest evidence of these options for circadian problems. Its benefits for chronic insomnia are generally small and inconsistent.

Doses studied in adults: Commonly 0.5–5 mg. The best timing depends on whether the goal is to promote sleepiness or shift the body clock.

Magnesium

Best fit: People with low magnesium intake or suboptimal magnesium status.

What the evidence suggests: Limited, low-quality evidence suggests a possible improvement in sleep onset. Stress findings are most encouraging in people with low magnesium status.

Doses studied in adults: Approximately 300 mg per day of elemental magnesium in one stress trial. Sleep studies have used varying forms and doses.

L-Theanine

Best fit: Situational stress or a “wired but tired” feeling.

What the evidence suggests: L-theanine may produce a small acute calming effect and modest improvements in subjective sleep. It is not an established treatment for an anxiety disorder or clinical insomnia.

Doses studied in adults: Approximately 200 mg for acute use and 200–450 mg per day in sleep studies.

Glycine

Best fit: Mild, occasional difficulty sleeping.

What the evidence suggests: A few small studies suggest improvements in subjective sleep and next-day functioning, but independent replication remains limited.

Dose studied in adults: Most small sleep studies used 3 grams shortly before bed.

Want a structured place to start?
Explore the Taylored Medical Stress & Sleep Collection for the options discussed above and step-by-step care instructions. The collection is not a recommendation that everyone take every supplement. Start with one approach, assess your response, and add another only when appropriate.

Button: Explore the Stress & Sleep Collection 

These are research ranges, not personalized dosing instructions. A studied dose is not automatically the right—or safe—dose for every person.

Melatonin and Sleep Timing

Melatonin is a hormone that helps signal biological night. It is better understood as a clock-setting signal than as a conventional sedative.

For general sleep complaints, its average effects are real but modest. A meta-analysis of 19 randomized trials found that melatonin shortened the time needed to fall asleep by about seven minutes, increased total sleep by about eight minutes, and produced a small improvement in sleep quality. A 2023 analysis focused on insomnia likewise found improvements of only several minutes in sleep onset and a small increase in sleep efficiency.

Melatonin becomes more compelling when sleep is occurring at the wrong biological time—for example, with jet lag or a delayed sleep-wake phase. In that setting, timing may matter as much as dose. A 2024 dose-and-timing meta-analysis estimated the greatest sleep-onset effect with about 2–4 mg taken about three hours before the desired bedtime. That is a study-level estimate, not a universal prescription: the best timing changes depending on whether the goal is to feel sleepy, shift the body clock, or address another problem. Starting with a lower dose is often reasonable because more is not necessarily better.

Melatonin is not well established as a treatment for everyday stress or an anxiety disorder. Its clearest anxiety data come from the unusual setting of surgery, where a Cochrane review found reduced preoperative anxiety. That should not be generalized to chronic psychological stress.

Safety: Short-term use is generally well tolerated, but headache, dizziness, nausea, vivid dreams, and next-day sleepiness can occur. Long-term safety data are limited. Product quality also varies: the National Center for Complementary and Integrative Health notes that some tested products contained substantially different amounts than their labels claimed. Extra caution is appropriate during pregnancy or breastfeeding, in children, and for people with epilepsy or those taking anticoagulants.

Taylored Medical take: Melatonin makes the most sense when the target is sleep timing. It is less convincing as a nightly, indefinite solution for chronic insomnia, and it is not a general anti-stress supplement.

Magnesium and Sleep

Magnesium is essential for normal nerve, muscle, and metabolic function. Many people do not meet recommended intake from food, which makes magnesium an intuitively appealing sleep supplement. The clinical evidence, however, is not as strong as the marketing.

A systematic review and meta-analysis of three small trials involving 158 older adults found that magnesium reduced sleep-onset time by about 17 minutes compared with placebo. Total sleep time increased by about 16 minutes, but that result was not statistically significant. The reviewers rated the evidence low to very low quality because the studies were small and had meaningful risk of bias. The 2025 VA/DoD guideline therefore concluded that there is not enough evidence to recommend either for or against magnesium for chronic insomnia.

There is also an important formulation caveat: the insomnia trials primarily studied magnesium oxide or citrate—not magnesium glycinate. Glycinate is often chosen because it may be gentler on the gastrointestinal tract, but no strong human head-to-head evidence shows that glycinate works better for stress or sleep.

For stress, the most relevant trial studied adults with stress and low magnesium levels. Approximately 300 mg/day of elemental magnesium, with or without vitamin B6, improved anxiety and depression scores over eight weeks, with much of the improvement occurring in the first four weeks. This finding is encouraging but should not be stretched into a claim that magnesium treats an anxiety disorder, particularly in someone whose magnesium status is already adequate.

Safety: Check the elemental magnesium amount on the Supplement Facts panel; it is not the same as the total weight of the magnesium compound. The NIH Office of Dietary Supplements lists 350 mg/day as the adult upper limit for magnesium from supplements and medications without clinician supervision. Higher supplemental doses commonly cause diarrhea, nausea, or cramping. Kidney impairment can allow magnesium to accumulate to dangerous levels, and magnesium can interfere with the absorption of some medications.

Food is a low-risk place to start. Pumpkin seeds, chia seeds, almonds, cashews, beans, whole grains, and leafy greens all contribute meaningful magnesium.

Taylored Medical take: Magnesium is reasonable to consider when diet, health history, or medication use makes low magnesium more likely. It is not a proven standalone treatment for chronic insomnia, and “glycinate” should not be mistaken for “clinically superior.”

L-Theanine for Stress and Sleep

L-theanine is an amino acid naturally found in tea. It appears to promote relaxation without acting like a strong sedative, which may explain why some people describe feeling calmer rather than drowsy.

The newest and largest synthesis, a 2026 meta-analysis of 31 randomized trials, found that a single 200 mg dose produced a small reduction in acute, self-reported stress in healthy adults. The authors cautioned that the result was heavily influenced by high-risk-of-bias studies. The same review found no convincing benefit for fatigue, and the anxiety findings were inconsistent.

The distinction between everyday stress and a diagnosed anxiety disorder matters. In a randomized trial of people with generalized anxiety disorder, 450–900 mg/day added to antidepressant treatment did not outperform placebo for anxiety or insomnia severity, although participants reported greater sleep satisfaction on one measure. Taking more did not turn L-theanine into an effective anxiety treatment.

For sleep, a 2025 meta-analysis of 19 trials involving 897 participants found small improvements in subjective sleep onset, daytime dysfunction, and overall sleep quality. Few studies used pure L-theanine, however, so it is difficult to know how much of the benefit came from L-theanine itself rather than other ingredients.

Safety: L-theanine has been well tolerated in clinical studies, with no serious safety signal in the 2026 meta-analysis. Purified L-theanine also differs from concentrated green tea extract, which has its own safety considerations, including rare reports of liver injury.

Taylored Medical take: L-theanine may be a reasonable, low-risk option for occasional stress-related difficulty winding down. Expect a subtle effect, not sedation, and do not use it in place of treatment for persistent anxiety or insomnia.

Glycine and Sleep

Glycine is an amino acid involved in both inhibitory and excitatory signaling in the nervous system. The sleep hypothesis is interesting: glycine may support the normal drop in core body temperature that accompanies sleep onset rather than simply sedating the brain.

Small studies—many from the same research group—have found that 3 g taken before bed improved subjective sleep quality in people with insomnia-like complaints. In partially sleep-restricted healthy volunteers, the same dose reduced next-day fatigue and improved performance on a vigilance task. These results are promising, but no large, independently replicated clinical trial or robust glycine-specific meta-analysis exists.

Claims about glycine as an “anti-stress” supplement go beyond the human data. Its anxiety and stress evidence is primarily mechanistic or from animal models; clinical trials have not established oral glycine as a treatment for stress or anxiety.

Safety: A 3 g bedtime dose was generally well tolerated in the small studies, but evidence is limited in pregnancy, children, and people with significant kidney or liver disease. Glycine also warrants clinician review for anyone taking clozapine.

Taylored Medical take: Glycine is a plausible option for an otherwise healthy adult who understands that the evidence is preliminary. View it as an experiment at the margins—not a proven therapy.

Choosing an Option

Rather than asking which supplement is “best,” match the option to the problem:

  • Your body clock is shifted, or you are managing jet lag: Melatonin has the clearest rationale, but correct timing is essential.

  • You feel tense or mentally activated after an unusually stressful day: L-theanine may offer a modest, short-lived calming effect.

  • Your diet is low in magnesium, or your health history increases the likelihood of low magnesium: Addressing magnesium intake may be worthwhile, ideally with clinician input.

  • You have mild, occasional sleep difficulty and want to try a low-risk option with early evidence: Glycine may be reasonable, with appropriately modest expectations.

  • Your sleep problem is frequent, persistent, or impairing daytime function: Skip the supplement roulette. Look for the cause and consider CBT-I.

No strong evidence shows that stacking all four works better. Combining multiple products also makes it harder to identify what helped—or what caused side effects.

Using Supplements Safely

  1. Change one variable at a time. Don't start a multi-ingredient “sleep stack” and assume every ingredient is helping.

  2.  Define the target. Track sleep-onset time, nighttime awakenings, wake time, and next-day function rather than relying on a vague sense that sleep was “better.”

  3. Use the lowest reasonable amount. Higher doses do not necessarily produce greater benefit and often increase side effects.

  4. Choose a third-party-tested product. Certification cannot prove that a supplement works, but it can improve confidence that the bottle contains what the label claims.

  5. Review medications and health conditions first. This is especially important during pregnancy or breastfeeding; for children; and with kidney disease, liver disease, epilepsy, blood-thinning medication, or psychiatric medication.

  6. Do not use supplements to mask warning signs. Loud snoring, gasping, witnessed pauses in breathing, severe daytime sleepiness, restless legs symptoms, escalating anxiety or depression, and reliance on alcohol to sleep all deserve evaluation.

Make your sleep environment work for you
Supplements are only one piece of better sleep. A darker, quieter bedroom and consistent feedback on your habits can also help. Browse Dr. Taylor’s favorite sleep and stress products, including earplugs, a sleep mask, and sleep-tracking tools.

Consumer sleep trackers can help identify patterns, but they cannot diagnose insomnia, sleep apnea, or another sleep disorder.

Button: See My Favorite Sleep Tools

The Bottom Line

Supplements can be useful, but they're usually supportive.

Melatonin is primarily a body-clock tool. Magnesium may help when magnesium intake or status is low, although the sleep evidence is limited. L-theanine may gently reduce acute stress and improve subjective sleep for some people. Glycine is interesting but remains the least established of the four.

The most effective plan starts with identifying the real obstacle to sleep. At Taylored Medical, that means looking at the full picture, stress, schedule, medications, nutrition, symptoms, and health history, before deciding whether a supplement belongs in the plan.

Disclosure: Taylored Medical may earn a commission from purchases made through some links, at no additional cost to you. Recommendations are based on clinical relevance and personal experience, not commission. This article is for educational purposes and is not a substitute for individualized medical advice, diagnosis, or treatment.

Selected References

1.  Department of Veterans Affairs & Department of Defense. Clinical Practice Guideline for the Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea. 2025.

2.  Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-Analysis: Melatonin for the Treatment of Primary Sleep Disorders. PLOS One. 2013.

3.  Maruani J, et al. Efficacy of Melatonin and Ramelteon for the Acute and Long-Term Management of Insomnia Disorder in Adults. Journal of Sleep Research. 2023.

4.  Cruz-Sanabria F, et al. Optimizing the Time and Dose of Melatonin as a Sleep-Promoting Drug. Journal of Pineal Research. 2024.

5.  Mah J, Pitre T. Oral Magnesium Supplementation for Insomnia in Older Adults. BMC Complementary Medicine and Therapies. 2021.

6.  Noah L, et al. Effect of Magnesium and Vitamin B6 Supplementation on Mental Health and Quality of Life in Stressed Healthy Adults. Stress and Health. 2021.

7.  Gerolymos C, et al. Cognitive and Affective Effects of L-Theanine: A Systematic Review and Meta-Analysis of 31 Randomized Trials. Molecular Psychiatry. 2026.

8.  Bulman A, et al. The Effects of L-Theanine Consumption on Sleep Outcomes. Sleep Medicine Reviews. 2025.

9.  Sarris J, et al. L-Theanine in the Adjunctive Treatment of Generalized Anxiety Disorder. Journal of Psychiatric Research. 2019.

10.  Bannai M, Kawai N. Glycine Improves the Quality of Sleep. Journal of Pharmacological Sciences. 2012.

11.  NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.

12.  National Center for Complementary and Integrative Health. Melatonin: What You Need To Know.


Next
Next

Magnesium: Which Type Should You Take?