Modafinil: what it treats, how to take it, side effects

Last updated September 3, 2026.

Modafinil is a wakefulness-promoting agent - it changes the amounts of certain natural substances in the brain area that controls sleep and wakefulness. You may know it as Provigil. It is a controlled substance (Schedule IV), it can be habit forming, and prescriptions for it always come from your own prescriber who knows your full picture.

What does it treat?

Excessive sleepiness from narcolepsy or shift work sleep disorder, and - alongside breathing devices or other treatments - the residual sleepiness of obstructive sleep apnea/hypopnea syndrome. It decreases sleepiness; it does not cure the sleep disorder, and it is never a substitute for sleep itself.

How do you take it?

One tablet once a day, with or without food: in the morning for narcolepsy or OSAHS, or 1 hour before the work shift for shift work disorder - same time every day, and do not change the timing without your doctor (variable shifts are a conversation, not an improvisation). Take exactly as directed: it may be habit forming, so never larger, more often, or longer than prescribed. Keep taking it even when you feel rested - the rested feeling is the drug working. And keep the sleep habits and the CPAP or other treatments going; modafinil rides on top of them, never replaces them. Missed dose: skip it and take the next one on time - a late dose sits on your night and makes sleep harder; never double up.

Questions about modafinil

Start a free AI doctor consult →

Side effects to know

Who should not take it?

Flag any history of chest pain, irregular heartbeat, or other heart problems - especially after a stimulant - plus high blood pressure, heart attack, mental illness including depression, mania, or psychosis, and heart, liver, or kidney disease. Report any history of heavy alcohol use, street drugs, or overused prescription medications, especially stimulants - that is the habit-forming screen. One interaction people miss: modafinil weakens hormonal contraceptives - pills, patches, rings, implants, injections, and IUDs - so use another birth-control method while taking it and for 1 month after stopping. If you become pregnant, call your doctor.

When is it an emergency?

A rash with blisters, peeling skin, or mouth sores - the severe skin-reaction pattern - is a stop-and-call emergency, as are chest pain, an irregular pounding heartbeat, hallucinations, or throat swelling. For an overdose, call Poison Control at 1-800-222-1222. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.

What a Pymander AI doctor consult looks like

Month two on the modafinil for the shift work - how are the nights?
One tablet an hour before my shift starts, three nights a week. I am alert through the whole shift now instead of fighting the 4 am wall. No trouble sleeping when I get home - I keep the same wind-down routine.
Thanks for giving me all this information. Based on what you've said, the timing is right and the landing is clean - alert shifts with protected recovery sleep is exactly the balance this drug is meant to hold. Keep it strictly one-hour-before, keep the wind-down routine sacred, and keep the dose exactly as written - modafinil can be habit forming, and the written dose is the boundary. Any rash, and it is stop-and-call the same day. Here's your care note to share with your care team.
Care note
Modafinil maintenance check
On modafinil 1h pre-shift, 3 nights/week, month 2; alert through shifts, recovery sleep preserved. Habit-forming boundary + rash red flag understood.
View care note →

Illustrative example, not a real member's messages.

Common questions

Is modafinil addictive?

It can be - MedlinePlus says it may be habit forming and to never take it larger, more often, or longer than prescribed. It is a Schedule IV controlled substance, and your prescriber screens for heavy alcohol use, street drugs, or past stimulant overuse before writing it. The boundary is structural: exact dose, exact timing, regular check-ins. Prescriptions for it come from your own prescriber who knows your history.

Can I use modafinil to skip sleep?

No - MedlinePlus is direct: modafinil should not be used in place of getting enough sleep. It reduces sleepiness from a diagnosed disorder while you rebuild or maintain real sleep habits; it does not replace the sleep itself. Using it to stretch waking hours without a diagnosis is how the habit-forming risk stops being theoretical.

Why do I keep using my CPAP if modafinil keeps me awake?

Because they solve different problems. The CPAP treats the apnea - the breathing interruptions that fragment your night. Modafinil only masks the leftover daytime sleepiness; it treats none of the underlying damage. MedlinePlus says to continue any breathing devices or other treatments your doctor prescribed. Stopping the CPAP because you feel alert is how the untreated apnea keeps quietly working on your heart.

Why did my doctor ask about my birth control?

Modafinil makes hormonal contraceptives less effective - MedlinePlus names pills, patches, rings, implants, injections, and intrauterine devices. The guidance: use another form of birth control while taking modafinil and for 1 month after stopping. This is one of the most-missed interactions on the list, and it matters on day one, not after weeks.

Why is a rash on modafinil such a big deal?

Because this drug carries a rare but severe skin-reaction risk - the Stevens-Johnson pattern. MedlinePlus puts rash, blisters, peeling skin, mouth sores, and hives at the top of the call-immediately list. The rule is simple and absolute: any rash on modafinil means stop taking it and call your doctor the same day. Do not wait to see what it does.

What happens if I miss a dose of modafinil?

Skip it, and take the next one on time - MedlinePlus's rule is to skip the missed dose rather than slide it, because a dose taken too late in your waking day makes sleep harder. Never double up. For shift workers with changing schedules, the timing question goes to your prescriber, not to improvisation.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult