The duration of detoxification treatment varies depending on the type of substance and severity of the addiction. A person's overall health is also one of the major factors for treatment duration. In most cases, detox lasts from a few days to a couple of weeks, although longer detox periods may be necessary in some cases.