The length of time someone stays in treatment can vary and depends on the severity and number of problems, concerns, and resources a person has. Short-term, residential rehab can range between two to four weeks, while long-term rehab can last up to three months.