Have you heard rumors that eating poppy seed pastries can cause positive test results for heroin? It’s true! Opiates (such as heroine, morphine, and codeine) can be found in urine samples for as long as two days after eating poppy seed-containing foods, and for up to 60 hours if large quantities of the seeds are consumed.