Search

Pulling an all-nighter

Is an all-nighter worth it?

What was found

In experiments, people who stayed awake all night before or after learning remembered less than people who slept.

The fix

Sleep the night before a day of studying, and sleep the night after it too — don't swap either night for extra hours awake.

Based on

31 reports of experiments with 927 people.

Checked against 2 peer-reviewed sources, most recently on 28 October 2026. See the evidence

If exam week has you planning an all-nighter, the experiments are not on its side. Healthy adults kept awake all night before learning something new remembered less of it than adults who had slept, and people kept awake the night after learning also remembered less than those who slept. After a night or more without sleep, people had more lapses of attention than when rested, while accuracy on reasoning puzzles did not clearly change. The free fix: sleep the night before you study, and the night after.

What the evidence says


In a meta-analysis of sleep-deprivation experiments, healthy adults who had been kept awake for one full night before learning new material remembered less of it than adults who had slept normally that night (Hedges' g 0.621, 95% CI 0.473 to 0.769 - a medium-to-large difference by the review's own reading of Cohen's scale; 31 reports, 927 participants)

g 0.621 vs a normal night's sleep · 95% CI 0.473-0.769

n=927 · Meta-analysis · experiments

Limitations & how to read this number

These were laboratory experiments, mostly in young adults, in which one group stayed awake all night under supervision while the other slept normally, and both then learned new material such as word lists or pictures and were tested on it. They were not students cramming for a real exam, and the tests measured memory for the lab material, not grades. Most studies assigned people at random or in a balanced order, but not every one did. Most were small, and the review found signs that studies with weaker results were less likely to be published; after the authors adjusted for that, the difference was smaller (g 0.463) but still clear. Few studies checked that the sleep-deprived group did not nap during the day before learning. The review gave no overall rating of how certain the evidence is.

SourceNewbury CR, Crowley R, Rastle K, Tamminen J (2021) · Psychol Bull · 10.1037/bul0000348

In the same review's second meta-analysis, healthy adults who were kept awake through the night after learning new material remembered less of it than adults who slept that night (Hedges' g 0.277, 95% CI 0.177 to 0.377 - a small-to-medium difference; 45 reports, 1,616 participants)

g 0.277 vs sleeping the night after learning · 95% CI 0.177-0.377

n=1,616 · Meta-analysis · experiments

Limitations & how to read this number

The difference was larger when people were tested the day after the sleepless night, and smaller, though still present, when they had slept for one night or more before the test - so part of the difference may come from being tired at the test rather than from memory alone. Most individual studies were too small to detect a difference this size reliably, and after the authors adjusted for studies that seem to have gone unpublished the estimate shrank (g 0.166) but stayed above zero. In the review's quality check, the studies that described their methods most completely - mainly how they chose and excluded volunteers - did not show a clear difference on their own; the authors think this may partly reflect less complete reporting by the other studies rather than no effect, but it is a reason to treat the size of this result with caution. Most studies compared two separate groups of people rather than the same people twice. Most participants were young adults, and the tests were lab memory tasks, not exams.

SourceNewbury CR, Crowley R, Rastle K, Tamminen J (2021) · Psychol Bull · 10.1037/bul0000348

