The length of time it takes to recover from drug addiction can vary widely depending on many factors, including the type and severity of the addiction, the individual’s physical and mental health, the presence of any co-occurring disorders, and the type of treatment received. In general, however, addiction recovery is a lifelong process that requires ongoing effort and commitment. Detoxification, the first step in recovery, usually lasts from several days to a few weeks. Inpatient rehabilitation programs can last from 30 to 90 days or longer, while outpatient treatment may last several months or more. Many people continue with ongoing counseling and support groups for years after completing formal treatment.