I dunno about the piss test, but for a hair test, it will be there as long as your hair is. Your best bet is to cut your hair off, so you won't have any of the hair you did when you smoked.