Drug detox is the period when the body clears a substance and adjusts to working without it, along with the care that keeps a person safe through withdrawal. For some drugs it is mostly uncomfortable. For others, especially alcohol and sedatives, it can be dangerous without medical supervision.
Detox usually takes days, not weeks, but it is only the opening stage of recovery. What happens after detox decides whether it leads anywhere.
Why withdrawal happens
With repeated use, the brain and body adapt to a drug's presence. When the drug is suddenly removed, those adaptations are left unbalanced, and the result is withdrawal. MedlinePlus describes this for opioids: heavy use for a few weeks or more can cause physical dependence and tolerance, and withdrawal can happen whenever long-term use stops or is cut back. Stimulants work differently, but the idea is similar. The brain's reward system has adjusted to an artificial high and runs low for a while once the drug stops.
Detox by drug type
| Substance | Main withdrawal features | Medical risk |
|---|---|---|
| Opioids (heroin, fentanyl, oxycodone) | Flu-like aches, sweating, runny nose, yawning, cramps, diarrhea, vomiting, insomnia, cravings | Usually not life-threatening, but dehydration and very high overdose risk after detox |
| Benzodiazepines and other sedatives | Anxiety, insomnia, agitation; can be severe | Can be dangerous; needs a supervised taper |
| Alcohol | Ranges from mild to severe and can escalate | Can be dangerous; needs medical supervision |
| Cocaine and crack | Crash, exhaustion, heavy sleep, depression, anxiety, cravings | Low physical risk; suicide risk and relapse are the main dangers |
| Methamphetamine | Exhaustion, depression, anxiety, aches, paranoia, strong cravings | Low physical risk; depression, psychosis and relapse are the main dangers |
Opioids
MedlinePlus lists early opioid withdrawal symptoms as agitation, anxiety, muscle aches, watery eyes, insomnia, runny nose, sweating and yawning, followed by stomach cramps, diarrhea, dilated pupils, goosebumps, nausea and vomiting. Symptoms usually start within about 12 hours of the last heroin use and within about 30 hours of the last methadone dose. Medications can make this far easier, so going it alone is not recommended. See heroin withdrawal timeline or fentanyl withdrawal symptoms for drug-specific detail.
Sedatives and alcohol
NIDA advises that people dependent on sedatives such as benzodiazepines should not stop on their own because withdrawal can be severe or dangerous, and that a gradual, medically supervised taper is the standard approach. Alcohol withdrawal also needs medical care. These are the withdrawals where medical detox is not optional.
Cocaine
MedlinePlus describes cocaine withdrawal as a crash with cravings, fatigue, low mood, anxiety, irritability and sleepiness, usually without vomiting or shaking. Cravings and depression can last months after heavy, long-term use, and some people have suicidal thoughts. More on our cocaine withdrawal page.
Methamphetamine
NIDA reports meth withdrawal symptoms peak two to three days after the last use and may last about a week, with low mood, anxiety and cravings that can continue for months. SAMHSA's stimulant protocol notes paranoia can occur and that depression and suicidality after heavy meth use tend to last longer. See meth withdrawal for the full picture.
Talk with an independent helpline about detox and rehab options and what your insurance covers.
Call 866-545-5258What detox looks like day to day
- Intake. Questions about what you have used, how much and when, your health history, mental health, and any past withdrawals. Vital signs, often labs and a drug screen.
- Stabilization. Staff monitor symptoms and vital signs, give medication where appropriate, and make sure you are eating, drinking and sleeping.
- Early engagement. As you feel better, short counseling or group sessions begin.
- Discharge planning. The team arranges what comes next, ideally with a set start date.
How intensive this care is depends on the setting. Our guide to drug detox programs compares outpatient, residential and inpatient options.
Risks people overlook
- Overdose after detox. MedlinePlus explains that tolerance drops during opioid withdrawal, so people who have just detoxed can overdose on much less than they used before. It notes most opioid overdose deaths happen in people who recently detoxed. Naloxone should go home with anyone leaving opioid detox.
- Depression and suicide. Especially with stimulants. SAMHSA's protocol names harm to self as the greatest risk in stimulant withdrawal. Call or text 988 if suicidal thoughts appear.
- Self-medicating. Using alcohol or pills to get through withdrawal from another drug can create a second, sometimes more dangerous, dependence.
- Dehydration. Vomiting and diarrhea during opioid withdrawal can cause dehydration and electrolyte problems.
How long does detox take?
The acute part of withdrawal is usually measured in days. For stimulants, a clinical review published through the NIH places the peak around days two to three, with major discomfort usually easing within four to seven days. Opioid withdrawal follows a similar short arc, although longer-acting opioids start later and can last longer. Sedative tapers often take longer because they are done gradually on purpose.
What lasts longer is the after-effect: poor sleep, low mood, anxiety and cravings that can come and go for weeks or months. That is normal recovery of the brain, and it is the main reason ongoing treatment matters. Timelines for specific drugs are on our cocaine detox timeline and meth detox timeline pages.
Can you detox at home?
Never try to detox from alcohol, benzodiazepines or other sedatives at home without medical guidance. For opioids, MedlinePlus notes home withdrawal is difficult and should be done very slowly, with medical support. For cocaine or meth alone, some people manage the crash at home, but only with a safe, sober environment, someone checking on them, no suicidal thoughts, and a plan to start treatment within days.
Detox is not treatment
NIDA's principles of addiction treatment state that medically assisted detox is only the first stage and is rarely enough on its own for long-term recovery. People who detox and stop there often return to use. The next step might be residential treatment, an intensive outpatient program, or outpatient counseling. For opioid use disorder, NIDA notes that medications combined with counseling are effective.
For cocaine and meth, treatment relies on behavioral therapy such as contingency management and cognitive behavioral therapy. Learn more about cocaine addiction treatment and meth addiction treatment, or search the rehab directory for programs near you.
Sources
- Opiate and opioid withdrawal (MedlinePlus, National Library of Medicine)
- Cocaine withdrawal (MedlinePlus, National Library of Medicine)
- What are the long-term effects of methamphetamine misuse? (National Institute on Drug Abuse)
- TIP 33: Treatment for Stimulant Use Disorders (SAMHSA)
- Clinical Management of Psychostimulant Withdrawal: Review of the Evidence (Addiction, via NIH PubMed Central)
- How can prescription drug addiction be treated? (National Institute on Drug Abuse)
- Principles of Drug Addiction Treatment: A Research-Based Guide (National Institute on Drug Abuse)
In this section
Free, confidential help finding cocaine, meth or other drug treatment. Independent helpline.
Call 866-545-5258Related guides
- Addictive Behaviors: Warning Signs and When to Get Help
- Individual Therapy for Addiction: How One-on-One Works
- Gateway Drug Theory: What the Research Actually Shows
- Drug Dependence: What It Is and How It Differs From Addiction
- Residential Treatment for Addiction: What to Expect
- Addiction Counseling: What It Is and How It Helps
Find treatment
Cocaine Addiction Treatment by stateMeth Addiction Treatment by stateCocaine Detox by stateMeth Detox by stateAll facilities