In an earlier meta-analysis of experiments in healthy adults kept awake for a night or more (about 24 to 48 hours without sleep), people had more lapses on simple attention tests - moments of failing to respond to a signal they were watching for - than when they were rested (Hedges' g -0.762, 95% CI -0.948 to -0.576 - the largest effect of any type of test in the review)

g -0.762 vs rested · 95% CI -0.948--0.576

Meta-analysis · experiments

Limitations & how to read this number

Most studies compared the same people's scores when rested and again after the sleepless night, rather than comparing two groups assigned at random. Time awake ranged from about one day to two days, so this is not an estimate for exactly one night. The studies were small - about 21 people on average - and were published up to 2008. Simple attention tests are repetitive tasks such as pressing a button whenever a light appears; they show how attention slips, not how well someone does at a real task like driving or sitting an exam. The review's summary gives a slightly different figure for this result (g -0.776, 95% CI -0.96 to -0.60); the figure here is the one in its results table and results text.

SourceLim J, Dinges DF (2010) · Psychol Bull · 10.1037/a0018883

How to actually do it

Protect two nights: the night before a day of studying, and the night after it. If an exam is coming, study in the days before rather than through the night, and go to bed at your normal time. The experiments compared a normal night's sleep with a full night awake, so the fix is simply not to skip the night — no special routine or equipment is involved.

Supporting findings (2)

In the same earlier meta-analysis, accuracy on reasoning tests - problem solving, vocabulary and logical-reasoning puzzles - did not clearly change after a night or more without sleep (Hedges' g -0.125, 95% CI -0.268 to 0.016)

no significant difference · 95% CI -0.268-0.016

Meta-analysis · experiments

A result that is not clear is not proof of no effect; the review had relatively few reasoning studies, and the authors note the analysis may have lacked the power to detect a small change.

SourceLim J, Dinges DF (2010) · Psychol Bull · 10.1037/a0018883

In the same review as the anchor, when people were tested the day after a sleepless night that followed learning, with no recovery sleep in between, they remembered less than people who had slept after learning (Hedges' g 0.410, 95% CI 0.320 to 0.499)

g 0.410 vs sleeping the night after learning · 95% CI 0.320-0.499

Meta-analysis · experiments

This is a breakdown within the review rather than its main result. Because people were tested while still short of sleep, it cannot separate a memory effect from simply being tired at the test.

SourceNewbury CR, Crowley R, Rastle K, Tamminen J (2021) · Psychol Bull · 10.1037/bul0000348

Go deeper


What the experiments tested

In these laboratory studies, healthy adults either stayed awake all night under supervision or slept normally. To test learning after a sleepless night, both groups then learned new material, such as word lists or pictures, and were tested on it. To test memory after learning, people learned first and were then kept awake or allowed to sleep that night.

Newbury CR, Crowley R, Rastle K, Tamminen J 2021

What the experiments found

People who had been awake all night before learning remembered less of the new material than people who had slept, and the review rated this a medium-to-large difference. People kept awake the night after learning also scored lower on memory tests than people who slept — a smaller difference, largest when they were tested the next day without sleeping in between. A separate, earlier review found more lapses on simple attention tests after a night or more without sleep than when the same people were rested, while accuracy on reasoning puzzles did not clearly change.

Newbury CR, Crowley R, Rastle K, Tamminen J 2021 · Lim J, Dinges DF 2010

Is this the same as short sleep every night?

No. These studies tested one night with no sleep at all, followed by a test the next day or soon after. Regularly sleeping too little, night after night, is a different habit with its own research, covered on our page about short sleep.

Newbury CR, Crowley R, Rastle K, Tamminen J 2021

What this does not show

The experiments used lab memory and attention tasks, not real exams or grades, and most volunteers were young adults. They did not test whether the extra hours spent studying during an all-nighter could make up for the lost sleep. Most studies were small, and the review found signs that weaker results went unpublished; adjusting for that made the differences smaller, but they did not disappear.

Newbury CR, Crowley R, Rastle K, Tamminen J 2021

Questions people ask


Will an all-nighter lower my exam grade?

These experiments did not measure grades. They measured how much of newly learned material people remembered on lab tests, and people who went a night without sleep before or after learning remembered less than people who slept. That is a strong reason to protect those nights, but it is not a measured effect on any exam score.

If I catch up on sleep afterwards, does that undo it?

Only partly. When people learned something, stayed awake that night, and then had a night or more of recovery sleep before being tested, the memory difference was smaller than when they were tested straight after the sleepless night — but it was still there.

Is every kind of thinking worse after a night without sleep?

Not equally. In the review of a night or more without sleep, the biggest change was in simple attention — more missed signals on repetitive tests. Accuracy on reasoning puzzles did not clearly change, which does not prove there is no effect, only that these studies could not show one.

Sources


  • Newbury CR, Crowley R, Rastle K, Tamminen J (2021). Sleep deprivation and memory: Meta-analytic reviews of studies on sleep deprivation before and after learning. Psychol Bull. Meta-analysis. doi:10.1037/bul0000348
  • Lim J, Dinges DF (2010). A meta-analysis of the impact of short-term sleep deprivation on cognitive variables. Psychol Bull. Meta-analysis. doi:10.1037/a0018883

Published 29 October 2026. Updated 2 November 2026. Evidence last verified 28 October 2026. How we check.

Corrected 2 November 2026: This page's summary of its evidence said "mixed designs" and "a link, not proof of cause". The reviews behind it are of sleep-deprivation experiments, and the summary now says so. No finding or number changed, and neither did the limits stated beside each result: most studies assigned people at random or in a balanced order, but not every one did.

Corrections are published openly on the corrections page. Educational content, not medical advice — talk to a professional about your own situation.