The length of treatment depends on the type, the level of substance abuse/addiction, and how willing you are to stick to the program. It can take anywhere from a couple of weeks to several years.