Rehab and detox are two separate but related aspects of addiction treatment.

The goal of detoxification is to eliminate drugs or alcohol from the body, control the symptoms of withdrawal, and restore bodily stability to the person.

 Detoxification aids in bodily preparation for treatment and usually lasts three to ten days.
 
The longer-term, behavioral, emotional, and psychological aspects of addiction are the main emphasis of rehab. Rehab aids in the development of coping mechanisms, addresses the root reasons of addiction, and teaches sober maintenance. 
Rehab programs can run anywhere from thirty to ninety days, or longer, according on the needs of the client.


 The behavioral and psychological components of addiction are not addressed by detox alone, and it is usually insufficient for long-term recovery. In order to help people acquire the abilities and support they need to stay sober and prevent relapse, rehab is crucial.

To put it briefly, detox is the initial phase of addiction treatment that gets the body ready for rehabilitation, which addresses the behavioral, emotional, and psychological elements of addiction. Detox and treatment are both necessary for sustained addiction recovery.