The length of time you spend in treatment will vary by the level of care you required. A stay in medical detox is 5-10 days to stabilize. Once stabilized it is recommended to attend a residential treatment program for up to 30 days.