A dim bedroom in the evening with a warm lamp, a glass of water and a notebook on the bedside table

How to Get Better Sleep Tonight: What the Evidence Supports

By Peter Benson, Cognitive Enhancement Researcher  ·  Updated October 2026  ·  Citations re-verified

Short answer: To get better sleep tonight, start with the free changes: no alcohol close to bed, caffeine only earlier in the day, dim lights in the evening, a cool dark bedroom, and a warm shower an hour or two before bed. Supplements such as magnesium may help some people modestly, on inconsistent evidence. If poor sleep has lasted months, CBT for insomnia is the treatment with the best evidence.

⚕️ Educational information, not medical advice — full disclaimer. Chronic insomnia, loud snoring or gasping at night, and restless legs need proper assessment. This page contains two affiliate links, in the optional supplements section.

Quick Summary
AlcoholIt helps you fall asleep but disrupts the second half of the night (Ebrahim et al., 2013). Skip it, or keep it well before bed.
CaffeineIn one study, 400mg taken six hours before bed cut sleep by more than an hour (Drake et al., 2013). Sensitivity varies.
LightOrdinary room light in the evening delayed and shortened the melatonin signal in a lab study (Gooley et al., 2011). Dim the lights.
Warm shower or bathOne to two hours before bed may help you fall asleep sooner; results varied across studies (Haghayegh et al., 2019).
SupplementsMagnesium has a small, inconsistent effect (Lopresti et al., 2026). Optional, and last.

A bad night makes the next day harder: attention, mood and working memory all suffer. The changes most likely to help tonight are free and behavioural, and supplements are a small extra at best.

This guide covers what to change this evening, what the evidence says about each step, and my own routine. If falling asleep is your main problem, see how to fall asleep faster; for supplements, the best supplements for sleep; for the science of sleep stages, sleep architecture and the Sleep & Recovery hub.

What to change tonight for better sleep

Alcohol. A review of the research found that alcohol shortens the time to fall asleep and deepens the first half of the night, but disrupts the second half, and at higher doses suppresses REM sleep early in the night (Ebrahim et al., 2013). A nightcap trades a quicker start for a worse finish.

Caffeine. Caffeine blocks adenosine, the chemical that builds sleepiness. In a controlled study, 400mg taken at bedtime, three hours before or six hours before all disrupted sleep; even at six hours, total sleep fell by more than an hour (Drake et al., 2013). That was a large dose, and sensitivity varies, but an early-afternoon cut-off is a sensible default. See caffeine and cognitive performance.

Light. In a lab study of 116 healthy young adults, ordinary room light in the evening suppressed melatonin and shortened the time it was present by about 90 minutes compared with dim light (Gooley et al., 2011). Dim the lights in the last hour or two and keep screens low and warm. See circadian rhythm optimisation.

A warm shower or bath one to two hours before bed. A systematic review found that warm bathing or showering (about 40–42.5°C) one to two hours before bed may improve how quickly people fall asleep and how well they rate their sleep, probably because the body cools afterwards (Haghayegh et al., 2019). The studies varied in temperature, timing and participants, so neither a precise improvement nor one ideal interval can be promised.

A cool, dark, quiet bedroom. Core temperature falls as you fall asleep, and a hot room makes sleep lighter and more broken. Around 18°C is a common guide, but no ideal number has been established; aim for cool and comfortable, with bedding for warmth.

A five-minute to-do list. In a sleep-lab study of 57 healthy young adults, writing a specific list of upcoming tasks helped people fall asleep faster on average than writing about completed tasks (Scullin et al., 2018). One small study, but free.

Ways to get better sleep tonight, ranked by evidence

🟢 Stronger or replicated evidence  ·  🟡 Limited, mixed or preliminary evidence  ·  🔴 Counterproductive or not supported

ChangeEvidenceBasis
Avoid alcohol near bed🟢 Well supportedDisrupts the second half of the night (Ebrahim 2013).
Caffeine early in the day🟢 Well supported400mg six hours before bed cut sleep by over an hour (Drake 2013); varies with dose and sensitivity.
Dim light in the evening🟢 Well supportedRoom light suppressed melatonin (Gooley 2011).
Warm shower or bath 1–2 hours before🟡 Meta-analysisFaster sleep onset on average; results varied (Haghayegh 2019).
Cool bedroom🟡 PhysiologySupports the fall in core temperature; no ideal number established.
Five-minute to-do list🟡 One small studyFaster sleep onset in 57 young adults (Scullin 2018).
Magnesium glycinate🟡 Small, inconsistentd = 0.2 (Schuster 2025); low certainty overall (Lopresti 2026).
Glycine 3g🟡 Very small study11 people (Yamadera 2007).
Melatonin🟡 ModestAbout 7 minutes faster on average (Ferracioli-Oda 2013); clearest for timing problems.
A nightcap🔴 CounterproductiveEasier start, worse second half.

