Detox treatment programs are designed to aid individuals during the process of withdrawal. While the time it takes to detox from substances varies from person to person, detox programs are normally 3, 5, or 7 days long.