Hair follicle testing has recently become a popular drug testing method because it can go back farther than urine or saliva testing. Hair tests can go back up to 90 days. The hair is taken from the person's head and tested. Heroin would show up as an opioid if consumed in the past 90 days before the test is administered.