The duration of the detoxification process in rehab depends on your substance use background and the substance you’re detoxing from. On average, detox takes 3 to 7 days.