While the time it takes to detox from substances varies from person to person, detox programs are generally 3, 5, or 7 days long. Detox is considered the first phase of recovery from addiction and should not be considered a substitute for any necessary rehab or therapy to follow.