How long a diet pill stays in your system depends entirely on which one you’re taking. The range is enormous: a caffeine-based over-the-counter pill clears in under a day, while oral semaglutide lingers for about five weeks after your last dose. Here’s what to expect for each major type.
Caffeine-Based Over-the-Counter Pills
Most drugstore diet pills rely on caffeine, green tea extract, or similar stimulants to boost metabolism and suppress appetite. Caffeine has a half-life of 3 to 5 hours in adults, meaning half the dose is gone from your bloodstream in that window. After about 24 hours, virtually all of it has been processed and excreted. If you stop taking a caffeine-heavy supplement, you can expect it to be fully cleared within a day, though you may notice withdrawal headaches or fatigue for a few days afterward if you were taking high doses regularly.
Phentermine
Phentermine is one of the most commonly prescribed short-term appetite suppressants, and it has a surprisingly wide elimination window. Under normal conditions, its half-life ranges from 19 to 24 hours, but it can stretch to 16 to 31 hours when urine is more alkaline. That means the drug takes roughly 4 to 6 days to fully leave your body after the last pill.
Your urine pH makes a real difference here. In acidic urine (pH below 5), the half-life drops to just 7 to 8 hours, and the drug clears much faster. Things like diet, hydration, and certain medications can shift urine pH in either direction, so two people taking the same dose may clear it at very different rates.
For drug testing purposes, phentermine is detectable in a standard urine screening for 1 to 4 days after the last dose. Because phentermine is structurally similar to amphetamines, it can trigger a false positive on immunoassay drug tests. If this happens, a confirmatory test can distinguish phentermine from illicit substances.
Phendimetrazine
Phendimetrazine is another prescription appetite suppressant in the same drug class as phentermine, but it clears the body much faster. Its average elimination half-life is about 3.7 hours, regardless of whether you take the immediate-release or extended-release form. Most of the drug is filtered out through the kidneys. You can expect it to be essentially gone within 18 to 24 hours of your last dose.
Orlistat (Xenical, Alli)
Orlistat works completely differently from stimulant-type pills. Instead of affecting your brain, it blocks fat absorption in your gut. The drug barely enters your bloodstream at all: less than 2% of a dose is absorbed. About 97% passes through your digestive tract and is excreted in stool, with 83% leaving as unchanged drug.
Complete elimination takes 3 to 5 days after a single dose. From a practical standpoint, the more noticeable timeline is this: once you stop taking orlistat, your body’s fat absorption returns to normal within 48 to 72 hours. That’s when the gastrointestinal side effects (oily stools, urgency) typically resolve.
Oral Semaglutide (Rybelsus)
Oral semaglutide stays in your system far longer than any other diet pill. It has a half-life of approximately one week, which means the drug remains in your circulation for about five weeks after your last tablet. This is why the FDA recommends stopping it at least two months before a planned pregnancy, to allow a full washout.
This long clearance time also matters for side effects. If you experience nausea, vomiting, or other issues on semaglutide, those effects won’t disappear overnight after stopping. It can take several weeks for the drug concentration to drop low enough for symptoms to resolve.
Injectable Weight Loss Medications
Although they aren’t pills, injectable GLP-1 medications like tirzepatide (Zepbound) are worth mentioning because they share the same long-acting profile as oral semaglutide. These are administered once weekly, and their slow elimination means they persist in the body for weeks after the final injection. Expect a similar multi-week washout period.
What Affects How Fast You Clear a Diet Pill
Several factors can speed up or slow down elimination. Age is one of the most significant. As you get older, your liver processes drugs less efficiently, and kidney function gradually declines. Both of these changes mean medications stay in your system longer. The effect is most pronounced for drugs that are heavily metabolized by the liver before reaching circulation.
Body composition plays a role too. Fat-soluble compounds can accumulate in body fat and release slowly over time, extending their presence. Kidney health matters for drugs eliminated primarily through urine, like phentermine and phendimetrazine. If your kidneys aren’t filtering efficiently, clearance slows. Hydration and urine pH, as noted with phentermine, can shift timelines by hours or even days.
Liver function is particularly important. People with liver conditions may process stimulant-based diet pills significantly more slowly than the standard timelines suggest. If you take other medications that compete for the same liver enzymes, that competition can also delay clearance.
What Happens After the Drug Clears
Even after a diet pill leaves your bloodstream, you may notice lingering effects. Stimulant-based appetite suppressants like phentermine can produce a rebound period of fatigue, increased appetite, low mood, and disrupted sleep that lasts one to two weeks. These aren’t dangerous, but they can be uncomfortable enough that some people mistake them for a return of the problem the drug was treating.
With orlistat, the transition is simpler: your digestion returns to its pre-treatment pattern within a few days. With semaglutide, the slow taper of the drug in your system means the appetite-suppressing effect fades gradually over weeks rather than disappearing all at once, which can make the transition off the medication feel more manageable.

