The FDA has issued a warning about codeine use when breastfeeding. A rare but serious side effect is possible in which the baby experiences a morphine overdose. Some women have a genetic trait in which they metabolize codeine very rapidly, converting it to morphine so quickly that a larger than normal amount is present in the breast milk. This can cause respiratory depression in the infant.
The FDA is not warning nursing mothers not to use codeine. Rather, mothers who are breastfeeding and using codeine need to watch their babies carefully for lethargy, excessive sleepiness, poor feeding or decreased muscle tone, and seek medical care immediately if the baby shows any of these signs.