The average length of heroin addiction treatment is one to three months, but most individuals need additional time, and this is where aftercare comes in. These programs are an extension of the counseling these people received during treatment.