Well, it depends on a couple of factors, including the amount of opioids you consume and your history of opioid use. Also, your medical history, gender, and weight factor in on this. Different opioids have different effects. Some are long-acting, others short, and others are categorized as rapid onset. Generally, traces of opioids can be found in your urine between 1 and 7 days and in your blood between 6 and 24 hours.