Sitemap
Khal

Khal

How to Pull an All-Nighter While Fast Asleep: The Science of Reviewing in Your Sleep (With a Little Help from Your Nose)

7 min readOct 19, 2026
Press enter or click to view image in full size
https://stockcake.com/s/late-night-cafe/3

It’s 2 am in the library. Your cold brew went warm over an hour ago, your notes are starting to blur, and you’ve read the same paragraph four times. Suddenly, someone walks past you wearing the exact cologne your dad used to wear. Magically, you’re 8 years old again in the car with him on the way to school. A picture can remind you of a moment, a song can make you feel nostalgic, but neither of those senses can transport you quite like a smell can. This is not a personal, subjective experience, but it is the way humans are wired. And this relationship between the nose and memory can be put to use. But not without a catch: you must be asleep… the exact thing being sacrificed by the 2 am study session. That’s the all-nighter paradox; you sacrifice sleep to learn and remember more, when sleep decides what memories and information to keep from the day.

Research suggests a way around this paradox: An all-nighter pulled while fast asleep.

Your Brain Works the Night Shift:

Consolidation is the process by which the brain converts the transient experiences of the day into long-term memories. Specifically, the hippocampus carries out this function, as it is responsible for forming explicit memories, which involve information and knowledge, but it doesn’t keep them. Instead, it replays the day’s memories, strengthening their viability and transferring them to the cerebral cortex for long-term storage.

Contrary to popular belief, it is not the rapid eye movement (REM) stage of sleep that is responsible for memory retention. Still, it is the slow-wave (deep sleep) stage that does the heavy lifting, where memories are consolidated, and REM is where the connections established by slow-wave sleep are fortified and stabilized. There is a plethora of factors that steer the hippocampus towards which information to consolidate, as not all knowledge learned in a day is equally retained. Hence, the psychoneurological field has focused on ways to manage and, if possible, optimize this selection process. One surprisingly simple answer to this inquiry was the sense of smell.

For a deeper look at how memory works in the brain, see the video attached below (audio-visual component):

https://youtu.be/WDgUhgmTOCM

The Nose Knows a Shortcut

Most senses take a long route to memory, as they must be filtered and relayed through the thalamus, which essentially functions as the brain’s sensory switchboard. Involved in this sensory relay is a series of processing layers across different brain structures, such as the visual and auditory cortices, before ultimately reaching the hippocampus. The only sense whose signal bypasses the thalamus on its route to memory and emotion centers is smell.

Signals from the nose travel directly to the olfactory bulb, the brain’s scent processor. It is located in close proximity to the hippocampus and amygdala (the brain’s emotion center), which exerts functional effects. This route takes only two/three steps rather than the many steps involved in processing the other senses. This direct connection helps explain why a smell tends to feel more emotional than a photograph or song.

The significance of the sensory shortcut is even more notable at night. During sleep, especially in deep, slow-wave sleep, the activity of the thalamus is more inhibitory, dampening signals from incoming light and sound to allow sleep to accomplish its restorative effects truly. Yet, considering the smell’s route is not filtered through the same pathway, a scent is capable of reaching memory circuits without waking the sleeper. This does not mean that the brain ignores it. The scent still reaches the regions responsible for memory, where it can unlock the potential to strengthen what was learned that day.

Press enter or click to view image in full size

The Scent is Key

If a scent can unlock that potential, then it works less like a cologne, which leaves an ephemeral impression of whoever wears it, and more like a key. Presented at the right moment and matched to the right lock, the study session it was paired with can open a specific set of memories just as the brain enters deep sleep, letting them through the door of the hippocampus, allowing the brain to etch them into long-term storage.

The idea of scent as a key is rooted in laboratory work. In earlier sleep-lab experiments, volunteers who smelled roses while learning and were presented with them again during deep sleep significantly remembered more the next day than those who were presented with them during REM sleep, which had no significant effect. A lab, however, with electrodes and precisely timed scent pumps, is not directly generalizable to what a student can accomplish individually at their desk and in their bedroom.

Get Khal’s stories in your inbox

Join Medium for free to get updates from this writer.

In 2020, researchers at the University of Freiburg tested whether this effect holds up in everyday life, outside laboratory controls. In coordination with the parents, the researchers worked with 54 sixth graders who were learning English vocabulary at home and preparing for an exam. Students were randomly split into 4 studying groups: studying with no scent, and the other three groups were split on the timing of the scent stimulus, with all having the incense present when studying, but one group would have it presented again only when asleep, and the other only when in the exam room, and the last had it present at both.

The exam results established a clear and significant line. Students in the group who were exposed to the scent while studying and sleeping performed better, making fewer errors than both the control and test-only experimental groups, which performed similarly. However, the group in which the smell was present during studying, sleep, and the exam showed the largest benefit, with approximately a 30% increase from the control group.

The findings on what did not work are just as revealing as those on what did. Smelling the scent at test time did not have any benefit on its own, so the smell’s presence during studying and exam time was not the point where smell was marking its effect. Thus, pointing to sleep, not a simple association, as the mechanism of action for memory improvement; the smell is not the memory itself but a key that reopens the study session whilst the brain consolidates it. Additionally, the study revealed the practicality of this technique, as the simplicity of an incense as the source of smell, amid the distractions of real life, was enough to produce a true effect.

Sabotaging the Night Shift

The Freiburg results are dependent on one element: a night of quality, deep sleep. Two common exam week habits are antagonistic to this factor. The first is the all-nighter itself, as it, frankly, eliminates the overnight replay; research has found that a disrupted night of sleep subsequently weakens the brain’s ability to form new memories the following day. Thus, a lack of sleep has a compounding deficit effect on one’s ability to form memories. The second is late-day caffeine, which has an average active half-life of 5 hours. This activity measurably reduces deep sleep, even in people who can fall asleep without difficulty. The very habits students rely on to survive finals are the same ones that undermine the process that could best support them.

An Exam Week Gameplan:

The design of the Freiburg research translates easily into college life. A realistic version for exam week would be to assign a distinctive scent to each exam being studied and to expose yourself only to the corresponding scent for each exam. The second component of this technique is to place the same scent beside the bed. Regardless of this technique’s effectiveness, studying must remain the priority. The scent only strengthens the material learned; it cannot teach anything new.

The evidence is significant and promising, but still limited. The Freiburg study involved only 54 students, relied on self-reported at-home scent use, and lacked a placebo group. Thus, the technique is best viewed as a low-cost, low-risk experiment that is worthwhile, rather than as a guaranteed academic advantage.

Lights Out:

The next time the clock reads 2 a.m., and the notes begin to blur, the most productive choice may be to close the laptop, set the scent by the bed, and let your brain take the wheel for the night shift. The best all-nighter a student can pull after all, may be the one spent fast asleep.

Main Journal Article:

Neumann, F., Oberhauser, V., & Kornmeier, J. (2020). How odor cues help to optimize learning during sleep in a real life-setting. Scientific Reports

https://www.nature.com/articles/s41598-020-57613-7

Supplementary Journal Articles:

Rudoy, J.D., Voss, J. L., Westerberg, C.E., & Paller, L.A. (2009). Strengthening Individual Memories By Reactivating Them During Sleep. Science Vol, 326, Issue 5956, p. 1079.

https://pmc.ncbi.nlm.nih.gov/articles/PMC2990343/

Rasch, B., Büchel, C., Gais, S., & Born, J. (2007). Odor cues during slow-wave sleep prompt declarative memory consolidation. Science Vol, 315, Issue 5817, p.1426–1429

https://www.science.org/doi/10.1126/science.1138581

--

--