“Sleep quality” can refer to several different outcomes, including how easily someone falls asleep, how long they sleep, how efficiently they sleep, and how sleep stages are organised. Studies of modafinil do not show the same effect across all of these measures.
Does Modafinil Make It Harder to Fall Asleep?
Yes. Roth et al. (2007) pooled six randomised, double-blind, placebo-controlled trials in which 1,529 participants were randomised and 1,501 received at least one study dose. Among the treated participants, 934 received modafinil and 567 received placebo.
Insomnia was reported by 5% of participants taking modafinil compared with 1% receiving placebo.
The prescribing information for Provigil also lists insomnia among the common adverse reactions associated with modafinil and warns that taking the medication too close to bedtime may make it harder to fall asleep (Cephalon, LLC, 2022).
Does Modafinil Reduce Total Sleep Time?
Modafinil can reduce sleep duration when its wake-promoting effects overlap with the intended sleep period.
Turner et al. (2014) studied 12 healthy men who received placebo or modafinil at doses of 100, 200, or 300 mg 30 minutes before bedtime.
Sleep duration was significantly reduced after the 200 mg and 300 mg doses, with the greatest reduction at 300 mg.
Unlike standard morning treatment for narcolepsy or obstructive sleep apnoea, modafinil was deliberately administered immediately before participants were expected to sleep. The study therefore shows that modafinil can shorten sleep when substantial wake-promoting activity extends into the sleep period.
Does Modafinil Affect Perceived Sleep Quality?
Inoue et al. (2013) studied 114 Japanese patients with obstructive sleep apnoea who were already being treated with continuous positive airway pressure but continued to experience excessive daytime sleepiness.
Participants received either 200 mg of modafinil or placebo for four weeks. Perceived sleep quality was assessed using the Pittsburgh Sleep Quality Index (PSQI).
Changes in PSQI scores from baseline to the final assessment were similar in the modafinil and placebo groups.
Does Modafinil Affect Sleep Efficiency?
Sleep efficiency is the percentage of time spent in bed that is actually spent asleep.
In the pooled analysis by Roth et al. (2007), polysomnography showed no significant difference in sleep efficiency between modafinil and placebo in any of the three patient populations studied: shift-work sleep disorder, obstructive sleep apnoea, and narcolepsy.
Inoue et al. (2013) similarly found that changes in nocturnal polysomnographic measures were comparable between modafinil and placebo among CPAP-treated patients with obstructive sleep apnoea.
Individual reports of insomnia do not necessarily translate into lower average sleep efficiency because difficulty initiating sleep in some participants can coexist with largely unchanged group-level polysomnographic measurements.
Does Modafinil Affect REM Sleep or Sleep Architecture?
Sleep architecture refers to how sleep is organised across non-REM and REM stages.
Roth et al. (2007) found no adverse effect of modafinil on sleep architecture across the pooled clinical trials.
A separate nine-week multicentre trial in people with narcolepsy also found that nighttime sleep measured by polysomnography was not adversely affected by modafinil compared with placebo (US Modafinil in Narcolepsy Multicenter Study Group, 2000).
Turner et al. (2014), however, found reduced REM sleep with the 300 mg bedtime dose used in their laboratory experiment.
That finding shows that REM sleep can be affected under bedtime-dosing conditions, but it does not establish that modafinil routinely suppresses REM sleep during standard clinical use.
Why Does the Timing of Modafinil Matter for Sleep?
Modafinil has an effective elimination half-life of approximately 15 hours after multiple doses (Cephalon, LLC, 2022).
For narcolepsy and obstructive sleep apnoea, the recommended dose is generally taken once in the morning. For shift-work sleep disorder, it is taken approximately one hour before the start of the work shift.
Because modafinil remains in the body for many hours, a later dose may still be pharmacologically active when a person intends to sleep. This is consistent with the bedtime-dosing findings reported by Turner et al. (2014).
The available evidence does not establish a universal clock time after which modafinil will interfere with sleep. Dose, metabolism, treatment schedule, and individual response can influence how long its wake-promoting effects persist.
People who develop persistent sleep difficulty while taking modafinil should discuss the dose and timing with their prescriber rather than changing their regimen independently.
What Happens to Sleep After Modafinil During Night-Shift Work?
Czeisler et al. (2005) studied 209 people with shift-work sleep disorder who received either 200 mg of modafinil or placebo before night shifts.
Modafinil improved wakefulness during the night, but it did not adversely affect subsequent daytime sleep compared with placebo.
In that trial, improved alertness during the scheduled work period was not accompanied by measurable impairment of the following scheduled sleep period.
Does Modafinil Affect Recovery Sleep After Sleep Deprivation?
Buguet et al. (1995) examined recovery sleep in 37 participants after 64 hours of sustained mental work and wakefulness. Participants received modafinil, d-amphetamine, or placebo during the period of sleep deprivation.
Recovery sleep after modafinil showed fewer disturbances than after d-amphetamine and remained closer to the placebo condition. In particular, the modafinil group did not show the REM sleep deficit observed after d-amphetamine.
The study is most useful for showing that modafinil and traditional stimulants such as amphetamine do not necessarily produce identical effects on subsequent recovery sleep.
Can Modafinil Replace Sleep?
No. Modafinil promotes wakefulness and reduces excessive sleepiness, but it does not replace the physiological need for sleep.
MedlinePlus states that modafinil should not be used in place of getting enough sleep (American Society of Health-System Pharmacists, 2024). Mayo Clinic similarly states that the medication does not take the place of sufficient sleep and advises patients to seek guidance about good sleep habits (Mayo Clinic, 2026).
Feeling less sleepy after taking modafinil does not mean that inadequate sleep has been reversed.
Most of the larger controlled studies examining modafinil and sleep involved people with narcolepsy, obstructive sleep apnoea, or shift-work sleep disorder, while direct sleep studies in healthy volunteers were smaller. Within those limits, modafinil can cause insomnia and can shorten sleep when its wake-promoting activity extends into the intended sleep period. When used according to the schedules studied in clinical trials, however, it has generally not produced substantial deterioration in perceived sleep quality, sleep efficiency, or overall sleep architecture.
References
American Society of Health-System Pharmacists. (2024, July 20). Modafinil. MedlinePlus.
Buguet, A., Montmayeur, A., Pigeau, R., & Naitoh, P. (1995). Modafinil, d-amphetamine and placebo during 64 hours of sustained mental work. II. Effects on two nights of recovery sleep. Journal of Sleep Research, 4(4), 229–241. doi: 10.1111/j.1365-2869.1995.tb00173.x
Cephalon, LLC. (2022). Provigil (modafinil) tablets, for oral use, C-IV [Prescribing information]. DailyMed, U.S. National Library of Medicine.
Czeisler, C. A., Walsh, J. K., Roth, T., Hughes, R. J., Wright, K. P., Kingsbury, L., Arora, S., Schwartz, J. R. L., Niebler, G. E., & Dinges, D. F. (2005). Modafinil for excessive sleepiness associated with shift-work sleep disorder. The New England Journal of Medicine, 353(5), 476–486. doi: 10.1056/NEJMoa041292
Inoue, Y., Takasaki, Y., & Yamashiro, Y. (2013). Efficacy and safety of adjunctive modafinil treatment on residual excessive daytime sleepiness among nasal continuous positive airway pressure-treated Japanese patients with obstructive sleep apnea syndrome: A double-blind placebo-controlled study. Journal of Clinical Sleep Medicine, 9(8), 751–757. doi: 10.5664/jcsm.2912
Mayo Clinic. (2026, September 1). Modafinil (oral route).
Roth, T., Schwartz, J. R. L., Hirshkowitz, M., Erman, M. K., Dayno, J. M., & Arora, S. (2007). Evaluation of the safety of modafinil for treatment of excessive sleepiness. Journal of Clinical Sleep Medicine, 3(6), 595–602.
Turner, C., Belyavin, A. J., & Nicholson, A. N. (2014). Duration of activity and mode of action of modafinil: Studies on sleep and wakefulness in humans. Journal of Psychopharmacology, 28(7), 643–654. doi: 10.1177/0269881113508173
US Modafinil in Narcolepsy Multicenter Study Group. (2000). Randomized trial of modafinil as a treatment for the excessive daytime somnolence of narcolepsy. Neurology, 54(5), 1166–1175. doi: 10.1212/WNL.54.5.1166
