text: If they are doing a urine test it takes about a month to get rid of marijuana, however, harder drugs can take much longer. If they are doing a hair test you can never get rid of the trace amounts of the drug that is indicated in the folicle.