Drug withdrawal can range from lasting a few days, weeks or longer. The first stage in drug withdrawal is detoxification. Some of the late signs of drug withdrawal, such as anxiety, depression and cognitive impairment, may linger after the detoxification phase. There are many factors that can influence the duration and severity of withdrawal symptoms, including: The drug How long you have been using the drug Dosage Age Your overall health