Depends on what kind of test is being admin. UA(urine anaylasis) test will be clean in as little as 36 hrs for small dosages, up to 4 days if using high to toxic amounts. Blood test will be about the same. Hair follicle tests can go up to several months depending on usage and how long your hair is. This is for most all illegal drugs, however cannabinoids(weed, hash) are fat soluble and you can test positive for up to 23 days. (on UA test)