There is no single answer, because opiate rehab is a series of stages, not one stay. Detox usually takes about 5 to 10 days. Residential rehab commonly runs 28 to 30 days, and some programs offer 60 or 90 days. Outpatient care often continues for several months after that. And medication treatment with buprenorphine (Suboxone), methadone or naltrexone is often continued for a year or longer, sometimes indefinitely. The research is clear on one point: for opioid addiction, longer treatment generally means better results.
The short version
| Stage | Typical length | What happens |
|---|---|---|
| Medical detox | About 5–10 days | Withdrawal managed with medication, often the start of buprenorphine or methadone |
| Residential / inpatient rehab | 28–30 days is common; 60–90 days available | Live-in therapy, groups, medical care, planning for after |
| Partial hospitalization (PHP) | Often 2–4 weeks | Treatment most of the day, home at night |
| Intensive outpatient (IOP) | Often 8–12 weeks | About 9+ hours a week of therapy while living at home |
| Standard outpatient | Months, as needed | Weekly counseling and medication follow-up |
| Medication for opioid use disorder | Often 12 months or longer | Ongoing buprenorphine, methadone or naltrexone with regular visits |
These are common ranges, not rules. Your plan should be set by your assessment, how you respond and what your insurance approves, and it can change along the way.
How long does opiate detox take?
Withdrawal from short-acting opioids like heroin or oxycodone usually starts within about 8 to 24 hours of the last dose, peaks in the first few days, and the worst physical symptoms ease within about a week. Fentanyl and long-acting opioids like methadone can follow a different, sometimes longer, timeline. Our opiate detox timeline and fentanyl addiction treatment guides go into the details.
Two things matter more than the exact number of days:
- Detox alone is not treatment. It handles the physical withdrawal, but it does not change the cravings and patterns that drive use. People who detox and go straight home without further care relapse at high rates.
- Your tolerance drops fast. After even a few days without opioids, a dose you used to take can be fatal. Leaving detox without a plan, and without naloxone (Narcan), is one of the riskiest moments in recovery.
Many detox programs now start buprenorphine or methadone during detox and continue it afterward, rather than tapering you off completely. That approach is called "medically managed withdrawal into treatment," and it lowers the risk of overdose after you leave.
How long is residential opiate rehab?
The classic program is 28 or 30 days, largely because that is what insurance has historically approved. Many centers also offer 60- and 90-day programs, and some people step down from a 30-day stay into sober living and outpatient care for several more months.
Who tends to need a longer stay:
- People who have relapsed after short programs before
- Heavy fentanyl use or injection drug use
- A history of overdose (see what to do after a nonfatal overdose)
- Co-occurring depression, anxiety, PTSD or other mental health conditions
- An unsafe or unstable home, or no sober support
Insurance usually approves residential care in chunks, often a week or two at a time, based on medical necessity reviews. A program's admissions team should explain how that works for your plan before you start.
Why NIDA says longer is better
The National Institute on Drug Abuse's Principles of Drug Addiction Treatment states that staying in treatment long enough is critical, and that for most people, the threshold of meaningful improvement is reached at about 3 months. The same guide notes that participation in methadone maintenance for 12 months is considered the minimum, and that some people benefit from continuing for many years.
"90 days" does not have to mean 90 days in a residential bed. It usually means 90 days of continuous care across levels: a few weeks inpatient, then PHP or IOP, then outpatient and medication.
How long do people stay on Suboxone or methadone?
Medication is the most effective treatment for opioid use disorder, and it is not meant to be short-term. There is no fixed end date.
- Buprenorphine (Suboxone and others): prescribed by any clinician with a standard DEA registration. Many people take it for a year or more; some take it long-term, the way people take medication for other chronic conditions.
- Methadone: dispensed through licensed opioid treatment programs (OTPs), usually starting with daily clinic visits. Take-home doses may be allowed as you stabilize.
- Naltrexone (Vivitrol): a monthly injection that blocks opioids. It requires being fully off opioids first, usually for 7 to 10 days.
Stopping medication too soon is linked to a higher risk of relapse and overdose. The decision to taper should be made slowly, with your prescriber, when your life is stable. Don't change or stop a dose on your own; follow your prescriber's directions. Our guide to inpatient rehab vs. outpatient Suboxone compares the two paths.
Of the 6,239 programs listed on this site, 4,377 report offering buprenorphine or methadone, and 1,104 are licensed opioid treatment programs that dispense methadone.
What affects how long you'll need
- Severity and length of use. Years of daily use usually needs more time than a few months.
- Other substances. Using benzodiazepines, alcohol or stimulants alongside opioids complicates detox and treatment. Benzodiazepine and alcohol withdrawal can be dangerous and need medical supervision.
- Mental health. Untreated mental health conditions are a common reason short stays don't hold.
- Support at home. A safe place to live and people who back your recovery shorten what you need from a facility.
- Insurance and money. Coverage often decides the length of a residential stay. Outpatient care and medication can continue for much longer at lower cost.
- Work and family. Outpatient and IOP let many people keep working. The federal Family and Medical Leave Act may protect your job during treatment if you qualify.
Finding a program
This site lists 6,239 licensed programs in 23 states that treat opioid addiction, including 1,646 with residential or inpatient care. Browse from the state list, or see examples like inpatient opiate rehab in Columbus, Ohio and opiate and fentanyl detox in Columbus. Our guide to choosing a center lists questions to ask. Listings reflect what programs report to SAMHSA; confirm services directly.
Ask every program: How long is your typical stay? Do you start or continue Suboxone or methadone? What happens on discharge day, and who will I see the next week?
Getting help
The right length of treatment is the one that gets you through the riskiest early months alive and with a plan. You can start today and figure out the rest along the way.
Call (844) 834-9261 to talk with an admissions counselor at TOS about detox, rehab and medication options and what your insurance covers. You can also call the free, confidential SAMHSA National Helpline at 1-800-662-4357, any time. If you or someone else is in crisis, call or text 988, and call 911 for an overdose.