Court-ordered rehab usually lasts 30 to 90 days if it’s a residential program, and 12 to 18 months or longer if it’s a drug court program. The precise length turns on the offense, the results of a clinical substance use assessment, and whether the judge orders inpatient treatment, outpatient sessions, or a phased drug court track. Federal research has found that treatment shorter than 90 days produces limited results, which is one reason judges lean toward longer orders when the clinical picture supports it.
Common Residential Program Lengths
Court-ordered rehab tends to fall into a few standard windows. Short-term residential programs run 28 to 30 days and focus on detoxification and initial therapy in a live-in facility. These are the most common starting point for a first-time or lower-level offense where the assessment doesn’t point to severe, long-standing addiction.
Longer residential programs run 60 or 90 days and give providers more time to work on the patterns and triggers behind substance use. The National Institute on Drug Abuse has found that treatment lasting at least three months is needed to meaningfully reduce or stop drug use, and that outcomes improve the longer someone stays in treatment.1National Institute on Drug Abuse. Principles of Drug Addiction Treatment: A Research-Based Guide (Third Edition) That 90-day threshold is why judges and clinical evaluators frequently push for the longer option.
For severe or chronic substance use disorders, a court may order six months to a year of treatment. These long-term programs often use a step-down approach: you start in a residential setting, then move to outpatient services and community-based support while remaining under court supervision.
How Long Drug Court Programs Last
Drug courts are the most structured form of court-ordered treatment, and they run much longer than a standalone rehab stay. More than 2,600 drug courts operate across all 50 states, offering supervised treatment as an alternative to incarceration for people charged with drug-related offenses.2Stanford Network on Addiction Policy. Drug Courts as an Alternative to Incarceration Most programs run 12 to 18 months at minimum, with felony-level participants often facing longer timelines than misdemeanor participants. It’s common for programs to exceed those minimums when a participant’s progress calls for it.
Drug court is divided into phases. Early phases focus on stabilization: completing an assessment, starting a treatment plan, attending frequent court hearings, and passing regular drug tests. Later phases shift toward employment, social development, and building a sustainable recovery plan. Promotion from one phase to the next requires consecutive days of sobriety, often 30 to 45 days depending on the phase, along with full compliance with every program requirement. About 46% of participants graduate, meaning a substantial share either take longer than expected or don’t finish.
In post-conviction drug courts using deferred sentencing, you plead guilty, undergo treatment for 15 to 24 months, and if you complete it successfully, the charges are dismissed. If you don’t complete it, the court proceeds to sentencing on the original guilty plea.3National Library of Medicine. Treatment Issues in Pretrial and Diversion Settings
How the Clinical Assessment Sets Your Length
The length of your order isn’t arbitrary. Before sentencing, most courts require a substance abuse assessment by a certified treatment provider. The evaluator reviews your arrest report, substance use history, and criminal record, and often screens you for drug and alcohol use on the spot. The recommendation feeds into both the type and duration of treatment the court imposes.
Most courts and providers rely on the American Society of Addiction Medicine criteria, a standardized framework that matches patients to the appropriate intensity of care. The ASAM system defines four broad levels:
- Level 1 (Outpatient): less than 9 hours of structured programming per week, appropriate for less severe disorders or as a step-down from more intensive treatment.
- Level 2 (Intensive Outpatient/Partial Hospitalization): 9 to 19 hours per week for intensive outpatient, or 20 or more hours per week for partial hospitalization, with access to psychiatric and medical services.
- Level 3 (Residential): 24-hour staffed residential treatment ranging from stable, structured living environments to medically monitored programs for patients with significant functional limitations.
- Level 4 (Medically Managed Inpatient): hospital-based care with daily physician oversight for the most severe biomedical and behavioral conditions.
Your ASAM level determines your starting placement, but the criteria also require regular reassessment. As you progress, clinicians use the same framework to decide whether to step you down to less intensive care or, if things aren’t going well, move you up.4Medicaid.gov. Overview of Substance Use Disorder Care Clinical Guidelines That’s why the total duration can shift significantly from the original estimate.
Legal Factors That Push the Length Up or Down
Beyond the clinical picture, several legal factors shape the judge’s order:
- Offense severity. A DUI that caused an accident or injury almost always results in a longer treatment mandate than simple possession. Felony offenses typically trigger longer programs than misdemeanors.
- Criminal history. Repeat offenders or people who have failed previous treatment face longer requirements. Judges view prior non-completion as evidence that a short program won’t stick.
- Sentencing guidelines. Federal and state frameworks set the boundaries of what a judge can order. Under federal law, supervised release conditions must include drug testing, and the court must consider whether substance abuse treatment warrants an exception to mandatory revocation for a failed test.5Office of the Law Revision Counsel. United States Code Title 18 – 3583
- Available programs. In some areas, limited capacity means the judge works with whatever program length is available locally, which may not perfectly match the clinical recommendation.
Whether the treatment is pretrial diversion or post-conviction also matters. Pretrial diversion programs tend to run longer because the payoff, a clean record, justifies the investment, and if you fail, prosecution resumes and the resulting sentence can be harsher than if you had never entered diversion.3National Library of Medicine. Treatment Issues in Pretrial and Diversion Settings In a post-conviction order, completing treatment satisfies the sentence, either as a probation condition or in place of incarceration.
Inpatient Versus Outpatient Time Commitments
Inpatient and outpatient programs demand very different amounts of calendar time, even for similar levels of addiction.
In a residential setting, you live at the facility around the clock in a structured therapeutic environment. Programs typically run 30 to 90 days. The concentrated format covers more ground in less calendar time, but you’re removed from work and family for the duration.
Outpatient programs let you live at home while attending sessions for a set number of hours each week. Because treatment is spread across shorter sessions, outpatient orders often extend six months to a year. Intensive outpatient programs land in the middle, requiring 9 to 19 hours of weekly programming while still allowing you to keep outside responsibilities.4Medicaid.gov. Overview of Substance Use Disorder Care Clinical Guidelines
Someone with a stable home environment and a first-time offense might get outpatient. Someone with a history of relapse or no stable housing is far more likely to land in residential care.
Can the Length Change After the Order?
The duration a judge sets initially is not locked in. Federal probation conditions are typically worded to allow the probation officer, working with the treatment provider, to adjust the type, duration, and intensity of treatment as your needs change.6United States Courts. Overview of Probation and Supervised Release Conditions – Chapter 3 Treatment facilities submit progress reports to the court or probation officer covering your compliance, participation, and movement toward treatment goals.
If you’re doing well and hitting milestones, your attorney can file a motion for early termination of the treatment condition, and some judges grant it. If you relapse, miss sessions, or fail drug tests, the court can extend your treatment or increase its intensity. This is where people most often misjudge the timeline. A 90-day residential order can turn into six months or more if the treatment team reports you’re not ready for discharge.
What Happens If You Don’t Finish
Walking away from court-ordered rehab is one of the fastest routes back into custody. Because treatment is almost always a condition of probation or a substitute for incarceration, quitting or being expelled counts as violating a court order. The judge can revoke your probation and impose the original suspended sentence, which often means the jail or prison time that was waived when you entered the program.
The severity of the consequence depends on how and why you failed. Missing a single session for a scheduling conflict is different from testing positive or refusing to participate. Some judges impose additional fines or extend probation with stricter conditions; others move straight to incarceration. Multiple violations almost always escalate the penalty. If you’re struggling with compliance, having your attorney raise the issue with the court is better than waiting for the facility to report a violation.