Yes, poppy seeds can cause a positive drug test. The seeds come from the same plant used to produce opium, and they carry trace amounts of morphine and codeine on their outer coating. Eating even a modest portion, like a poppy seed bagel or muffin, can push opiate levels in your urine high enough to trigger a positive result. How likely that is depends on the specific seeds, how many you ate, and what cutoff level the test uses.
Why Poppy Seeds Contain Opiates
Poppy seeds themselves don’t produce opiates. The opium alkaloids are found in the milky sap of the poppy plant, and seeds get contaminated with this residue during harvesting. The amount varies enormously depending on the seed variety, where it was grown, and how it was processed. Testing of 15 different poppy seed samples found morphine concentrations ranging from 3.6 to 261 milligrams per kilogram, a roughly 70-fold difference. Codeine showed an even wider spread, from 1.9 to 378 mg/kg. This means two bags of poppy seeds from two different brands could have wildly different opiate levels, and there’s no way to tell from the packaging.
How Much It Takes to Fail a Test
Not much. In a controlled study, participants ate two 45-gram portions of poppy seeds (about 3 tablespoons each) spaced eight hours apart. Each portion contained roughly 15.7 mg of morphine and 3 mg of codeine. Their urine morphine levels peaked at a median of 5,239 micrograms per liter, with some individuals reaching over 7,500 µg/L. At the older, lower screening cutoff of 300 ng/mL, 83% of participants tested positive for morphine. Even at the higher 2,000 ng/mL cutoff, about 27% still tested positive.
Morphine levels peaked around 6.6 hours after the second dose and had an elimination half-life of about 7 hours. Most participants tested negative by 19 hours after their last dose, though morphine from poppy seed foods can remain detectable in urine for up to 48 hours depending on the amount consumed and individual metabolism.
Federal Cutoff Levels and Why They Matter
In 1998, the federal government raised its screening threshold for morphine and codeine from 300 ng/mL to 2,000 ng/mL specifically to reduce false positives from poppy seeds. The current federal workplace drug testing guidelines, set by the Department of Health and Human Services, require both an initial screen and a confirmatory test to hit 2,000 ng/mL for codeine or morphine before a urine sample counts as positive.
That higher cutoff helps, but it doesn’t eliminate the risk. As the study above showed, more than one in four people who ate a fairly ordinary amount of poppy seeds still exceeded 2,000 ng/mL. And not all drug tests follow federal guidelines. Many private employers, hospitals, pain management clinics, and court-ordered programs use lower cutoffs, sometimes as low as 300 ng/mL, where the vast majority of poppy seed eaters would fail.
Oral fluid (saliva) tests use much lower thresholds: 30 ng/mL for the initial screen and 15 ng/mL for confirmation. These tests are increasingly common in workplace settings.
Can Labs Tell Seeds Apart From Drug Use?
This is where things get complicated. Poppy seeds contain a compound called thebaine that is present on seeds but absent in street drugs like heroin. Researchers have proposed thebaine as a marker for poppy seed consumption since it shows up in the urine of seed eaters (at concentrations of 2 to 81 ng/mL) but not in the urine of people using illicit opiates. Labs that specifically test for thebaine can potentially distinguish the two sources.
However, standard drug tests don’t look for thebaine. Another approach labs use is checking the ratio of morphine to codeine in your sample. Heroin use typically produces high morphine with little codeine, while prescription codeine produces codeine with some morphine. Poppy seeds were thought to produce a distinctive ratio, but recent research has challenged that assumption. In one study, 18% of urine samples collected after poppy seed consumption showed codeine-positive, morphine-negative results at the 300 ng/mL cutoff, a pattern that looks identical to prescription codeine use. The researchers concluded that poppy seed consumption “cannot reliably be distinguished from codeine administration” based on standard urinary opiate ratios.
Labs can reliably rule out heroin specifically. Heroin breaks down into a unique metabolite called 6-acetylmorphine (6-AM), which has its own separate test with a very low cutoff of 10 ng/mL. Poppy seeds do not produce 6-AM. So if your test is positive for morphine but negative for 6-AM, heroin can be excluded, but that still leaves open the question of whether you ate seeds or took a prescription opiate.
Baking and Washing Don’t Fully Protect You
If you’re hoping that the baking process destroys the opiates in your poppy seed muffin, it doesn’t. FDA research found that baking had no significant effect on opium alkaloid concentrations in poppy seeds. The heat of an oven simply isn’t enough to break down these compounds.
Washing seeds with water before use does help, reducing alkaloid levels by roughly 50 to 80%. Commercial food-grade seeds are often washed during processing, which is why grocery store seeds generally have lower opiate content than unwashed seeds sold online for specialty purposes. But “lower” is relative. Given the enormous natural variation between seed batches, even washed seeds from a high-alkaloid batch could carry more opiates than unwashed seeds from a low-alkaloid one.
The Department of Defense Ban
The risk is real enough that in February 2023, the Department of Defense issued a formal memo directing all service members to avoid poppy seeds entirely, including food products and baked goods containing them. The memo cited recent data showing that certain seed varieties carry higher codeine contamination than previously understood, which “could cause a codeine positive urinalysis result and undermine the Department’s ability to identify illicit drug use.” This was not a suggestion. Military personnel were directed to stop eating poppy seed products altogether.
Practical Timelines if You Have a Test Coming
Most people clear detectable levels of morphine from poppy seeds within 24 to 48 hours, with the majority testing negative by about 19 hours after their last serving. But individual variation matters. Factors like your metabolism, hydration level, body mass, and kidney function all influence how quickly you process and excrete these compounds. The amount and type of seeds also play a role, since higher-alkaloid seeds produce higher and longer-lasting urine levels.
If you have a drug test coming up, the safest window is to avoid all poppy seed products for at least 72 hours beforehand. That includes poppy seed bagels, muffins, cakes, salad dressings with poppy seeds, and lemon poppy seed anything. If you’ve already eaten poppy seeds and are facing an unexpected test, be upfront about your consumption. A Medical Review Officer (the physician who reviews workplace drug test results) is trained to evaluate possible poppy seed explanations, though the outcome depends on the specific testing program’s policies.

