Modafinil has an effective elimination half-life of about 15 hours after multiple doses, meaning it takes roughly 2 to 3 days for the drug itself to clear your body. One of its breakdown products, modafinil sulfone, lingers longer with a half-life of 40 hours, which means traces of that metabolite can persist for over a week.
How Long Modafinil Takes to Clear
A drug’s half-life tells you how long it takes for your body to eliminate half of it. With modafinil’s 15-hour half-life, the math works out like this: after 15 hours, half the dose remains; after 30 hours, a quarter; after 45 hours, an eighth. Most pharmacologists consider a drug functionally cleared after about five half-lives, which puts modafinil at roughly 75 hours, or just over 3 days.
But the parent drug is only part of the picture. Your liver breaks modafinil down into several metabolites, and the most notable one, modafinil sulfone, accumulates with repeated dosing because of its much longer 40-hour half-life. Five half-lives for that metabolite stretches to about 200 hours, or roughly 8 days. If you’ve been taking modafinil daily, this metabolite builds up in your system and takes considerably longer to fully wash out than if you only took a single dose.
Detection in Urine
Because modafinil sulfone hangs around longer than modafinil itself, a specialized urine test looking for modafinil metabolites could return a positive result for several days after your last dose. For occasional users, that window is typically shorter. For daily users, the accumulated metabolites extend the window, potentially to a week or more depending on dosage and individual metabolism.
Will It Show Up on a Standard Drug Test?
This is the question most readers are really asking, and the short answer is no. Standard workplace drug panels, including the common 5-panel and 10-panel screens, do not test for modafinil. These panels target substances like THC, opioids, amphetamines, cocaine, and benzodiazepines. Modafinil is not an amphetamine and does not share enough chemical similarity to trigger a false positive on immunoassay screens designed for those drugs.
That said, modafinil can be detected if someone specifically orders a test for it. Advanced techniques like gas chromatography-mass spectrometry can identify modafinil and its metabolites with high accuracy. This kind of targeted testing is rare in standard employment screening but does come up in specific contexts, particularly in competitive sports. The World Anti-Doping Agency lists modafinil as a prohibited substance, and athletes are tested for it using these specialized methods.
Hair and Blood Testing
Hair drug testing, which can detect many substances for up to 90 days, is not a reliable method for modafinil. Standard hair panels do not screen for it, and the drug’s relatively rapid metabolism makes it difficult to detect consistently in hair even with advanced techniques. There are no widely established protocols or thresholds for modafinil hair testing in commercial labs.
Blood testing can detect modafinil while it’s actively circulating, but the detection window is shorter than urine. Blood levels drop as the drug is metabolized, so this method is most relevant within the first day or two after a dose. Blood tests for modafinil are uncommon outside of clinical research settings.
Factors That Affect Clearance Time
Several variables influence how quickly your body processes modafinil. Liver function is the most significant, since the liver handles the bulk of modafinil’s metabolism. People with impaired liver function will clear the drug more slowly, and their effective half-life may be noticeably longer than the standard 15 hours. Age also plays a role: older adults generally metabolize drugs more slowly due to reduced liver capacity and changes in kidney function.
Dose and frequency matter too. A single 100 mg dose clears faster than a daily 200 mg regimen taken for weeks, because repeated dosing allows modafinil sulfone to accumulate. Body composition, hydration, and genetic differences in liver enzymes can also shift the timeline by hours in either direction, though for most healthy adults, the 2-to-3-day window for the parent drug and roughly a week for metabolites holds as a reasonable estimate.

