Caffeine and Modafinil Counteract Sleep Loss Through Distinct Brain Pathways, ERP Study Shows

Caffeine and Modafinil Counteract Sleep Loss Through Distinct Brain Pathways, ERP Study Shows

Sleep deprivation impairs working memory, but the two most common countermeasures, caffeine and modafinil, achieve their effects through fundamentally different neural mechanisms, according to a new event-related potential (ERP) study published in Frontiers in Human Neuroscience.

Researchers used a randomized, double-blind, crossover design with 14 healthy men who completed a 2-back object working memory task after 36 hours of total sleep deprivation. By recording electroencephalography throughout the task, the team tracked four ERP components, P2, N2, P3, and LPC, each tied to a distinct stage of cognitive processing.

Distinct neurocognitive pathways

Behaviorally, the two drugs diverged sharply. Modafinil significantly improved accuracy after sleep deprivation, even exceeding baseline performance. There was also an exploratory trend toward shorter reaction times. Caffeine, by contrast, maintained behavioral performance at baseline levels without significant improvement, it kept participants from getting worse, but did not restore or enhance function beyond the rested state.

The ERP data revealed why. Caffeine markedly increased P2 amplitude, an early component reflecting perceptual processing and attentional orienting, but significantly decreased LPC (late positive component) amplitude, which indexes the later-stage maintenance of cognitive representations. This pattern suggests caffeine amplifies early arousal and sensory intake while allowing late-stage cognitive maintenance to degrade.

Modafinil produced the opposite profile. It stabilized both P2 and LPC responses, implying sustained top-down executive control throughout the stimulus evaluation window. Rather than boosting early arousal alone, modafinil appeared to preserve the full chain of processing, from perception through maintenance, with greater neural efficiency.

“Caffeine relies on generalized compensatory arousal mechanisms,” the authors write, “whereas modafinil exerts a more efficient and targeted enhancement of executive control.”

Why the distinction matters

The findings carry practical implications for shift workers, military personnel, and anyone who must perform cognitively demanding tasks under sleep restriction. Caffeine may suffice for tasks that depend on fast perceptual intake, but modafinil may better preserve the higher-order maintenance and manipulation functions that complex decision-making requires.

The study also suggests that simple behavioral measures, does a person perform better or worse?, can mask qualitatively different neural strategies. Two drugs that appear similar at the behavioral level may be doing very different things inside the brain.

Limits

The sample was small (n=14) and exclusively male, so sex differences in drug response could not be assessed. The single 36-hour deprivation protocol may not generalize to chronic sleep restriction or to the milder, repeated sleep loss that characterizes most real-world settings.

Bottom line

Caffeine and modafinil both counteract working memory deficits from total sleep deprivation, but they do so through distinct neurophysiological routes, caffeine via generalized arousal and modafinil via targeted preservation of executive control. The ERP signatures provide a biomarker for matching cognitive enhancers to specific task demands under sleep loss.


Source

“Caffeine and modafinil counteract sleep deprivation through distinct neurocognitive pathways: an ERP study of object working memory.” Frontiers in Human Neuroscience, vol. 20, article 1832731, June 22, 2026. DOI: 10.3389/fnhum.2026.1832731. PMID: 42440885.

Scroll to Top