Poppy seeds can cause false positives in drug tests for opiates like morphine and codeine due to trace amounts of these substances. Even small amounts consumed before testing may lead to complications. It’s advisable to avoid poppy seed foods 48-72 hours before a drug test to mitigate this risk.