How long will it take to get opium out of your hair?

opium once ingested in the body accumulates for years. However if one is going for drug testing, there are a number of painkillers that use opium as the active substance, opium is also in poppy seeds. So small amounts of opiod should not arouse suspicion