Pain management in pregnancy and lactation
Special cases · C9 · Reviewed by a board-certified pain physician on November 2, 2026
Bottom line
Avoid NSAIDs from 20 weeks, continue medication for opioid use disorder rather than tapering, support breastfeeding in stable patients on methadone or buprenorphine, and treat disabling postdural puncture headache with an epidural blood patch.
Key points
- NSAIDs and the 20-week rule. FDA advises avoiding NSAIDs at 20 weeks or later because fetal kidney dysfunction can cause oligohydramnios; if needed from 20 to 30 weeks, use the lowest dose for the shortest time 1.
- The ductus adds a later risk. From about 30 weeks, NSAIDs can also close the fetal ductus arteriosus prematurely; the warning does not cover low-dose (81 mg) aspirin for obstetric indications 1.
- Treat opioid use disorder with medication. For pregnant patients with opioid use disorder, buprenorphine or methadone is recommended and preferred over withdrawal management, offered as early as possible; medically supervised withdrawal is not recommended because return to use is common 23.
- Lowering the dose does not spare the newborn. Neonatal abstinence syndrome severity does not correlate with maternal methadone or buprenorphine dose 3.
- Encourage breastfeeding when stable. Women stable on buprenorphine, buprenorphine/naloxone or methadone should be advised to breastfeed if appropriate 3. Codeine and tramadol are different: their FDA labels advise against breastfeeding during treatment 78.
- Blood patch for disabling postdural puncture headache. When headache resists conservative care and impairs daily activities, an epidural blood patch should be considered and not delayed without contraindications 45.
Watch for
Tapering opioids in pregnancy risks withdrawal harm to both the pregnant patient and the fetus; obtain appropriate expertise before any taper, and for opioid use disorder offer medication rather than withdrawal management 2.
High-yield for the exam
- Consider ultrasound monitoring of amniotic fluid if an NSAID is used beyond 48 hours after 20 weeks 1.
- Methadone metabolism accelerates in the third trimester; split dosing can help maintain levels 3.
- Infants with long-term opioid exposure should be observed at least 72 hours; 5–7 days after methadone exposure 2.
- FDA labels: breastfeeding is not recommended with codeine or tramadol; ultra-rapid CYP2D6 metabolizers can pass dangerous morphine or M1 levels into milk 78.
- No prophylactic measure, including prophylactic blood patch or bed rest, is routinely recommended after dural puncture 5.
- Multimodal analgesia with acetaminophen and NSAIDs should be offered to all patients with postdural puncture headache unless contraindicated 5.
- Early universal screening, brief intervention and referral for opioid use disorder in pregnancy improve maternal and infant outcomes 2.
- ACOG advises monitoring opioid-exposed newborns for neonatal abstinence syndrome by a pediatric provider 6.
Numbers to know
Common traps
- Tapering methadone to protect the newborn from withdrawal 3.
- Using the old 30-week NSAID cutoff 1.
- Advising a patient stable on buprenorphine not to breastfeed 3.
- Treating sphenopalatine ganglion or occipital nerve blocks as proven; both still need more robust evidence for postdural puncture headache 5.
Practise this topic
4 more questions on this topic in the full question bank, with explanations and sources.
Sources
- US Food and Drug Administration. FDA recommends avoiding use of NSAIDs in pregnancy at 20 weeks or later because they can result in low amniotic fluid. FDA Drug Safety Communication, 2020 (updated 2023). fda.gov/drugs/drug-safety-and-availability/fda-recommends-av
- Dowell D, et al. CDC Clinical Practice Guideline for Prescribing Opioids for Pain — United States, 2022. MMWR Recomm Rep, 2022. pmc.ncbi.nlm.nih.gov/articles/PMC9639433/
- Substance Abuse and Mental Health Services Administration. Clinical Guidance for Treating Pregnant and Parenting Women With Opioid Use Disorder and Their Infants. HHS Publication No. (SMA) 18-5054, 2018. library.samhsa.gov/sites/default/files/sma18-5054.pdf
- Uppal V, et al. Consensus Practice Guidelines on Postdural Puncture Headache From a Multisociety, International Working Group: A Summary Report. JAMA Netw Open, 2023. pubmed.ncbi.nlm.nih.gov/37581893/
- Thon JN, et al. Efficacy of therapies for post dural puncture headache. Curr Opin Anaesthesiol, 2024. pmc.ncbi.nlm.nih.gov/articles/PMC11062605/
- Committee Opinion No. 711: Opioid Use and Opioid Use Disorder in Pregnancy. Obstet Gynecol, 2017. pubmed.ncbi.nlm.nih.gov/28742676/
- US Food and Drug Administration. Codeine sulfate tablets prescribing information (Lactation, 8.2; Warnings, 5.6). DailyMed, 2026. dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=5819bdf7-30
- US Food and Drug Administration. Tramadol hydrochloride tablets prescribing information (Lactation, 8.2; Warnings, 5.6). DailyMed, 2026. dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=b5852b90-e4
Related topics
Independent study material for the ABA Pain Medicine exam, written and reviewed by a board-certified pain physician. Not medical advice; not affiliated with the American Board of Anesthesiology.