The condition means morphine gets passed through the mother and can harm a nursing infant's central nervous system.
Doctors say the threat of overdosing the baby appears reversible if the mother stops taking the medication.
The study's findings are published in the online issue of Clinical Pharmacology and Therapeutics.