Supplements: a small, optional extra

Magnesium. A 2025 trial of 155 healthy adults with poor sleep found 250mg of magnesium as bisglycinate improved self-rated insomnia slightly more than placebo over four weeks (Cohen’s d = 0.2, p = 0.049). An older trial in 46 older adults with insomnia, using 500mg of magnesium oxide (above today’s supplement limit), reported benefits including lower cortisol (Abbasi et al., 2012). A 2026 review of 12 trials found the results inconsistent, with low to very low certainty, and did not support magnesium as a routine insomnia treatment (Lopresti et al., 2026). See magnesium glycinate for sleep.

Glycine and L-theanine. Glycine at 3g shortened lab-measured time to fall asleep in a single-blind study of only 11 people (Yamadera et al., 2007); L-theanine has one small trial on self-rated sleep. Both are inexpensive, low-risk experiments, not treatments.

Melatonin. On average it helped people fall asleep about 7 minutes faster and sleep about 8 minutes longer (Ferracioli-Oda et al., 2013). It is most useful for jet lag or a late body clock, where timing matters; taken at the wrong time it can shift your clock the wrong way.

Worked example — tonight, if you usually wake at 3am

Early evening. No drink with dinner tonight. If you had coffee after early afternoon, note it and move tomorrow’s cut-off earlier.

Two hours before bed. Lights down. Bedroom cool and dark.

Ninety minutes before. A warm 10-minute shower, so you have time to cool down.

Five minutes before. Write tomorrow’s specific to-do list. If you wake at 3am and can’t settle, get up for a while in dim light and come back when sleepy. If 3am waking happens most nights for months, see a doctor: it can be insomnia, sleep apnoea, low mood or a medicine side effect.

The NeuroEdge Formula Sleep-Tonight Self-Testing Framework

An evening order built from the steps with the most evidence. Not a prescription.

1. During the day

Caffeine early. Alcohol limited, and not close to bed. Daylight in the morning.

2. Ninety minutes before bed

Lights dim, bedroom cool and dark, warm shower if you like.

3. Five minutes before bed

Write tomorrow’s specific to-do list. Supplements, if any, one at a time.

4. Judge over two weeks

Keep a simple diary of how you slept and felt. Nights vary, so look at the pattern, not one night.

Peter’s Testing Notes

A personal impression, not tracked data

My evenings. A cool bedroom, lights dimmed from mid-evening, and a warm shower an hour or two before bed. I’ve cut back on alcohol, and I sleep better for it. The to-do list is the habit that surprised me most; I’d dismissed the Scullin study as too simple until I tried it.

Supplements. I take magnesium glycinate in the evening, and what I notice is a gentler wind-down rather than anything dramatic. I can’t separate it from the habits above, and I knew what I was taking.

I have never tracked my sleep with a device. An earlier version of this page described years of Oura Ring data and higher deep-sleep readings; that was not accurate and has been removed.

If you add magnesium

Look for glycinate or bisglycinate with the elemental magnesium stated on the label and third-party testing.

Nootropics Depot Magnesium Glycinate — bisglycinate

Elemental magnesium clearly labelled, with a certificate of analysis. It is what I take.

Performance Lab Sleep — combination formula

Magnesium with tart cherry and other ingredients. I use it on travel weeks. No trial has tested this formula.

These are affiliate links. If you buy through them, NeuroEdge Formula may earn a commission at no extra cost to you.

Before you supplement

Keep magnesium from supplements and medicines within 350mg a day, a general adult upper limit rather than a target or an individual prescription, not counting food (NIH ODS). With kidney disease, take it only with your doctor’s advice. Magnesium reduces absorption of some antibiotics and bisphosphonates; follow the label or a pharmacist on spacing. Persistent insomnia, loud snoring or gasping, restless legs, or sleep problems that began with a new medicine need assessment rather than more supplements; CBT for insomnia is the first-line treatment for chronic insomnia (Edinger et al., 2021). A 2026 guideline also suggests CBT-I plus medication over medication alone, but suggests against routinely adding medication to CBT-I, on low-certainty evidence (Buysse et al., 2026).

Key takeaways

→The biggest changes tonight are free: no alcohol near bed, caffeine early, dim lights.
→A warm shower one to two hours before bed and a cool, dark room help you settle.
→A five-minute to-do list is a free extra with one small study behind it.
→Supplements may help some people modestly, but the evidence is inconsistent and they don’t replace insomnia treatment.
→If poor sleep has lasted months, get assessed; CBT for insomnia beats any supplement.

Frequently asked questions

What’s the single best thing to do tonight?

If you’d normally have a drink in the evening, skip it. After that, dim the lights for the last hour or two and keep the bedroom cool and dark.

