Sleep and Cognitive Performance: The Neuroscience of What Sleep Deprivation Does to Your Brain
By Peter Benson, Cognitive Enhancement Researcher · Updated October 2026 · Citations re-verified
Short answer: Sleep loss slows attention and reaction time first, and working memory to a lesser degree. Simple reasoning is largely spared. In one trial, two weeks at six hours or less a night impaired performance as much as up to two nights without sleep, while people barely felt sleepier. Adults need seven or more hours, and caffeine only partly compensates.
⚕️ Educational information, not medical advice — full disclaimer. This page contains one affiliate link, in the magnesium section.
The effect of sleep on thinking is one of the better-measured relationships in cognitive science. It is also easy to overstate. Sleep loss does not flatten every mental ability equally, most of the famous studies are small, and some of the best-known numbers describe a full night without sleep, not an ordinary bad night.
This article sets out what the studies measured, which abilities are affected most, and what is known about recovery, extra sleep and caffeine. For practical steps, see the Sleep & Recovery guide and how to fall asleep faster.
How lack of sleep affects cognitive performance: the key studies
A long day awake
Williamson & Feyer (2000): 17 hours awake compared with alcohol
Thirty-nine people, 30 from the transport industry and nine from the army, were tested across 28 hours without sleep and, separately, after measured doses of alcohol. After 17–19 hours awake, performance on some tests was equivalent to or worse than at a blood-alcohol concentration of 0.05%. Response speeds were up to 50% slower on some tests. After longer periods awake, performance reached the level seen at 0.1%, the highest alcohol dose given.
In practice: someone who got up at 6am is, by midnight, performing on some tasks like a person at or over the drink-drive limit used in many countries. The comparison held for some tests, not all of them.
Williamson & Feyer. Occupational and Environmental Medicine. 2000;57(10):649–655
Chronic short sleep
Van Dongen et al. (2003): six hours a night for two weeks
Forty-eight healthy adults aged 21 to 38 were assigned to 4, 6 or 8 hours in bed for 14 nights, or to three nights with no sleep. Restricting sleep to 6 hours or less produced cognitive deficits equivalent to up to two nights of total sleep deprivation, and the deficits kept growing across the two weeks.
Sleepiness ratings did not follow. They rose at first, showed only small further increases on later days, and did not separate the 6-hour group from the 4-hour group. Performance was getting worse while people’s sense of being sleepy had nearly stopped changing.
In practice: feeling fine on six hours is weak evidence that you are fine. This was a laboratory study of young adults over two weeks, so it does not show what years of six-hour nights do.
Emotional reactivity
Yoo et al. (2007): a night without sleep and the amygdala
Twenty-six adults viewed a series of images running from neutral to increasingly unpleasant while in an fMRI scanner. Fourteen had been kept awake for about 35 hours; twelve had slept normally. The sleep-deprived group showed about 60% greater amygdala activation in response to the unpleasant images and a three-fold increase in the volume of amygdala activated. Connectivity between the amygdala and the medial prefrontal cortex was weaker than in those who had slept.
In practice: this is one small imaging study of a full night without sleep. It measured brain responses to pictures, not decisions or behaviour, and it does not tell us what one short night does. For how sleep supports memory, see sleep and memory consolidation.
Which cognitive abilities does sleep loss affect most?
Three meta-analyses cover three different kinds of sleep loss. Lim and Dinges (2010) pooled 70 studies and 1,533 participants kept awake for 24 to 48 hours. Lowe and colleagues (2017) pooled 61 studies of restricted sleep. Wüst and colleagues (2024) pooled 44 studies and 1,087 participants given a single short night, averaging just over four hours against just over eight for controls.
🔴 Clear impairment · 🟡 Smaller impairment · 🟢 No significant effect found · — Not reported
The three reviews group tests differently, so rows are matched as closely as their categories allow.
Two things stand out. Attention is affected in every kind of sleep loss, and it is the only ability that a single short night clearly impaired. The authors of the 2024 review caution that their analysis lacked statistical power for the other abilities, so “no significant difference” there means not shown, not ruled out.
The second point is easy to miss. Reasoning on well-learned material held up even after a night or two with no sleep. A sleep-deprived person can often still think a problem through; what goes first is the ability to stay on the task without lapses. That is why sleep loss is most dangerous in driving and other monitoring work, where a lapse of a second or two is the whole risk.
Can you function on six hours of sleep?
For most adults the trial evidence says no, with two caveats. In the Van Dongen study, six hours in bed for two weeks produced steadily growing deficits. The study ran for 14 days in 48 young adults, so it cannot say what happens over years, or whether some individuals cope better than the group average.
The second caveat is genetic. A small number of families carry rare gene variants linked to naturally short sleep, such as the ADRB1 mutation described in 2019. These are uncommon enough that sleeping six hours and feeling fine is far more likely to be adaptation of the feeling than a sign of the gene.
Large observational studies point the same way. Among 10,886 adults who completed online cognitive tests, performance was best in those reporting about 7 to 7.5 hours a night and lower in those sleeping less or more; reasoning and verbal ability followed that pattern, while short-term memory did not (Wild et al., 2018). In 498,277 UK Biobank participants aged 38 to 73, about seven hours was associated with the best cognitive scores (Li et al., 2022). Both relied on self-reported sleep and are observational, so they show association, not that changing your sleep will change your scores. Illness, for example, can cause both long sleep and poorer cognition.
Can you catch up on lost sleep?
Partly, and less than it feels. Cohen and colleagues (2010) kept nine adults on a schedule equivalent to 5.6 hours of sleep per 24 hours for three weeks, with eight controls on a normal ratio. After each 10-hour sleep, performance on a vigilance task was back near normal for the first several hours awake. As the hours awake went on, it deteriorated much faster than in the controls, most sharply during the biological night, and the effect grew as the weeks went on.
In practice: a long sleep can make you feel and test as recovered in the morning while leaving you more vulnerable late in the day or overnight. This was a nine-person laboratory study on an unusual schedule, so the size of the effect in everyday life is uncertain. The direction is a good reason not to plan on a weekend lie-in cancelling a week of short nights.
Does extra sleep improve performance?
The best-known study is Mah and colleagues (2011). Eleven male Stanford basketball players kept their usual sleep for two to four weeks, then aimed for at least 10 hours in bed a night for five to seven weeks. Measured sleep rose by about 111 minutes a night. Sprint time fell from 16.2 to 15.5 seconds, free-throw accuracy rose by 9%, three-point accuracy by 9.2%, and reaction time and mood improved.
There was no control group. The players knew what was being tested, and training, the season and practice at the tests themselves could each have contributed. The result fits the idea that these athletes were short of sleep to begin with; it does not show that extra sleep lifts anyone above their rested level.
A 2025 systematic review of nine studies and 196 healthy adults found a similar limit for thinking tasks. Extending sleep improved sustained attention and reaction time in most studies, along with mood, but not executive function or working memory, and the benefits faded within about five days of stopping. The authors suggest many participants were simply paying off existing sleep debt (Yu et al., 2025).
In practice: if you are routinely short of sleep, more sleep is likely to sharpen attention. Evidence that “banking” sleep before a demanding week improves higher-level thinking is thin.
Can caffeine make up for lost sleep?
Only for some tasks. Stepan and colleagues (2021) tested 276 adults in the evening, then either kept them awake overnight or let them sleep, and gave 200mg of caffeine or placebo the next morning. Caffeine brought attention lapses in the sleep-deprived group back to the level of rested participants. On a harder task that requires keeping your place in a sequence of steps, it did not significantly reduce errors for most participants.
In practice: caffeine can keep a tired person alert enough to respond, without restoring their ability to carry out multi-step work accurately. It is a patch for an unavoidable short night, not a replacement for sleep. More on what it does and does not do is in our caffeine guide. The study was funded by the US Office of Naval Research.
How much sleep do you need for cognitive performance?
The American Academy of Sleep Medicine and Sleep Research Society recommend that adults sleep 7 or more hours a night on a regular basis. Their consensus statement links regularly sleeping less than 7 hours with impaired performance, increased errors and a greater risk of accidents, alongside a list of health outcomes. On sleeping more than 9 hours, it says this may be appropriate for young adults, people recovering from sleep debt and people who are ill, and that for others it is uncertain whether it carries a health risk (Watson et al., 2015).
Individual need varies within that range, and no study can tell you your own number. The trial evidence does give a floor: six hours in bed was not enough for the average young adult in the Van Dongen study.
Worked example — checking for sleep debt you can’t feel
Sleepiness ratings stopped tracking performance in the Van Dongen study, so “do I feel tired?” is a poor test. Attention is the ability most sensitive to sleep loss, which makes a simple reaction-time task the most useful thing to measure. This is a self-check built on those two findings; it has not itself been tested in a trial.
Step 1: Set a baseline when rested. During a week of regular nights of seven hours or more, do a short reaction-time test at the same time each morning. Free online versions of the psychomotor vigilance task work. Note your typical score and how much it varies day to day.
Step 2: Keep a simple sleep log. Write down roughly when you went to bed and got up. A written note is enough.
Step 3: Re-test during a short-sleep stretch. When a busy period cuts your sleep, repeat the test at the same time of day. Look for scores that sit outside your normal day-to-day range for several days running, not a single slow morning.
Step 4: Act on the trend. If your scores have drifted while you feel normal, treat that as the more reliable signal and protect your sleep before taking on work where lapses are costly, such as long drives.
Named Framework
The NeuroEdge Formula Sleep-First Framework
The order in which to apply the evidence above. It summarises what the studies found; it is not medical advice.
1. The floor
Seven or more hours a night on a regular basis, the level recommended by the AASM and Sleep Research Society. Six hours in bed produced growing deficits within two weeks.
2. Don’t rely on catch-up
A long sleep restored morning performance in the Cohen study but left people more impaired late in the day. Regular nights are safer than a cycle of debt and recovery.
3. Check, don’t guess
Sleepiness stops tracking performance during chronic short sleep. Use a reaction-time test against your own rested baseline, as in the worked example.
4. Caffeine is a patch
It restored vigilance after a night without sleep but not accuracy on multi-step work. Save demanding or risky tasks for when you have slept.
For the practical side, see how to get better sleep tonight and how sleep stages work.
Do sleep supplements help? Magnesium as an example
No supplement in this article’s evidence replaces sleep time. Magnesium is the one most often suggested, and its evidence is weak. A 2021 systematic review found three randomised trials in 151 older adults with insomnia. Time to fall asleep was about 17 minutes shorter with magnesium than placebo; total sleep time did not improve significantly. The reviewers rated the evidence low to very low certainty, with every trial at moderate-to-high risk of bias (Mah & Pitre, 2021). None of this was in healthy adults, and none of it measured thinking the next day.
If you still want to try it, the US Office of Dietary Supplements sets the adult upper limit for magnesium from supplements at 350mg a day. Higher amounts often cause diarrhoea, nausea and cramping. Magnesium can interfere with bisphosphonates and with tetracycline and quinolone antibiotics, and the risk of toxicity rises with impaired kidney function, so check with a doctor or pharmacist if any of these apply. Our magnesium glycinate guide covers the detail.
Nootropics Depot Magnesium Glycinate Capsules
The label states 200mg of elemental magnesium per two-capsule serving, from 1,600mg of magnesium bisglycinate chelate, and the maker publishes third-party certificates of analysis. A product that states elemental magnesium separately lets you stay under the 350mg limit.
This is an affiliate link. If you buy through it, NeuroEdge Formula may earn a commission at no extra cost to you. The conclusion of this article is that sleep time matters and a supplement is optional.
Key takeaways
| → | Attention goes first. Sustained attention and reaction time are impaired by every kind of sleep loss studied, including a single short night. |
| → | Not everything is hit equally. Working memory and executive function are affected less, and simple reasoning showed no significant change after 24–48 hours awake. |
| → | Six hours is not enough for most adults. Two weeks at 6 hours or less matched up to two nights of no sleep, and sleepiness ratings did not keep pace. |
| → | Catch-up sleep is partial. It restored morning performance but not resilience later in the day. |
| → | Extra sleep helps attention if you were short. Evidence that it improves higher-level thinking is thin. |
| → | Caffeine restores alertness, not accuracy on multi-step work. |
Frequently asked questions
Does one bad night of sleep affect cognitive performance?
It affects attention. In a 2024 meta-analysis of 44 studies, one night of about four hours slowed reaction time by roughly 29 milliseconds on average and added about 2.7 attention lapses per test, and people felt clearly sleepier. Working memory, inhibitory control and decision tasks showed no significant difference, though the authors note the analysis may have been too small to detect one.
Is too much sleep bad for cognitive performance?
Large observational studies find lower test scores in people who report long sleep as well as short sleep. That does not show long sleep causes the difference; illness and poor-quality sleep can both lengthen sleep and affect thinking. The AASM and Sleep Research Society say it is uncertain whether regularly sleeping more than nine hours carries a health risk for most adults.
Does sleep loss affect mood as well as thinking?
Yes. In the Mah sleep-extension study, vigour rose and fatigue fell as sleep increased, and the 2025 review of sleep extension reported similar mood effects. The Yoo imaging study found stronger amygdala responses to unpleasant images after about 35 hours awake.
When should I see a doctor about sleep?
If you are regularly sleepy in the daytime despite spending enough time in bed, if you snore loudly or have been told you stop breathing in your sleep, or if trouble falling or staying asleep has lasted for weeks and affects your days. Insomnia and sleep apnoea are treatable, and a supplement or a routine will not fix an untreated sleep disorder. For what a daytime nap can and cannot do, see naps and cognitive performance.
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. Persistent sleep problems that affect your thinking or daily life should be assessed by a qualified healthcare provider; insomnia, sleep apnoea and other sleep disorders are treatable. Do not drive or operate machinery when sleep-deprived. Speak to a doctor or pharmacist before taking magnesium if you take prescription medicines or have kidney disease.
Scientific references
1. Williamson, A. M., & Feyer, A. M. (2000). Moderate sleep deprivation produces impairments in cognitive and motor performance equivalent to legally prescribed levels of alcohol intoxication. Occupational and Environmental Medicine, 57(10), 649–655. Link
2. Van Dongen, H. P. A., Maislin, G., Mullington, J. M., & Dinges, D. F. (2003). The cumulative cost of additional wakefulness: dose-response effects on neurobehavioral functions and sleep physiology from chronic sleep restriction and total sleep deprivation. Sleep, 26(2), 117–126. Link
3. Yoo, S. S., Gujar, N., Hu, P., Jolesz, F. A., & Walker, M. P. (2007). The human emotional brain without sleep — a prefrontal amygdala disconnect. Current Biology, 17(20), R877–R878. Link
4. Lim, J., & Dinges, D. F. (2010). A meta-analysis of the impact of short-term sleep deprivation on cognitive variables. Psychological Bulletin, 136(3), 375–389. Link
5. Lowe, C. J., Safati, A., & Hall, P. A. (2017). The neurocognitive consequences of sleep restriction: a meta-analytic review. Neuroscience & Biobehavioral Reviews, 80, 586–604. Link
6. Wüst, L. N., et al. (2024). Impact of one night of sleep restriction on sleepiness and cognitive function: a systematic review and meta-analysis. Sleep Medicine Reviews. Link
7. Cohen, D. A., Wang, W., Wyatt, J. K., Kronauer, R. E., Dijk, D. J., Czeisler, C. A., & Klerman, E. B. (2010). Uncovering residual effects of chronic sleep loss on human performance. Science Translational Medicine, 2(14), 14ra3. Link
8. Mah, C. D., Mah, K. E., Kezirian, E. J., & Dement, W. C. (2011). The effects of sleep extension on the athletic performance of collegiate basketball players. Sleep, 34(7), 943–950. Link
9. Yu, B. K., Barrow, T. R., DaLomba, E. J., Gregg, B. T., Barefield, M. L., & Cooper, C. R. (2025). Effects of sleep extension on cognitive performance in military-aged adults: a systematic review. Military Medicine, 190(Supplement 2), 210–218. Link
10. Stepan, M. E., Altmann, E. M., & Fenn, K. M. (2021). Caffeine selectively mitigates cognitive deficits caused by sleep deprivation. Journal of Experimental Psychology: Learning, Memory, and Cognition. PMID: 34014758 (Funded by the US Office of Naval Research.)
11. Watson, N. F., Badr, M. S., Belenky, G., et al. (2015). Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Journal of Clinical Sleep Medicine, 11(6), 591–592. Link
12. Wild, C. J., Nichols, E. S., Battista, M. E., Stojanoski, B., & Owen, A. M. (2018). Dissociable effects of self-reported daily sleep duration on high-level cognitive abilities. Sleep, 41(12), zsy182. Link
13. Li, Y., Sahakian, B. J., Kang, J., et al. (2022). The brain structure and genetic mechanisms underlying the nonlinear association between sleep duration, cognition and mental health. Nature Aging. Link
14. Shi, G., et al. (2019). A rare mutation of β1-adrenergic receptor affects sleep/wake behaviors. Neuron. Link
15. Mah, J., & Pitre, T. (2021). Oral magnesium supplementation for insomnia in older adults: a systematic review & meta-analysis. BMC Complementary Medicine and Therapies, 21, 125. Link
16. National Institutes of Health, Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals. ods.od.nih.gov
Cognitive Enhancement Researcher | 18+ Years Independent Research
Peter is not a clinician; this guide is educational, not medical advice. It was updated in October 2026 to add three meta-analyses and newer studies on recovery sleep, sleep extension and caffeine. Read about how NeuroEdge Formula evaluates research.
Last reviewed: October 2026 | Educational content only. Not medical advice.