Why do I wake at 3am and can’t get back to sleep?

Common causes include alcohol wearing off, late caffeine, stress and an irregular schedule. If it happens most nights for months, see a doctor; it can be insomnia, sleep apnoea, low mood or a medicine side effect.

Does melatonin improve sleep quality?

Modestly at best. On average it helps people fall asleep a few minutes faster and sleep a few minutes longer. It is most useful for jet lag or a late body clock.

How long does magnesium take to help?

The 2025 trial ran four weeks, and most of the change came early. That is a reference, not a guarantee; many people notice nothing.

What bedroom temperature is best?

Cool and comfortable. Around 18°C is a common guide, but no ideal number has been proven; use bedding for warmth.

🧠

Get “7 Days to a Sharper Brain” — Free

Peter Benson’s evidence-first starting framework

The habits with the strongest evidence first — sleep, movement, stress and learning — then how to add a single supplement and test whether it actually works for you.

No spam. Unsubscribe anytime.

⚕️ Educational Information, Not Medical Advice

This article is educational and is not medical advice. I’m a cognitive enhancement researcher, not a medical doctor. Sleep supplements can interact with medicines, and magnesium can build up in people with kidney disease. Consult a qualified healthcare provider before use, particularly if you take prescription medicines or are pregnant or breastfeeding.

Scientific references

1. Ebrahim, I. O., Shapiro, C. M., Williams, A. J., & Fenwick, P. B. (2013). Alcohol and sleep I: effects on normal sleep. Alcoholism: Clinical and Experimental Research, 37(4), 539–549. DOI: 10.1111/acer.12006

2. Drake, C., Roehrs, T., Shambroom, J., & Roth, T. (2013). Caffeine effects on sleep taken 0, 3, or 6 hours before going to bed. Journal of Clinical Sleep Medicine, 9(11), 1195–1200. DOI: 10.5664/jcsm.3170

3. Gooley, J. J., Chamberlain, K., Smith, K. A., et al. (2011). Exposure to room light before bedtime suppresses melatonin onset and shortens melatonin duration in humans. Journal of Clinical Endocrinology & Metabolism, 96(3), E463–E472. PMC3047226

4. Haghayegh, S., Khoshnevis, S., Smolensky, M. H., Diller, K. R., & Castriotta, R. J. (2019). Before-bedtime passive body heating by warm shower or bath to improve sleep: a systematic review and meta-analysis. Sleep Medicine Reviews, 46, 124–135. DOI: 10.1016/j.smrv.2019.04.008

5. Scullin, M. K., Krueger, M. L., Ballard, H. K., Pruett, N., & Bliwise, D. L. (2018). The effects of bedtime writing on difficulty falling asleep: a polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General, 147(1), 139–146. PMID: 29058942

6. Schuster, J., Cycelskij, I., Lopresti, A., & Hahn, A. (2025). Magnesium bisglycinate supplementation in healthy adults reporting poor sleep: a randomized, placebo-controlled trial. Nature and Science of Sleep, 17, 2027–2040. Link

7. Abbasi, B., Kimiagar, M., Sadeghniiat, K., et al. (2012). The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. Journal of Research in Medical Sciences, 17(12), 1161–1169. PMC3703169

8. Lopresti, A. L., Smith, S. J., & Drummond, P. D. (2026). Magnesium supplementation for sleep in adults: a systematic review of randomized controlled trials. Journal of Dietary Supplements, 23(5), 553–581. DOI: 10.1080/19390211.2026.2719670

9. Yamadera, W., Inagawa, K., Chiba, S., et al. (2007). Glycine ingestion improves subjective sleep quality in human volunteers, correlating with polysomnographic changes. Sleep and Biological Rhythms, 5(2), 126–131. DOI: 10.1111/j.1479-8425.2007.00262.x

10. Ferracioli-Oda, E., Qawasmi, A., & Bloch, M. H. (2013). Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS ONE, 8(5), e63773. DOI: 10.1371/journal.pone.0063773

11. Edinger, J. D., Arnedt, J. T., Bertisch, S. M., et al. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 17(2), 255–262. DOI: 10.5664/jcsm.8986

12. Buysse, D. J., Arnedt, J. T., Buenaver, L., et al. (2026). Combination treatment for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 22(1), 56. DOI: 10.1007/s44470-025-00038-8

13. National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov

Peter Benson

Cognitive Enhancement Researcher | 18+ Years Independent Research

Peter is not a clinician; this guide is educational, not medical advice. It was rewritten in October 2026 to add the alcohol, caffeine and evening-light evidence, re-rank magnesium, and remove a sleep-tracking claim that was not accurate. Read about how NeuroEdge Formula evaluates research.

Last reviewed: October 2026  |  Educational content only. Not medical advice.

Similar Posts